//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=100; timeIni=100; timeBon=10;
var successes=0; successesMax=15; attempts=0; attemptsMax=1;
var score=0; scoreMax=15; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=true;
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="Test completado."; messageTime="Tempo rematado. Inténtao outra vez."; messageError=""; messageErrorG=""; 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="Z3JhblRlc3RDVg"; 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.- Todo o que atopamos na natureza pode clasificarse en dous grandes grupos:","2.- As principais diferenzas entre os seres vivos e os inertes son que os seres vivos...","3.- As funcións vitais son:","4.- Cando un ser vivo está formado por máis dunha célula recibe o nome de...","5.- Indica os catro procesos que se realizan na función de nutrición:","6.- Un ser autótrofo...","7.- Para a fabricación do seu propio alimento, entre outras cousas, un ser autótrofo precisa:","8.- O refugallo é:","9.- Son estímulos externos:","10.- Na reprodución asexual:","11.- Unha rosa pertence ao reino:","12.- Os cogomelos pertencen ao reino:","13.- Son seres pluricelulares, heterótrofos formados por tecidos.","14.- Os seres vivos da mesma especie...","15.- O nome científico está formado por:"];
var answers1=["MXNlcmVzIGluZXJ0ZXM","MXNlcmVzIHZpdm9z","MHNlcmVzIHVuaWNlbHVsYXJlcw","MHNlcmVzIHBsdXJpY2VsdWxhcmVz","MHBsYW50YXM","MGFuaW1haXM","MG1vbmVyYXM","MGZ1bmdvcw","MHByb3Rpc3Rhcw"];
var answers2=["MXRl8WVuIHVuaGEgb3JnYW5pemFjafNuIGNvbXBsZXhh","MXJlYWxpemFuIGZ1bmNp825zIHZpdGFpcw","MHJlYWxpemFuIGEgZm90b3PtbnRlc2U","MHNvbiB1bmljZWx1bGFyZXM"];
var answers3=["MW51dHJpY2nzbg","MXJlbGFjafNu","MXJlcHJvZHVjafNu","MGNlbHVsYXI","MG9yZ2FuaXphdGl2YQ"];
var answers4=["MXBsdXJpY2VsdWxhcg","MHVuaWNlbHVsYXI","MG11bHRpY2VsdWxhcg"];
var answers5=["MU9idGVuY2nzbiBkZSBudXRyaWVudGVz","MU9idGVuY2nzbiBkZSBvc+14ZW5v","MUFwcm92ZWl0YW1lbnRvIGRhcyBzdXNic3RhbmNpYXMgaW54ZXJpZGFz","MUVsaW1pbmFjafNuIGRvIHJlZnVnYWxsbw","MFJlYWNjafNuIGFudGUgZXN07W11bG9z","MGFzZXh1YWw","MHNleHVhbA"];
var answers6=["MekgcXVlbiBkZSBmYWJyaWNhciBvIHNldSBwcm9waW8gYWxpbWVudG8","MG5vbiDpIHF1ZW4gZGUgZmFicmljYXIgbyBzZXUgcHJvcGlvIGFsaW1lbnRv","MHJlYWxpemEgZnVuY2nzbnMgYXV0825vbWFzIGFudGUgZXN07W11bG9zIGV4dGVybm9z"];
var answers7=["MWF1Z2E","MWRp83hpZG8gZGUgY2FyYm9ubw","MHByb3RlaW5hcw","MHZpdGFtaW5hcw"];
var answers8=["MWFxdWVsYXMgc3VidGFuY2lhcyBxdWUgbm9uIGZvcm9uIGFwcm92ZWl0YWRhcyBwb2xvIG9yZ2FuaXNtbw","MHVuIHhlaXRvIGRlIHJlcHJvZHVjafNuIHByZXNlbnRlIG5hIHJlcHJvZHVjafNuIGFzZXh1YWw","MHVuaGEgcmVhY2Np824gYW50ZSB1biBlc3TtbXVsbyBleHRlcm5v"];
var answers9=["MWEgdGVtcGVyYXR1cmE","MWEgcHJlc2VuY2lhIGRlIGF1Z2E","MWEgZmFsdGEgZGUgbnV0cmllbnRlcw","MGEgc2VkZQ"];
var answers10=["MXByb2T6Y2Vuc2Ugbm92b3Mgc2VyZXMgYSBwYXJ0aXIgZHVuaGEgcGFydGUu","MHByZWNpc2FuIGR1biBzZXIgZmVtaW5pbm8gZSBvdXRybyBtYXNjdWxpbm8","MGRlc2VudvNsdmVzZSBvIGNpZ290bw","MGNoZWdhIGEgZm9ybWFyc2UgbyBlbWJyafNu"];
var answers11=["MWRhcyBwbGFudGFz","MGRvcyBhbmltYWlz","MGRhcyBtb25lcmFz","MGRvcyBmdW5nb3M","MGRhcyBwcm90aXN0YXM"];
var answers12=["MWRvcyBmdW5nb3M","MGRhcyBwcm90aXN0YXM","MGRhcyBtb25lcmFz","MGRhcyBwbGFudGFz"];
var answers13=["MW9zIGFuaW1haXM","MGFzIHBsYW50YXM","MG9zIGZ1bmdvcw","MGFzIHByb3Rpc3Rhcw"];
var answers14=["MXRl8WVuIGRlc2NlbmRlbnRlcyBjb2FzIG1lc21hcyBjYXJhY3Rlcu1zdGljYXMgZSBjYXBhY2VzIGRlIHJlcHJvZHVjaXJzZQ","MHRl8WVuIGRlc2NlbmRlbnRlcyBjb24gaWd1YWlzIGNhcmFjdGVy7XN0aWNhcyBxdWUgbm9uIHNvbiBjYXBhY2VzIGRlIHJlcHJvZHVjaXJzZQ","MHNlbXByZSBwZXJ0ZW5jZW4gYSB46W5lcm9zIGRpc3RpbnRvcw","MHBlcnRlbmNlbiBhbyBtZXNtbyBvcmRlbiBwZXJvIGEgZGlzdGludGEgZmFtaWxpYQ"];
var answers15=["MXjpbmVybyArIGVzcGVjaWU","MGZhbWlsaWEgKyB4ZW5lcm8","MGZhbWlsaWEgKyBlc3BlY2ll","MGxhdO1uICsgZ3JlZ28"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12,answers13,answers14,answers15];
var err=["Fíxate ben: con ou sen vida.","Fíxate, so dúas son correctas.","Non. Lembra, as funcións vitais son tres.","Fíxate, pluri= varios","","Non é correcto.","Fíxate ben.","Non é correcta.","Fíxate, so unha non é un estímulo externo.","Non. Fíxate so hai unha correcta.","","Pénsao ben.","Non é correcto.","Incorrecto.","Non é correcto."];
var ima=["","","","","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="granTestCV_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#FF8000";colorBack="#FFFFFF";colorSele="#EBD0AB";goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
