//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=150; timeIni=150; timeBon=10;
var successes=0; successesMax=12; attempts=0; attemptsMax=2;
var score=0; scoreMax=12; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=true;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=true;
var tiAttempts=true;
var tiScore=true;
var startTime;
var colorBack="#FF9E3E"; colorButton="#0080FF"; colorText="#000000"; colorSele="#FF0000";
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="BO TRABALLO"; 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 txt_G=["TUFSQVTTTg","TkFUQUNJ004","QkFMT05DRVNUTw","VElSTyBDT04gQVJDTw","U0FMVE8gQ09OIFDJUlRFR0E","QkFMT05NwU4","QslJU0JPTA","U1VSRg","UElSQUfcSVNNTw","QUxQSU5JU01P","SNNDS0VZ","UlVHQlk"];
var img_G=["","","","","","","","","","","",""];
var mp3_G=["","","","","","","","","","","",""];
var ogg_G=["","","","","","","","","","","",""];
var n_G=["MQ","MQ","Mg","MQ","MQ","Mg","Mg","MQ","MQ","MQ","Mg","Mg"];
var e_G=["","","","","","","","","","","",""];
var txtGr=["INDIVIDUAL","COLECTIVO"];
var imgGr=["",""];
var mp3Gr=["",""];
var oggGr=["",""];
var ram_G=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];
var messageErrorG="PÉNSAO BEN";
var dirMedia="ex2dep_resources/media/"; var indexGame="0"; var tiAudio=false;
var wordsGame="ZXgyZGVw"; 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;}
