//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=6; attempts=0; attemptsMax=2;
var score=0; scoreMax=6; 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="Pénsao ben."; messageErrorG="Pénsao ben."; messageAttempts="Terceiro 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="MDRsZWN0R2Fs"; 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.- A iso das oito apareceu <b>de improviso</b>.","2.- Á fin vinme obrigado a buscar <b>ás apalpadelas</b> o camiño.","3.- Atopeime ao pé dunha alta montaña e mirando unha vasta chaira pola cal <b>serpeaba un maxestoso río</b>.","4.- A cada lado <b>había profusión de balcóns</b>, galerías e minaretes.","5.- Aparteime bruscamente, <b>á presa</b>.","6.- Pertence a un amigo morto, a Mr. Oldeb, <b>de quen fun moi íntimo</b> en Calcuta."];
var answers1=["MXNlbiBxdWUgc2UgZXNwZXJhcmE","MGRlIGluY/Nnbml0bw","MGRpc2ZyYXphZG8gcGFyYSBxdWUgbm8gc2UgY2/xZXph","MGNvbiBtYWwgYXNwZWN0bw"];
var answers2=["MXRvY2FuZG8gY29hcyBtYW5z","MGRhbmRvIHBhbG1hZGFz","MGJlcnJhbmRvIG1vaSBhbHRv","MGNhbWnxYW5kbyBhZ2FjaGFkbw"];
var answers3=["MW8gcu1vIGZhY+1hIHVuIHppZ3phZw","MG8gcu1vIHRp8WEgc2VycGVzIG1vaSBncmFuZGVz","MG5vIHLtbyBoYWLtYSB1bmhhIGdyYW4gc2VycGU"];
var answers4=["MW1vaXRvcyBiYWxj825z","MG9zIGJhbGPzbnMgbWlzdHVy4WJhbnNlIGVudHJlIGVsZXM","MG9zIGJhbGPzbnMgZXN0YWJhbiBmdW5kaWRvcyBjb24gZ2FsZXLtYSBlIG1pbmFyZXRlcw"];
var answers5=["MWNvbiByYXBpZGV6","MGNvbW8gcXVlcmVuZG8gY2F6YXIgYWxnbw","MGluZG8gYW8gZW5jb3Jv","MGFvIGRlc2N1aWRv"];
var answers6=["MXF1ZSBmb2kgdW4gZ3JhbiBhbWlnbw","MHF1ZW4gY2/xZWPtYSBDYWxjdXRhIHRhbiBiZW4gY29tb2EgbWlu","MHF1ZW4gbm9uIHF1ZXLtYSBpbnRpbWlkYWRlIGVuIENhbGN1dGE"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6];
var err=["","","","","",""];
var ima=["","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="04lectGal_resources/media/";
colorText="#2B2B2B";colorButton="#858B00";colorBack="#FFFFFF";colorSele="#F8F5D7";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
