//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=270; timeIni=270; timeBon=10;
var successes=0; successesMax=18; attempts=0; attemptsMax=2;
var score=0; scoreMax=18; 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="Ben feito!"; messageTime="Tempo esgotado. Inténtao de novo."; messageError="Respuesta incorrecta."; messageErrorG="Respuesta incorrecta."; 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="cmVsYUdyYW5UZXN0"; 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.- As funcións vitais son:","2.- Encárganse de percibir os estímulos...","3.- Os receptores dos sabores son...","4.- A pituitaria atópase...","5.- Forman a cadea de osiños:","6.- Une o oído medio e a gorxa","7.- Nel reside o sentido do equilibrio.","8.- Ábrese ou péchase para deixar pasar máis ou menos luz.","9.- Membrana interior do ollo na que se proxecta a luz.","10.- Evitan que a suor chegue aos nosos ollos.","11.- Responsables de manter o ollo húmido.","12.- Perceptores especializados na visión diúrna.","13.- Capa da pel na que se atopan os receptores do tacto.","14.- O decibelio é...","15.- As persoas hipermétropes...","16.- O líquido sinovial","17.- Os tendóns...","18.- Unha escordadura prodúcese cando..."];
var answers1=["MW51dHJpY2nzbg","MXJlcHJvZHVjafNu","MXJlbGFjafNu","MGNpcmN1bGFjafNu","MGRpeGVzdGnzbg","MG1vdmVtZW50bw"];
var answers2=["MW9zIHNlbnRpZG9z","MGFzIGds4W5kdWxhcw","MG8gYXBhcmVsbG8gbG9jb21vdG9y"];
var answers3=["MWFzIHBhcGlsYXMgZ3VzdGF0aXZhcw","MGFzIGds4W5kdWxhcyBzYWxpdmFyZXM","MGFzIGds4W5kdWxhcyBzdWRvcu1wYXJhcw","MGEgcGl0dWl0YXJpYQ","MG9zIGNvbm9z","MG9zIGJhc3TzbnM"];
var answers4=["MW51bmhhIGNhdmlkYWRlIG5hc2Fs","MG5hIGxpbmd1YQ","MG5hIHBlbA","MG5vIGludGVyaW9yIGRvIG9sbG8"];
var answers5=["MW1hcnRlbG8","MWJpZ29ybmlh","MWVzdHJpYm8","MGNhcmFjb2w","MHTtbXBhbm8","MHZlbnThIG92YWw","MG9yZWxsYQ"];
var answers6=["MWEgdHJvbXBhIGRlIEV1c3RhcXVpbw","MG8gdO1tcGFubw","MGEgdmVudOEgb3ZhbA","MG8gY2FyYWNvbA","MG8gbmVydmlvIGF1ZGl0aXZv"];
var answers7=["MW/tZG8gaW50ZXJubw","MG/tZG8gZXh0ZXJubw","MG/tZG8gbWVkaW8","MHTtbXBhbm8","MGNhcmFjb2w"];
var answers8=["MXB1cGlsYQ","MGNyaXN0YWxpbm8","MHJldGluYQ","MGlyaXM","MGVzY2xlcvN0aWNh"];
var answers9=["MXJldGluYQ","MGNvcm9pZGVz","MGVzY2xlcvN0aWNh","MGNyaXN0YWxpbm8"];
var answers10=["MWFzIGNlbGxhcw","MG9zIGxhY3JpbWFpcw","MGFzIHBlc3RhbmFz","MGFzIHDhbHBlYnJhcw"];
var answers11=["MWxhY3JpbWFpcw","MGNvcm9pZGVz","MGNvbm9z","MGJhc3TzbnM"];
var answers12=["MWNvbm9z","MGJhc3TzbnM","MGlyaXM","MHBlc3RhbmFz","MHDhbHBlYnJhcw"];
var answers13=["MWRlcm1l","MGVwaWRlcm1l","MGNhcGEgZGUgZ3JheGE","MGhpcG9kZXJtZQ"];
var answers14=["MXVuaGEgdW5pZGFkZSBwYXJhIG1lZGlyIGEgaW50ZW5zaWRhZGUgZG8gc29u","MHVuIGFwYXJhdG8gY2FwYXogZGUgcmVjb/FlY2VyIHNhYm9yZXM","MHVuIGFwYXJhdG8gcGFyYSBtZWRpciBhIGdyYWR1YWNp824gZSBvIO1uZGljZSBkZSBwZXJjZXBjafNuIHZpc3VhbC4"];
var answers15=["MXZlbiBib3Jyb3NvcyBvcyBvYnhlY3RvcyBjZXJjYW5vcw","MHZlbiBib3Jyb3NvcyBvcyBvYnhlY3RvcyBxdWUgZXN04W4gYW8gbG9ueGU","MHBlcmNpYmVuIGFzIGltYXhlcyBhbG9uZ2FkYXM"];
var answers16=["MWx1YnJpY2EgYXMgYXJ0aWN1bGFjafNucw","MGF083Bhc2Ugbm8gaW50ZXJpb3IgZG9zIG9sbG9z","MGF083Bhc2Ugbm8gaW50ZXJpb3IgZG8gb+1kbw","MGZvcm1hIG9zIPNzb3MgZSBt+nNjdWxvcw"];
var answers17=["MXVuZW4gbyBt+nNjdWxvIGFvIPNzbw","MHVuZW4gYXMgYXJ0aWN1bGFjafNucw","MGZvcm1hcyBhIGNhcnRpbGF4ZQ","MGVzdOFuIGNoZW9zIGRlIGztcXVpZG8gc2lub3ZpYWw"];
var answers18=["MXNlIGZvcnphIGJydXNjYW1lbnRlIHVuaGEgYXJ0aWN1bGFjafNu","MHVzIPNzbyBzYWUgZG8gc2V1IHNpdGlv","MHNlIHByb2R1Y2UgdW5oYSBmcmFjdHVyYQ","MHNlIHByb2R1Y2UgdW5oYSBjb250cmFjdHVyYSBtdXNjdWxhcg"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12,answers13,answers14,answers15,answers16,answers17,answers18];
var err=["","","","","","","","","","","","","","","","","",""];
var ima=["","","","","","","","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="relaGranTest_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#6F89E6";colorBack="#FFFFFF";colorSele="#C5E6FA";goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
