//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=12; attempts=0; attemptsMax=1;
var score=0; scoreMax=12; 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 rematado!!!!"; messageTime=""; messageError="Non é correcto."; messageErrorG="Non é correcto."; messageAttempts="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="Z3JhblRlc3Rv"; 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 hora de estudar a poboación do teu concello, en canto a idade, ti deberías aparecer contabilizado como poboación...","2.- As persoas xubiladas pertencen ao grupo de...","3.- Se nunha superficie de 6 km<sup>2</sup> hai 600 habitantes a densidade de poboación é de ... hab/km<sup>2</sup>","4.- Cando unha familia decide irse a vivir ao lugar de traballo da nai ou o pai, esta emigración faise por razóns...","5.- As migracións internas son","6.- Se unha poboación ten un crecemento natural negativo e non recibe inmigrantes...","7.- Cando nunha rexión o número de emigrantes e o de inmigrantes é o mesmo e non houbo nacementos, o seu crecemento real será","8.- Onde é máis probable en Galicia atopar unha maior densidade de poboación?","9.- Galeuzka, Vieiros, Nós e A Nosa Terra son","10.- Os \"Centros Galegos\" e \"Casas de Galicia\" son","11.- A poboación española concéntrase principalmente ...","12.- As traballadoras e traballadores españois que traballan no sector primario, principalmente adícanse..."];
var answers1=["MW5vdmE","MGFkdWx0YQ","MGFuY2nh"];
var answers2=["MXBvYm9hY2nzbiBub24gYWN0aXZh","MHBvYm9hY2nzbiBhY3RpdmE"];
var answers3=["MTEwMA","MDYw","MDIwMA","MDEw","MDYwMA","MDAsMQ","MDE","MDI"];
var answers4=["MWVjb27zbWljYXM","MHBvbO10aWNhcw","MGhpc3TzcmljYXM","MGNsaW1hdG9s83hpY2Fz"];
var answers5=["MWFzIHF1ZSBzZSBwcm9kdWNlbiBkZW50cm8gZG8gbWVzbW8gcGHtcw","MGFzIHF1ZSB0cmFlbiBwZXJzb2FzIGVzdHJhbnhlaXJhcyBhbyBwYe1z","MGFzIHF1ZSBzZSBwcm9kdWNlbiBhbyBzYWxpciBhbyBlc3RyYW54ZWlybyBwZXJvYXMgZG8gcOFpcw"];
var answers6=["MWRpbWludWly4Q","MGF1bWVudGFy4Q","MG1hbnRlcmFzZSBlc3RhYmxlIGFvIG5vbiByZWNpYmlyIGlubWlncmFudGVz"];
var answers7=["MW5lZ2F0aXZv","MHBvc2l0aXZv","MGFsdG8","MGJhaXhv","MG1vaSBhbHRv"];
var answers8=["MU5vcyBjb25jZWxsb3MgbGlt7XRyb2ZlcyBjb2FzIGNpZGFkZXM","ME5vcyBjb25jZWxsb3MgbGlt7XRyb2ZlcyBjb24gQXN0dXJpYXM","ME5vcyBjb25jZWxsb3MgbGlt7XRyb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GUgZSDhIGVkdWNhaWNp824"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12];
var err=["","","","","","","","","","","",""];
var ima=["","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="granTesto_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#D5D200";colorBack="#FFFFFF";colorSele="#DC5A15";goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
