//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=360; timeIni=360; timeBon=0;
var successes=0; successesMax=24; attempts=0; attemptsMax=1;
var score=0; scoreMax=24; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=true;
var tiAttempts=false;
var tiScore=true;
var startTime;
var colorBack="#FFFFFF"; 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=2; messageOk="Es un sabio!"; messageTime=""; messageError="Repasa! Estudia ! Le !"; messageErrorG="Repasa! Estudia ! Le !"; messageAttempts=""; 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="VGVzdFJlcGFzb1BsYW5ldGFUZXJyYQ"; 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=["¿Cantos continentes hai?","¿Cantos océanos hai?","O continente máis grande é....","O océano máis grande é o ...","Hai tres tipos de liñas imaxinarias:","Os paralelos máis importantes son:","Marca os nomes do Hemisferio Norte.","Marca os nomes do Hemisferio Sur.","Marca as palabras que teñan relación coa latitude:","Marca as palabras relacionadas coa Lonxitude.","A lonxitude poder ser Leste ou oeste. Mídese en graos, pero¿ata cantos?","A latitude pode ser Norte ou Sur. Mídese en graos, pero¿ata cantos?","Os movementos da Terra son:","O eixe terrestre ten unha inclinación de....","As consecuencias do movemento de rotación son:","As consecuencias do movemento de traslación son:","Os Equinoccios son....","Os Solsticios son...","As zonas térmica da Terra son:","Á relación entre a medida nun mapa e a realidade é ....","Os sistemas de proxección son:","A proxección cilíndrica deforma as zonas....","A proxección cónica representa mellor....","A proxección plana é a máis indicada para representar as zonas...."];
var answers1=["MVNlaXM","MENpbmNv","MENhdHJv"];
var answers2=["MUNpbmNv","MFNldGU","MERlemFzZXRl","MENhdHJv","MFRyZXMgZSBtZWRpbw"];
var answers3=["MUFzaWE","MMFmcmljYQ","MEFt6XJpY2E","MEV1cm9wYQ","ME9jZWFu7WE","MEFudOFydGlkYQ"];
var answers4=["MVBhY+1maWNv","MEF0bOFudGljbw","MM1uZGljbw","MMFydGljbw","MEFudOFydGljbw"];
var answers5=["MUVpeGUgdGVycmVzdHJl","MVBhcmFsZWxvcw","MU1lcmlkaWFub3M","MFJlY3Rhcw","MFBlcnBlbmRpY3VsYXJlcw","MFZlcnRpY2Fpcw"];
var answers6=["MUVjdWFkb3I","MVRy83BpY29z","MUNpcmN1bG9zIFBvbGFyZXM","MEhlbWlzZmVyaW9z","MENhZHJhbnRlcw","MFBhcmFsZWxvIGRlIEdyZWVud2ljaA"];
var answers7=["MUJvcmVhbA","MVNlcHRlbnRyaW9uYWw","ME1lcmlkaW9uYWw","MEF1c3RyYWw","ME8gZGUgYXJyaWJh"];
var answers8=["MU1lcmlkaW9uYWw","MUF1c3RyYWw","MEJvcmVhbA","MFNlcHRlbnRyaW9uYWw","ME8gZGUgYWJhaXhv"];
var answers9=["MU5vcnRl","MVN1cg","MVBhcmFsZWxvcw","MUVjdWFkb3I","MExlc3Rl","ME9lc3Rl","ME1lcmlkaWFub3M","ME1ldHJvcw"];
var answers10=["MUxlc3Rl","MU9lc3Rl","MU1lcmlkaWFub3M","MU1lcmlkaWFubyBkZSBHcmVlbndpY2g","ME5vcnRl","MFN1cg","MFBhcmFsZWxvcw","MEVjdWFkb3I"];
var answers11=["MTE4MA","MDkw","MDYw","MDQ1"];
var answers12=["MTkw","MDE4MA","MDM2MA","MDE1MDAw"];
var answers13=["MVJvdGFjafNu","MVRyYXNsYWNp824","ME1vaSBsb25nb3M","ME1vaSBib25pdG9z","ME1vaXRvcw","MEFwYXJlbnRlcw"];
var answers14=["MTIzujI3Jw","MDY2ujMzJw","MDEyM7ozNCc","MDE4MLo","MDkwug"];
var answers15=["MVN1Y2VzafNuIGTtYS1ub2l0ZQ","MUZ1c29zIGhvcmFyaW9z","MEZhaSBt4WlzIGZy7W8gbnVuIGxhZG8gcXVlIG5vdXRyb3M","ME8gYW5v","MEFzIGVzdGFjafNucw","MEEgaW52ZW5jafNuIGRvIHJlbG94byBkZSBhcmVh"];
var answers16=["MU8gYW5vIGUgbyBhbm8gYmlzZXN0bw","MUFzIGVzdGFjafNucw","MUFzIHpvbmFzIHTpcm1pY2Fz","MURpZmVyZW50ZSBkdXJhY2nzbiBk7WEtbm9pdGU","MEEgaG9yYQ","MFN1Y2VzafNuIGTtYS1ub2l0ZQ","MEZ1c29zIGhvcmFyaW9z","ME9zIHJhaW9zIHVsdHJhdmlvbGV0YQ"];
var answers17=["MUEgcHJpbWF2ZXJh","MU8gb3V0b25v","MEludmVybm8","MFZlcuFu"];
var answers18=["MU8gdmVy4W4","MU8gaW52ZXJubw","MEEgcHJpbWF2ZXJh","ME8gb3V0b25v"];
var answers19=["MVpvbmEgRnLtYSBvdSBQb2xhcg","MVpvbmEgVGVtcGVyYWRh","MVpvbmEgQ+FsaWRhIG91IFRyb3BpY2Fs","MFpvbmEgRnLtYSBvdSBFY3VhdG9yaWFs","ME1vaXRhcw","MFpvbmEgQ+FsaWRhIG91IFBvbGFy","MFpvbmEgMLo"];
var answers20=["MUEgZXNjYWxh","MEEgZ3LhZmljYQ","MEEgbnVt6XJpY2E","MFByb3BvcmNp824"];
var answers21=["MVByb3hlY2Np824gY2ls7W5kcmljYQ","MVByb3hlY2Np824gY/NuaWNh","MVByb3hlY2Np824gcG9sYXI","MFByb3hlY2Np824gcPpibGljYQ","MFByb3hlY2Np824gcmVjdGFuZ3VsYXI","MFByb3hlY2Np824gZWztcHRpY2E"];
var answers22=["MU3haXMgcHLzeGltYXMg83MgUG9sb3M","ME3haXMgcHLzeGltYXMg8yBFY3VhZG9y","ME3haXMgYmFpeGFz","MFRyb3BpY2Fpcw"];
var answers23=["MUFzIGxhdGl0dWRlcyBtZWRpYXM","MEFzIHpvbmFzIHRyb3BpY2Fpcw","MEFzIGxhdGl0dWRlcyBmcu1hcw","MEFzIHpvbmFzIHBvbGFyZXM"];
var answers24=["MVBvbGFyZXM","MFRlbXBlcmFkYXM","MEFsdGFz","MEJhaXhhcw"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12,answers13,answers14,answers15,answers16,answers17,answers18,answers19,answers20,answers21,answers22,answers23,answers24];
var err=["Mintireiro!","Noooooon!","Está mal !","Erro !","Noooo!!","Coidado !!","Moc, moc!","Mec, mec !","Noooon!","Moc,moc!!","Non, equivócaste!","Non,non,non,non","Non é así","Ti cres?","Ai, ai, aiiii !","Coidado, non te equivoques!","Noooon!","Non,non","Fíxate ben!","Ti cres?","Fíxate!","Non,non!","Fíxate ben!","Repasa!"];
var ima=["ContinentesMudo.jpg","ContinentesMudo.jpg","ContinentesMudo.jpg","ContinentesMudo.jpg","EixeRotacion.jpg","LinasImaxinarias.jpg","HemisferiosMudo.jpg","HemisferiosMudo.jpg","LatitudeLonxitude.jpg","LatitudeLonxitude.jpg","LatitudeLonxitude.jpg","LatitudeLonxitude.jpg","EstacionsMudo.jpg","LinasImaxinariasMudo2.jpg","Rotacion.jpg","TRASLACIONmudo.jpg","EstacionsMudo.jpg","EstacionsMudo.jpg","ZonasTermicas.jpg","EscalaNumerica.jpg","cilindricawikimwdiacommons.jpg","cilindricawikimwdiacommons.jpg","conicawikimediacommons.jpg","planaacimutalwikimediacommons.jpg"];
var indexTag=0; actualAnswers=[]; dirMedia="TestRepasoPlanetaTerra_resources/media/";
