//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=180; timeIni=180; 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="Preme aquí para 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 superado."; messageTime=""; messageError="Resposta incorrecta."; messageErrorG="Resposta incorrecta."; 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="Z3JhblRPcmdh"; 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 maior parte do territorio español está...","2.- A alcaldesa ou o alcalde é elexido","3.- Non hai deputacións provinciais","4.- Son comunidades uniprovinciais...","5.- O goberno autonómico está formado por...","6.- As deputadas e deputados do Parlamento Galego son elexidas...","7.- As principais leis dunha comunidade autónoma están...","8.- A Constitución Española...","9.- O presidente ou presidenta do goberno español reúnese semanalmente cos ministros e ministras no...","10.- O Estado e cada unha das comunidades autónomas teñen como símbolos...","11.- A orixe da Unión Europea foi debida a...","12.- No Consello da Unión Europea están...","13.- As eurodeputadas e eurodeputados...","14.- A Comisión Europea é...","15.- O Tribunal de Xustiza Europeao..."];
var answers1=["MW5hIHBlbu1uc3VsYSBpYulyaWNh","MG5hIHBhcnRlIGluc3VsYXI","MG5vIG5vcnRlIGRlIEV1cm9wYQ","MG5vIGxlc3RlIGRlIEV1cm9wYQ"];
var answers2=["MXBvbG9zIGNvbmNlbGxlaXJvcyBlIGNvbmNlbGxlaXJhcw","MHBvbG9zIHZlY2nxb3M","MHBvbG8gcHJlc2lkZW50ZSBkYSBEZXB1dGFjafNu","MHBvbG8gcHJlc2lkZW50ZSBkYSBDb211bmlkYWRlIEF1dPNub21h"];
var answers3=["MW5hcyBjb211bmlkYWRlcyB1bmlwcm92aW5jaWFpcw","MG5hcyBjb211bmlkYWRlcyBhdXTzbm9tYXM","MG5vcyBtdW5pY2lwaW9zIHBlcXVlbm9z"];
var answers4=["MUFzdHVyaWFz","MUNhbnRhYnJpYQ","MUEgUmlveGE","MU1hZHJpZA","MU11cmNpYQ","MUlsbGFzIEJhbGVhcmVz","MUNvbXVuaWRhZGUgRm9yYWwgZGUgTmF2YXJyYQ","MElsbGFzIENhbmFyaWFz","MEFyYWfzbg","MENhdGFsdfFh"];
var answers5=["MXByZXNpZGVudGUgb3UgcHJlc2lkZW50YQ","MWNvbnNlbGxlaXJvcyBlIGNvbnNlbGxlaXJhcw","MGFsY2FsZGUgb3UgYWxjYWxkZXNh","MGNvbmNlbGxlaXJvcyBlIGNvbmNlbGxlaXJhcw"];
var answers6=["MW5hcyBlbGVjafNucyBhdXRvbvNtaWNhcw","MG5hcyBlbGVjY2nzbnMgbG9jYWlz","MG5hcyBlbGVjY2nzbnMgeGVyYWlz","MG5hcyBlbGVjY2nzbiBldXJvcGVhcw"];
var answers7=["MW5vIHNldSBlc3RhdHV0byBkZSBhdXRvbm9t7WE","MG5hIENvbnN0aXR1Y2nzbiBFc3Bh8W9sYQ","MG5hcyBlbGViYXJhZGFzIHBvbGFzIGRlcHV0YWNp825z"];
var answers8=["MXJlY29sbGUgZGVyZWl0b3MgZSBkZWJlcmVzIGRvcyBjaWRhZOFucw","MGVzdGFibGVjZSBhcyBsZWlzIHByaW5jaXBhaXMgcGFyYSBjYWRhIHVuIGRvcyB0ZXJyaXRyb3Jpb3M","MGRldGVybWluYSBvIGZ1bmNpb25hbWVudG8gZG9zIHRlcm1vcyBtdW5pY2lwYWlz","MGVzdGFibGVjZSBhcyBsZWlzIGNvbnRpZGFzIG5vcyBlc3RhdHV0b3MgZGUgYXV0b25vbe1h"];
var answers9=["MUNvbnNlbGxvIGRlIE1pbmlzdHJvcw","MENvbmdyZXNvIGRvcyBEZXB1dGFkb3M","MFNlbmFkbw","MFRyaWJ1bmFsIFN1cHJlbW8"];
var answers10=["MWEgYmFuZGVpcmE","MW8gZXNjdWRv","MW8gaGltbm8","MG9zIHRyaWJ1bmFpcw","MG9zIHBhcmxhbWVudG9z","MG9zIHByZXNpZGVudGVzIG91IHByZXNpZGVudGFz"];
var answers11=["MXNpdHVhY2nzbiBuYSBxdWVkb3UgRXVyb3BhIGRlc3BvaXMgZGEgZ3VlcnJh","MGZpcm1hIGRvIFRyYXRhZG8gZGUgTWFhc3RyaWNo","MGNyZWFjafNuIGRhIHpvbmEgZXVybw","MGluY29ycG9yYWNp824gZGUgRXNwYfFhIGUgUG9ydHVnYWwgZSBwb3N0ZXJpb3JtZW50ZSBkZSBDcm9hY2lhLg"];
var answers12=["MW9zIG1pbmlzdHJvcyBlIG1pbmlzdHJhcyBkZSBjYWRhIHDhaXM","MG9zIGNvbWlzYXJpb3MgZWxleGlkb3MgcG9yIGNhZGEgcGHtcw","MG9zIGV1cm9kZXB1dGFkb3MgZSBldXJvZGVwdHVhZGFz","MG9zIGF2b2dhZG9zIGVsZXhpZG9zIHBvciBjYWRhIHBh7XMu"];
var answers13=["MWVzdOFuIG5vIFBhcmxhbWVudG8gRXVyb3Blbw","MGVzdOFuIG5vIENvbnNlbGxvIEV1cm9wYQ","MGZvcm1hbiBhIENvbWlzafNuIEV1cm9wZWE"];
var answers14=["MW8gZ29iZXJubyBkZSBFdXJvcGEu","MGEgZW5jYXJnYWRhIGRhcyBjb250YXMgZGEgVUUu","MHF1ZSBzZSBlbmNhcmdhIGRlIGdhcmFudGlyIG8gY3VtcHJpbWVudG8gZGFzIGxlaXMgZSBvcyB0cmF0YWRvcy4"];
var answers15=["MWdhcmFudGUgbyBjdW1wcmltZW50byBkYXMgbGVpcyBlIHRyYXRhZG9zLg","MGNvbnRyb2xhIG8gZGnxZWlybyBkYSBVRS4","MHZlbG8gcG9sbyBjdW1wbGltZW50byBkYSBDb25zdGl0dWNp824gRXNwYfFvbGE","MGNvbnRyb2xhIG8gY3VtcGxpbWVudG8gZG9zIGVzdGF0dXRvcyBkZSBhdXRvbm9t7WEu"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12,answers13,answers14,answers15];
var err=["","","","","","","","","","","","","","",""];
var ima=["","","","","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="granTOrga_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#6F89E6";colorBack="#FFFFFF";colorSele="#C5E6FA";goURLRepeat=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
