//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=7; attempts=0; attemptsMax=1;
var score=0; scoreMax=7; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=true;
var textButtonTime="Comenzar";
var tiSuccesses=true;
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 fResp="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="¡ Correcto!"; messageTime=""; messageError="No es correcto."; messageErrorG="No es correcto."; messageAttempts="Segundo fallo. Volvemos a empezar."; 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="MDRxdWlqb3Rl"; 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.-  ¿Quién descubre a los \"desaforados gigantes\"?.","2.- ¿ Quién no ve a los gigantes?","3.- ¿ Qué eran realmente los gigantes?","4.- ¿ Qué eran realmente los brazos de los gigantes?","5.- ¿ Quién dice \"non fuyades, cobardes y viles criaturas\"?","6.- ¿ Como asume Don Quijote el fracaso?","7.- Finalmente se dirigen a..."];
var answers1=["MURvbiBRdWlqb3Rl","MFNhbmNobyBQYW56YQ","MER1bGNpbmVh","MFJvY2luYW50ZQ"];
var answers2=["MVNhbmNobyBQYW56YQ","MERvbiBRdWlqb3Rl","MER1bGNpbmVh","MFJvY2luYW50ZQ"];
var answers3=["MU1vbGlub3MgZGUgdmllbnRv","MFVuIGdpZ2FudGUgbGxhbWFkbyBCcmlhc2Vybw","MEVsIHNhYmlvIEZyZXN0824"];
var answers4=["MUxhcyBhc3BhcyBkZSBsb3MgbW9saW5vcw","MExhcyBwaWVkcmFzIGRlbCBtb2xpbm8"];
var answers5=["MURvbiBRdWlqb3Rl","MFNhbmNobyBQYW56YQ","MER1bGNpbmVh","MFJvY2luYW50ZQ"];
var answers6=["MURpY2UgcXVlIGVzIHVuIGVuY2FudGFtaWVudG8","MEVjaGFuZG8gbGEgY3VscGEgYSBTYW5jaG8","MEx1Y2hhbmRvIGNvbiBsYSBlc3BhZGEu"];
var answers7=["MVB1ZXJ0byBM4XBpY2U","MEx1Y2hhciBjb250cmEgb3RybyBtb2xpbm8","MEFsIGx1Z2FyIGRvbmRlIGVzdGFiYSBSb2NpbmFudGU","MEEgdmlzaXRhciBhIER1bGNpbmVh"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7];
var err=["No es correcto, revisa el inicio de la lectura.","Deberías de volver a leer la lectura.","","","","",""];
var ima=["","","","","","",""];
var mp4=["","","","","","",""];
var ogv=["","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="04quijote_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#6F89E6";colorBack="#FFFFFF";colorSele="#C5E6FA";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
