//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=20; scoreInc=2; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
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="cXVpemxpc3RlbnNoYWtlc3BlYXJl"; 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.- Where was William Shakespeare born?","2.- Shakespeare moved to London because he wanted to be an actor","3.- In the 16th century, going to the theatre was the greatest entertainment","4.- Shakespeare soon became the greatest playwright in England","5.- How was his theatre called?","6.- How many plays did he write?","7.- Which famous tragedy is not mentioned in the video?","8.- Hamlet was a prince from ...","9.- The action of Romeo and Juliet is set in ....","10.- At the end of the play both lovers die"];
var answers1=["MVN0cmF0Zm9yZC11cG9uLUF2b24","MExvbmRvbg","MExpdmVycG9vbA"];
var answers2=["MVRydWU","MEZhbHNl"];
var answers3=["MVRydWU","MEZhbHNl"];
var answers4=["MVRydWU","MEZhbHNl"];
var answers5=["MVRoZSBHbG9iZQ","MFRoZSBIb3VzZSBvZiBTaGFrZXNwZWFyZQ","MFRoZSBMb25kb24gVGhlYXRyZQ"];
var answers6=["MTM3","MDI3","MDE3"];
var answers7=["MUtpbmcgTGVhcg","MFJvbWVvIGFuZCBKdWxpZXQ","MEhhbWxldA"];
var answers8=["MURlbm1hcms","MEVuZ2xhbmQ","MElyZWxhbmQ"];
var answers9=["MVZlcm9uYQ","MFJvbWE","MExvbmRvbg"];
var answers10=["MVRydWU","MEZhbHNl"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10];
var err=["OUCH!","INCORRECT","WRONG!","INCORRECT","OOOPS","MORE!!","WRONG!!","INCORRECT!","FALSE!","OOOPS!!"];
var ima=["","","","","","","","","",""];
var mp4=["","","","","","","","","",""];
var ogv=["","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="quizlistenshakespeare_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
