//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=2;
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="Bo traballo! Aquí rematamos este apartado."; messageTime=""; messageError="Nas respostas hai dous fallos como mínimo."; messageErrorG="Nas respostas hai dous fallos como mínimo."; messageAttempts="Volve a ler o texto e inténtao outra vez."; 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="MTBjb21wckw"; 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.- Que lle daban a Linneo, de pequeno, para que se calmara?","2.- Linneo dixo, do seu mestre Telander, que <i>\"era mellor eliminando o talento dun rapaz que desenvolvendoo\"</i>. Que quixo decir con isto?","3.- A <b>tese</b> que escribe no 1729 trataba de...","4.- Cal foi a súa <b>planta</b> favorita?","5.- A <b>hidra de Lema de sete cabezas</b> realmente era...","6.- Fíxose co manuscrito de Artedi sobre a clasificación de peixes debido a...","7.- Os dous libros que se consideraron internacionalmente como un sistema de nomenclatura das especies son:"];
var answers1=["MXVuaGEgZmxvcg","MG8gYmliZXLzbg","MHVuIGFuYWNvIGRlIHhhcmTtbg","MHVuaGEgY2FtcGFudWxhIHNlcnB5bGlmb2xpYQ"];
var answers2=["MXF1ZSBUZWxhbmRlciBlcmEgbW9pIG1hbCBtZXN0cmU","MHF1ZSBUZWxhbmRlciBmaXjhYmFzZSBtb2l0byBubyBzZXUgdGFsZW50bw","MHF1ZSBUZWxhbmRlciBlcmEgdW4gZ3JhbiBtZXN0cmU","MHF1ZSBUZWxhbmRlciBkZXNlbnZvbHbtYSBvIHRhbGVudG8gZGUgY2FscXVlcmEgcmFwYXo"];
var answers3=["MWEgc2V4dWFsaWRhZGUgZGFzIHBsYW50YXM","MGEgbGlubmVhIGJvcmVhbGlz","MG8gYWxpbWVudG8gZG8gcmVubw","MGEgZGl2ZXJzaWRhZGUgYm904W5pY2EgZGUgTGFwb25pYQ"];
var answers4=["MWNhbXBhbnVsYSBzZXJweWxpZm9saWE","MHN5c3RlbWEgbmF0dXJhZQ","MHBoaWxvc29waGlhIGJvdGFuaWNh","MG11c2dv","MGxpcXVlbg"];
var answers5=["MWEgdW5p824gZGUgcmVzdG9zIGRlIGRpc3RpbnRvcyBhbmltYWlz","MHVuaGEgc2VycGUgZW1iYWxzYW1hZGE","MHVuaGEgcGxhbnRhIHF1ZSBkZXNjb2JyaXUgTGlubmVv","MG8gbm9tZSBkYSBjaWRhZGUgZGUgSGFtYnVyZ28"];
var answers6=["MXVuIHBhY3RvIHF1ZSBmaXhlcmEgY29uIGVsIGFudGVzIGRhIHP6YSBtb3J0ZQ","MHVuaGEgZOliZWRhIHF1ZSBvIHNldSBhbWlnbyB0afFhIGNvbiBlbA","MHF1ZSB4YSBlcmEgZG91dG9yIGNvbiB0YW4gc28gMjggYW5vcw","MGNv8WVj7WEgZW4gZGV0YWxsZSBjYWRhIHVuIGRvcyBjYW5hbGVzIGRlIEFtc3RlcmRhbg"];
var answers7=["MXNwZWNpZXMgcGxhbnRhcnVt","MXN5c3RlbWEgbmF0dXJhZQ","MHBoaWxvc29waWEgYm90YW5pY2E","MGNhbXBhbnVsYSBzZXJweWxpZm9saWE","MGxpbm5lYSBib3JlYWxpcw"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7];
var err=["","","","","","",""];
var ima=["","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="10comprL_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
var r_ans=[];var r_pos=[];var r_checks=[];var minSuccesses=6;
colorText="#000000";colorButton="#FF8000";colorBack="#FFFFFF";colorSele="#EBD0AB";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
