//Creado con Ardora - www.webardora.net
//bajo licencia Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)
//para otros usos contacte con el autor
var timeAct=360; timeIni=360; timeBon=0;
var successes=0; successesMax=10; attempts=0; attemptsMax=3;
var score=0; scoreMax=10; scoreInc=1; scoreDec=1
var typeGame=2;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Start";
var tiSuccesses=false;
var tiAttempts=true;
var tiScore=true;
var startTime;
var colorBack="#FFFFFF"; colorButton="#91962F"; colorText="#000000"; colorSele="#FF8000";
var goURLNext=false; goURLRepeat=false;tiAval=false;
var scoOk=0; scoWrong=0; scoOkDo=1; scoWrongDo=1; scoMessage=""; scoPtos=10;
var fMenssage="Verdana, Geneva, sans-serif";
var fActi="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=3; messageOk="GREAT!!"; messageTime=""; messageError="FALSE!!"; messageAttempts="START AGAIN!!"; isShowMessage=false;
var urlOk=""; urlTime=""; urlError=""; urlAttempts="";
var goURLOk="_blank"; goURLTime="_blank"; goURLAttempts="_blank"; goURLError="_blank"; 
var consolidateSuccess=0; var consolidateScore=0;
borderOk="#008000"; borderTime="#FF0000";borderError="#FF0000"; borderAttempts="#FF0000";
var indexTXT=0; var txtC=['<p>1.- Matt <input type="text" name="item1" id="item1" class="ardoraInput" > English on Saturdays. </p><p> 2.- <input type="text" name="item2" id="item2" class="ardoraInput" > you <input type="text" name="item3" id="item3" class="ardoraInput" > your grandfather once a week? </p><p> 3.- <input type="text" name="item4" id="item4" class="ardoraInput" > it <input type="text" name="item5" id="item5" class="ardoraInput" >? Please, look outside! </p><p> 4.- The children <input type="text" name="item6" id="item6" class="ardoraInput" > now because they are not hungry. </p><p> 5.- Her sister often <input type="text" name="item7" id="item7" class="ardoraInput" >  high heels. </p><p> 6.- <input type="text" name="item8" id="item8" class="ardoraInput" > she <input type="text" name="item9" id="item9" class="ardoraInput" > in that company? </p><p> 7.- They usually <input type="text" name="item10" id="item10" class="ardoraInput" > in English. </p><p> </p>'];
var b=["MTg","OA","NQ","Nw","MQ","OQ","Mw","Mg","Ng","Mg","NA","MjE","MTM","MTA"];
var c=[2,4,7,5,13,4,5,14,13,2,2,7,14,4];
var answers=["SXM","RG9lcw","cmFpbmluZw","d2VhcnM","ZG9lc24ndCBzdHVkeQ","d29yaw","dmlzaXQ","ZG9lcyBub3Qgc3R1ZHk","YXJlbid0IGVhdGluZw","RG8","SXM","d29ya2luZw","YXJlIG5vdCBlYXRpbmc","c2luZw"];
var a=["8","8","5","7","1","9","3","1","6","2","4","9","6","10"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="ZmlsbGludGhlYmxhbmtzMg"; wordsStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
function giveZindex(typeElement){var valueZindex=0; capas=document.getElementsByTagName(typeElement);
for (i=0;i<capas.length;i++){if (parseInt($(capas[i]).css("z-index"),10)>valueZindex){valueZindex=parseInt($(capas[i]).css("z-index"),10);}}return valueZindex;}
var tiUD=true;
var fHelp="Verdana, Geneva, sans-serif";
colorText="#000000";colorButton="#CC9900";colorBack="#FFFFFF";colorSele="#808040";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
