//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=0;
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 fResp="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="CONGRATULATIONS!!"; messageTime=""; messageError=""; messageErrorG=""; messageAttempts="START AGAIN!!"; isShowMessage=false;
var urlOk=""; urlTime=""; urlError=""; urlAttempts="";
var goURLOk="_blank"; goURLTime="_blank"; goURLAttempts="_blank"; goURLError="_blank"; 
borderOk="#008000"; borderTime="#FF0000";borderError="#FF0000"; borderAttempts="#FF0000";
var wordsGame="bGlmZWV2ZW50c3F1aXo"; 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 tags=["1.-My father stopped working last year and is now enjoying a long vacation. After 30 years of employment, he ___","2.- The boyfriend and girlfriend sealed their committment by _______","3.- They _____ in love.","4.- What's the name of the ceremony at which people get married?","5.- Did you ___________ in Britain? No, I moved here when I was 21.","6.- I can’t afford to ___________. Even flats are too expensive.","7.-  I’ve got three ___________ : two brothers and a sister.","8.- My grandmother ___________ when she was 95. It was very sad.","9.- My brother’s birthday is every four years. He was born in a ___________ year.","10.- A lot of people in Spain ___________ at 18 years old. They study there for at least four years."];
var answers1=["MXJldGlyZWQu","MGdvdCBkaXZvcmNlZC4","MHdlbnQgdG8gc2Nob29sLg"];
var answers2=["MWdldHRpbmcgbWFycmllZC4","MGdldHRpbmcgZGl2b3JjZWQu","MHJldGlyaW5nLg"];
var answers3=["MWZlbGw","MGZlbHQ","MGJyb3VnaHQ"];
var answers4=["MVdlZGRpbmc","MEdyYWR1YXRpb24","MEhvbmV5bW9vbg"];
var answers5=["MWdyb3cgdXA","MGdyYWR1YXRl","MGxlYXZlIHNjaG9vbA"];
var answers6=["MWJ1eSBhIGhvdXNl","MGxlYXJuIHRvIGRyaXZl","MGdldCBlbmdhZ2Vk"];
var answers7=["MXNpYmxpbmdz","MHBhcmVudHM","MGF1bnRz"];
var answers8=["MWRpZWQ","MGRlYXRo","MGRlYWQ"];
var answers9=["MWxlYXA","MGV2ZW4","MG9kZA"];
var answers10=["MWdvIHRvIHVuaXZlcnNpdHk","MGxlYXZlIHNjaG9vbA","MHJldGlyZQ"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10];
var err=["FALSE!","NO WAY!!","INCORRECT","TRY AGAIN!","OOOPS!!","THINK TWICE!","WRONG!","ARE YOU SURE?","WRONG!!","ARE YOU SLEEPING?"];
var ima=["","","","","","","","","",""];
var mp4=["","","","","","","","","",""];
var ogv=["","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="lifeeventsquiz_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
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";
