//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=240; timeIni=240; timeBon=0;
var successes=0; successesMax=16; attempts=0; attemptsMax=2;
var score=0; scoreMax=1; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=true;
var tiTimeType=2;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=true;
var tiAttempts=true;
var tiScore=true;
var startTime;
var colorBack="#CCCC00"; colorButton="#8146C8"; 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 fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=2; messageOk="MOI BEN"; messageTime="FINALIZOU O TEMPO"; messageError="PÉNSAO BEN"; messageErrorG="PÉNSAO BEN"; messageAttempts="DEMASIADOS ERROS"; 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="ZXg1ZGVw"; 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 joinPar=[["bWVkaWEgbWFyYXTzbg", "QVRMRVRJU01P"],["c2luY3Jvbml6YWRh", "TkFUQUNJ004"],["ZOljbGF0b24", "QVRMRVRJU01P"],["dHJpYWw", "Q0lDTElTTU8"],["bGFuemFtZW50byBkZSBtYXJ0ZWxv", "QVRMRVRJU01P"],["dHJpcGxlIHNhbHRv", "QVRMRVRJU01P"],["bGlicmU", "TkFUQUNJ004"],["ZW4gZXN0cmFkYQ", "Q0lDTElTTU8"],["QVRMRVRJU01P", "c2FsdG8gZGUgbG9ueGl0dWRl"],["TkFUQUNJ004", "ZGUgY29zdGFz"],["QVRMRVRJU01P", "c2FsdG8gZGUgb2JzdOFjdWxvcw"],["Q0lDTElTTU8", "ZGVzY2Vuc28"],["TkFUQUNJ004", "ZW4gYXVnYXMgYWJlcnRhcw"],["Q0lDTElTTU8", "ZW4gcGlzdGE"],["Q0lDTElTTU8", "Y2ljbG9jcvNz"],["Q0lDTElTTU8", "ZW4gbW9udGHxYQ"]];
var c=[[13,9],[12,8],[8,9],[5,8],[21,9],[12,9],[5,8],[10,8],[9,18],[8,9],[9,19],[8,8],[8,16],[8,8],[8,9],[8,10]];
var con1=["media maratón","sincronizada","déclaton","trial","lanzamento de martelo","triple salto","libre","en estrada"];
var con2=["ATLETISMO","NATACIÓN","CICLISMO"];
var con3=["salto de lonxitude","de costas","salto de obstáculos","descenso","en augas abertas","en pista","ciclocrós","en montaña"];
var sel1=""; join1=[]; join2=[];
