//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=2;
var score=0; scoreMax=15; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=true;
var tiTimeType=1;
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. Test finalizado correctamente."; messageTime="Acabouse o tempo. Inténtao outra vez."; messageError="Non é correcto."; messageErrorG="Non é correcto."; 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="Z3JhblRlc3RNYXRlcmlhaXM"; 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 materia está formada por...","2.- As substancias están formadas por...","3.- A súa unidade é o gramo.","4.- Espazo que ocupa un corpo.","5.- Sae de dividir a masa que ten un corpo entre o volume que ocupa.","6.- Dise da temperatura que debe de alcanzar un corpo para converterse en gas.","7.- As mesturas nas que se poden distinguir, a simple vista, os c ompoñentes son as...","8.- O bronce é","9.- A destilación é...","10.- O estado no que a materia non ten unha forma fixa pero si un volume constante é o...","11.- Se sometemos á materia a un cambio e esta segue sendo a mesma estamos facendo un cambio...","12.- A oxidación é...","13.- Os materiais que se obteñen sen alterar a súa composición como a la ou o granito son materiais...","14.- Un material é maleable cando...","15.- Un polímero está formado por..."];
var answers1=["MXN1YnN0YW5jaWFz","MHThYm9hcyBwZXJp82RpY2Fz","MG9z7Xhlbm8sIGNhcmJvbm8gZSBhdWdh"];
var answers2=["MeF0b21vcw","MG9z7Xhlbm8sIGNhcmJvbm8gZSBhdWdh","MHThYm9hcyBwZXJp82RpY2Fz","MGhpZHLzeGVubyBlIG9z7Xhlbm8"];
var answers3=["MW1hc2E","MHZvbHVtZQ","MGRlbnNpZGFkZQ","MGR1cmV6YQ","MGVsYXN0aWNpZGFkZQ"];
var answers4=["MXZvbHVtZQ","MGRlbnNpZGFkZQ","MGR1cmV6YQ","MGVsYXN0aWNpZGFkZQ"];
var answers5=["MWRlbnNpZGFkZQ","MGR1cmV6YQ","MGVsYXN0aWNpZGFkZQ","MGVidWxpY2nzbg"];
var answers6=["MWRlIGVidWxpY2nzbg","MGRlIGZ1c2nzbg","MGRlIHJlYWNjafNu","MGRlIGR1cmV6YQ"];
var answers7=["MWhldGVyb3jpbmVhcw","MGhvbW946W5lYXM","MGRpc29sdWNp825z","MHN1YnN0YW5jaWFzIHB1cmFz"];
var answers8=["MXVuaGEgbWVzdHVyYSBob21veOluZWE","MHVuaGEgbWVzdHVyYSBoZXRlcm946W5lYQ","MHVuaGEgc3Vic3RhbmNpYSBwdXJh","MHVuaGEgZGlzb2x1Y2nzbg"];
var answers9=["MXVuIG3pdG9kbyBkZSBzZXBhcmFjafNuIGRlIG1lc3R1cmFz","MHVuaGEgc3Vic3RhbmNpYSBhbGNvaPNsaWNh","MG8gcXVlIHNlIG9idOluIGRlc3BvaXMgZHVuaGEgZGVjYW50YWNp824","MHVuaGEgbWVzdHVyYSBob21veOluZWEgdGFt6W4gY2hhbWFkYSBkaXNvbHVjafNu"];
var answers10=["MWztcXVpZG8","MGdhc29zbw","MHPzbGlkbw"];
var answers11=["MWbtc2ljbw","MHF17W1pY28","MGRlIHN1YnN0YW5jaWE"];
var answers12=["MXVuIGNhbWJpbyBxde1taWNv","MHVuIGNhbWJpbyBm7XNpY28","MGEgZmFsdGEgZGUgb3PteGVubyBuYSBtYXRlcmlh","MHByb2R1Y2lkYWQgcG9yIG1pY3Jvb3JnYW5pc21vcw"];
var answers13=["MW5hdHVyYWlz","MGFydGlmaWNpYWlz","MGNlcuFtaWNvcw","MGZvcm1hZG9zIHBvciBhbGlheGVz"];
var answers14=["MXNlIHBvZGUgbW9sZGVhcg","MG5vbiDpIGJv","MGZvcm1hIGFsaWF4ZXM","MHRyYW5zbWl0ZSBhIGVsZWN0cmljaWRhZGU"];
var answers15=["MWxvbmdhcyBjYWRlYXM","MGVsZW1lbnRvcyBmcuF4aWxlcw","MGlsbGFudGVzIG5hdHVyYWlz","MGdyYWZlbm8","MG1hdGVyaWFpcyBjZXLhbWljb3M"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12,answers13,answers14,answers15];
var err=["","","","","","","","","","","","","","",""];
var ima=["","","","","","","","","","","","","","",""];
var mp4=["","","","","","","","","","","","","","",""];
var ogv=["","","","","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="granTestMateriais_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#408053";colorBack="#FFFFFF";colorSele="#E3EEEC";goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
