//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=3; attempts=0; attemptsMax=1;
var score=0; scoreMax=3; 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="¡ Perfecto!"; messageTime=""; messageError="¡ Nooooo!"; messageErrorG="¡ Nooooo!"; messageAttempts="Fíjate bien."; 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="MDRsZWN0TGVuMDE"; 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=["Se <b>tentó</b> la camisa y...","...y que intentan reconstruir algún <b>pasaje</b> de la historia de esta oscura tierra.","...y le enterré a mucha profundidad, con grandes <b>cantos</b> en el pecho..."];
var answers1=["MUV4YW1pbmFyIHkgcmVjb25vY2VyIHBvciBtZWRpbyBkZWwgc2VudGlkbyBkZWwgdGFjdG8gbG8gcXVlIG5vIHNlIHB1ZWRlIHZlci4","MFByb2JhciBhIGFsZ3VpZW4sIGhhY2llbmRvIGV4YW1lbiBkZSBzdSBjb25zdGFuY2lhIG8gZm9ydGFsZXphLg","MEluc3RpZ2FyLCBpbmR1Y2lyIG8gZXN0aW11bGFyLg"];
var answers2=["MVRyb3pvIG8gbHVnYXIgZGUgYWxnby4","MEFjY2nzbiBkZSBwYXNhciBkZSB1bmEgcGFydGUgYSBvdHJhLg","MFByZWNpbyBxdWUgc2UgcGFnYSBlbiBsb3MgdmlhamVzIG1hcu10aW1vcyB5IGHpcmVvcyBwb3IgZWwgdHJhbnNwb3J0ZSBkZSB1bmEgbyBt4XMgcGVyc29uYXMu","MEVzdHJlY2hvIHF1ZSBlc3ThIGVudHJlIGRvcyBpc2xhcyBvIGVudHJlIHVuYSBpc2xhIHkgbGEgdGllcnJhIGZpcm1lLg","MEJvbGV0byBvIGJpbGxldGUgcGFyYSB1biB2aWFqZS4"];
var answers3=["MVRyb3pvIGRlIHBpZWRyYS4","MEFjY2nzbiB5IGVmZWN0byBkZSBjYW50YXIu","MENvbXBvc2ljafNuIGztcmljYSwgZ2Vu6XJpY2FtZW50ZSBoYWJsYW5kby4","MENvcnRlIGRlbCBsaWJybywgb3B1ZXN0byBhbCBsb21vLg","MEV4dHJlbWlkYWQgbyBsYWRvIGRlIGN1YWxxdWllciBwYXJ0ZSBvIHNpdGlvLg"];
var ans=[answers1,answers2,answers3];
var err=["","",""];
var ima=["","",""];
var mp4=["","",""];
var ogv=["","",""];
var indexTag=0; actualAnswers=[]; dirMedia="04lectLen01_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#408053";colorBack="#FFFFFF";colorSele="#E3EEEC";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
