//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=4;
var score=0; scoreMax=10; scoreInc=1; scoreDec=1
var typeGame=1;
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="#FFFDFD"; colorButton="#91962F"; colorText="#000000"; colorSele="#FF8000";
var goURLNext=false; goURLRepeat=false;tiAval=false;
var scoOk=0; scoWrong=0; scoOkDo=0; scoWrongDo=0; 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="EXCELLENT!!"; messageTime=""; messageError="TRY AGAIN!!!"; 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=['<img class="imaRight" src="gerundandinfi_resources/media/coffee_791439_960_720.jpg" alt="Ima"  align="right"><p>1 She stopped at Smith&#39;s <select name="item1" id="item1" class="ardoraCombo"></select> the magazine. </p><p> 2 They suggested <select name="item2" id="item2" class="ardoraCombo"></select> a pizza for dinner. </p><p> 3 I can’t afford <select name="item3" id="item3" class="ardoraCombo"></select> a house till I get a job. </p><p> 4 She is used to <select name="item4" id="item4" class="ardoraCombo"></select> in public. </p><p> 5 Ben promised his parents <select name="item5" id="item5" class="ardoraCombo"></select> harder. </p><p> </p>','<p>6 Stop <select name="item6" id="item6" class="ardoraCombo"></select> so much noise or you’ll wake up the baby. </p><p> 7 She decided <select name="item7" id="item7" class="ardoraCombo"></select> the window. </p><p> 8 My parents don’t allow me <select name="item8" id="item8" class="ardoraCombo"></select> out late at night. </p><p> 9 Would you mind <select name="item9" id="item9" class="ardoraCombo"></select> me your dictionary? </p><p> 10 I managed <select name="item10" id="item10" class="ardoraCombo"></select> the place with the help of a map. </p><p> </p>'];
var b=["MTg","MzU","MTA","MzQ","MTU","Mzg","Mzk","NQ","Nw","MQ","Mjc","Mg","OQ","Mw","Mg","Ng","Mw","MTQ","MTA","MTE","MjM","MjY","MzE","NA","MTk","Ng","OA","Nw","MjI","MzA"];
var c=[5,7,7,4,8,7,4,8,7,7,6,7,7,4,6,4,6,5,6,3,7,9,7,8,8,6,7,9,4,4];
var answers=["study","to lend","to find","lend","to speak","finding","find","to study","to have","to read","repair","reading","lending","read","having","have","to buy","speak","buying","buy","to make","repairing","staying","speaking","studying","making","to stay","to repair","make","stay"];
var a=["5","9","10","9","4","10","10","5","2","1","7","1","9","1","2","2","3","4","3","3","6","7","8","4","5","6","8","7","6","8"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="Z2VydW5kYW5kaW5maQ"; 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";
