//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=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="#CC9900"; colorText="#000000"; colorSele="#808040";
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 fResp="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="AWESOME!!"; 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="bGlzdGVuaW5ndGVzdA"; 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.- (PART 1. RADHIKA AND MARY). Radhika invites Mary to ....","2.- (PART 1): When is the party?","3.- (PART 1): Mary refuses the invitation.","4.- (PART 2. KALEESH AND MARY): Kaleesh invites Mary to a ...","5.- (PART 2): What time is he going to pick her up?","6.- (PART 3. RADHIKA AND MARY): Radhika invites Mary to...","7.- (PART 3): When is fhe film?","8.- (PART 3): Mary refuses the invitation.","9.- (PART 4. KALEESH AND RADHIKA): Kaleesh invites Radhika to ...","10.- (PART 4): Radhika accepts the invitation."];
var answers1=["MWEgcGFydHk","MGEgd2VkZGluZw","MGhhdmUgZGlubmVy"];
var answers2=["MVJpZ2h0IG5vdw","MFRoaXMgYWZ0ZXJub29u","MFRvbW9ycm93"];
var answers3=["MUZhbHNl","MFRydWU"];
var answers4=["MXdlZGRpbmc","MHBhcnR5","MGZvb3RiYWxsIG1hdGNo"];
var answers5=["MVRocmVlIG8nY2xvY2s","MEZvdXIgbydjbG9jaw","MEhhbGYgcGFzdCB0aHJlZQ"];
var answers6=["MXdhdGNoIGEgZmlsbQ","MHBsYXkgY2FyZHM","MGhhdmUgZGlubmVy"];
var answers7=["MVRoaXMgYWZ0ZXJub29u","MFRvbW9ycm93IG1vcm5pbmc","MFRvbmlnaHQ"];
var answers8=["MVRydWU","MEZhbHNl"];
var answers9=["MWEgZm9vdGJhbGwgKHNvY2NlcikgbWF0Y2g","MGEgd2VkZGluZw","MGEgYmFza2V0YmFsbCBnYW1l"];
var answers10=["MUZhbHNl","MFRydWU"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10];
var err=["OUCH!!","FALSE!","NO WAY!!","WRONG!","INCORRECT!!","OUCH!!","THINK TWICE!!","INCORRECT!","WRONG!!","INCORRECT!"];
var ima=["","","","","","","","","",""];
var mp4=["","","","","","","","","",""];
var ogv=["","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="listeningtest_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
