//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=5;
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="#FFFDFD"; 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="EXCELLENT!!"; messageTime=""; messageError="NO WAY!!!"; messageAttempts="TRY 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="writeverbsinlifeevents_resources/media/cake_308449_960_720.jpg" alt="Ima"  align="right"><p>1.- My sister loved blowing the candles when she <input type="text" name="item1" id="item1" class="ardoraInput" > her birthday yesterday. </p><p> 2.- Helen <input type="text" name="item2" id="item2" class="ardoraInput" > married next month. Her husband&#39;s name is Edward. </p><p> 3.- Hadrian <input type="text" name="item3" id="item3" class="ardoraInput" > to University and studied Economics. </p><p> 4.- My dad met my mum at a birthday party. They <input type="text" name="item4" id="item4" class="ardoraInput" > in love quickly.  </p><p> 5.- Clara <input type="text" name="item5" id="item5" class="ardoraInput" > school last year. All her marks were excellent. </p><p> </p>','<img class="imaRight" src="writeverbsinlifeevents_resources/media/driving_28729_960_720.jpg" alt="Ima"  align="right"><p>6.- I believe my children <input type="text" name="item6" id="item6" class="ardoraInput" > to drive next month when they are 18. </p><p> 7.- She <input type="text" name="item7" id="item7" class="ardoraInput" > pregnant and had a baby last December. </p><p> 8.- My uncle <input type="text" name="item8" id="item8" class="ardoraInput" > from work in two years, when he is 65. </p><p> 9.- My grandparents <input type="text" name="item9" id="item9" class="ardoraInput" > a very big family: 5 children and 12 grandchildren. </p><p> 10.- Casey <input type="text" name="item10" id="item10" class="ardoraInput" > his first competition when he was only 12 years old. </p><p>  </p><p> </p>'];
var b=["MzA","Nw","MjU","MzU","MjY","NA","Ng","NQ","OA","Mjc","MTA","OQ","MzQ","MTE","Ng","MzE","MTQ","MTU","MTA","Mzg","NQ","Mzk","MQ","Mg","Mg","Mw","OQ","MTg","MjE","MjI"];
var c=[11,3,7,9,3,4,10,8,18,8,3,4,3,8,10,11,11,12,8,4,4,15,10,3,15,4,3,7,18,12];
var answers=["d2lsbCByZXRpcmU","Z290","aGFkIGdvdA","d2lsbCBoYXZl","d2Fz","ZmVsbA","d2lsbCBsZWFybg","d2lsbCBnZXQ","aXMgZ29pbmcgdG8gcmV0aXJl","aGFkIGJlZW4","d29u","aGF2ZQ","aGFk","aGFzIGdvbmU","aXMgZ2V0dGluZw","aXMgcmV0aXJpbmc","aGF2ZSBmYWxsZW4","d2VyZSBmYWxsaW5n","aGFkIGdvbmU","bG9zdA","bGVmdA","cGFydGljaXBhdGVkIGlu","Y2VsZWJyYXRlZA","aGFk","aXMgZ29pbmcgdG8gZ2V0","d2VudA","Z290","c3RhcnRlZA","YXJlIGdvaW5nIHRvIGxlYXJu","YXJlIGxlYXJuaW5n"];
var a=["8","7","7","9","7","4","6","2","8","7","10","9","9","3","2","8","4","4","3","10","5","10","1","1","2","3","3","5","6","6"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="d3JpdGV2ZXJic2lubGlmZWV2ZW50cw"; 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";
