//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=1; attempts=0; attemptsMax=2;
var score=0; scoreMax=1; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
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 fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="¡ Así se hace!"; messageTime=""; messageError="Fíjate en los huecos que han quedado."; messageErrorG="Fíjate en los huecos que han quedado."; messageAttempts="Tercer fallo. Inténtalo de nuevo."; 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 d=[[0,0,0,0,0],[0,1,1,1,1],[0,1,1,1,1],[0,1,1,1,1],[0,1,1,1,1]];
var vCell=[["0","0","0","0","0"],["0","3","3","3","3"],["0","3","3","3","3"],["0","3","3","3","3"],["0","3","3","3","3"]];
var a0Cell=[["Q29tZW5zYWxlcw","UGVkcm8","SnVhbmE","UmFtaXJv","TmF0YWxpYQ"],["MbogcGxhdG8","U29wYQ","Q2FsZG8","RW50cmVtZXNlcw","Q3JvcXVldGFz"],["MrogcGxhdG8","Q2FybmU","UGFzdGE","UGVzY2Fkbw","VmVyZHVyYXM"],["RnJ1dGE","VXZhcw","TmFyYW5qYQ","TWVs824","TWFuemFuYQ"],["UG9zdHJl","VGlyYW1pc/o","SGVsYWRv","VGFydGE","U29yYmV0ZQ"]];
var c=[[10,5,5,6,7],[8,4,5,10,9],[8,5,5,7,8],[5,4,7,5,7],[6,8,6,5,7]];
var c1=[[0,0,0,0,0],[0,5,4,4,4],[0,5,5,5,5],[0,7,4,4,4],[0,6,8,8,8]];
var c2=[[0,0,0,0,0],[0,10,10,5,5],[0,7,7,5,5],[0,5,5,7,7],[0,5,5,6,6]];
var c3=[[0,0,0,0,0],[0,9,9,9,10],[0,8,8,8,7],[0,7,7,7,5],[0,7,7,7,5]];
var a1Cell=[["Q29tZW5zYWxlcw","UGVkcm8","SnVhbmE","UmFtaXJv","TmF0YWxpYQ"],["MbogcGxhdG8","Q2FsZG8","U29wYQ","U29wYQ","U29wYQ"],["MrogcGxhdG8","UGFzdGE","Q2FybmU","Q2FybmU","Q2FybmU"],["RnJ1dGE","TmFyYW5qYQ","VXZhcw","VXZhcw","VXZhcw"],["UG9zdHJl","SGVsYWRv","VGlyYW1pc/o","VGlyYW1pc/o","VGlyYW1pc/o"]];
var a2Cell=[["Q29tZW5zYWxlcw","UGVkcm8","SnVhbmE","UmFtaXJv","TmF0YWxpYQ"],["MbogcGxhdG8","RW50cmVtZXNlcw","RW50cmVtZXNlcw","Q2FsZG8","Q2FsZG8"],["MrogcGxhdG8","UGVzY2Fkbw","UGVzY2Fkbw","UGFzdGE","UGFzdGE"],["RnJ1dGE","TWVs824","TWVs824","TmFyYW5qYQ","TmFyYW5qYQ"],["UG9zdHJl","VGFydGE","VGFydGE","SGVsYWRv","SGVsYWRv"]];
var a3Cell=[["Q29tZW5zYWxlcw","UGVkcm8","SnVhbmE","UmFtaXJv","TmF0YWxpYQ"],["MbogcGxhdG8","Q3JvcXVldGFz","Q3JvcXVldGFz","Q3JvcXVldGFz","RW50cmVtZXNlcw"],["MrogcGxhdG8","VmVyZHVyYXM","VmVyZHVyYXM","VmVyZHVyYXM","UGVzY2Fkbw"],["RnJ1dGE","TWFuemFuYQ","TWFuemFuYQ","TWFuemFuYQ","TWVs824"],["UG9zdHJl","U29yYmV0ZQ","U29yYmV0ZQ","U29yYmV0ZQ","VGFydGE"]];
var wordsGame="bnV0cmlMb2dpY2EwMUJpcw"; 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 cols=5; var rows=5;var showC=true;
colorText="#2B2B2B";colorButton="#858B00";colorBack="#FFFFFF";colorSele="#F8F5D7";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
