//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=320; timeIni=320; timeBon=0;
var successes=0; successesMax=1; attempts=0; attemptsMax=3;
var score=0; scoreMax=1; 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="#AFFEAB"; colorButton="#E4E932"; colorText="#000000"; colorSele="#0000FF";
var goURLNext=false; goURLRepeat=false;tiAval=false;
var scoOk=0; scoWrong=0; scoOkDo=0; scoWrongDo=0; scoMessage=""; scoPtos=10;
var fMenssage="'Times New Roman', Times, serif";
var fActi="'Times New Roman', Times, serif";
var fEnun="'Times New Roman', Times, serif";
var timeOnMessage=2; messageOk="MOI BEN!"; messageTime="REMATOU 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 d=[[0,0,0,0,0,0,0,0,0,0,0],[0,1,1,1,1,1,1,1,1,1,1]];
var vCell=[["0","0","0","0","0","0","0","0","0","0","0"],["0","1","1","1","1","1","1","1","1","1","1"]];
var a0Cell=[["TUFTQ1VMSU5P","Y2FiYWxv","Y2FzdHLzbg","cG9sZHJv","Z3JvdQ","Y2Fu","bGXzbg","Ym9p","Y2FybmVpcm8","dGlncmU","cGFycnVsbw"],["RkVNSU5JTk8","ZWd1YQ","Y2FicmE","cG9sZHJh","Z3L6YQ","Y2FkZWxh","bGVvYQ","dmFjYQ","b3ZlbGxh","dGlncmVzYQ","cGFycnVsYQ"]];
var c=[[9,6,7,6,4,3,4,3,8,5,7],[8,4,5,6,4,6,4,4,6,7,7]];
var c1=[[0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0]];
var c2=[[0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0]];
var c3=[[0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0]];
var a1Cell=[["TUFTQ1VMSU5P","Y2FiYWxv","Y2FzdHLzbg","cG9sZHJv","Z3JvdQ","Y2Fu","bGXzbg","Ym9p","Y2FybmVpcm8","dGlncmU","cGFycnVsbw"],["RkVNSU5JTk8","ZWd1YQ","Y2FicmE","cG9sZHJh","Z3L6YQ","Y2FkZWxh","bGVvYQ","dmFjYQ","b3ZlbGxh","dGlncmVzYQ","cGFycnVsYQ"]];
var a2Cell=[["TUFTQ1VMSU5P","Y2FiYWxv","Y2FzdHLzbg","cG9sZHJv","Z3JvdQ","Y2Fu","bGXzbg","Ym9p","Y2FybmVpcm8","dGlncmU","cGFycnVsbw"],["RkVNSU5JTk8","ZWd1YQ","Y2FicmE","cG9sZHJh","Z3L6YQ","Y2FkZWxh","bGVvYQ","dmFjYQ","b3ZlbGxh","dGlncmVzYQ","cGFycnVsYQ"]];
var a3Cell=[["TUFTQ1VMSU5P","Y2FiYWxv","Y2FzdHLzbg","cG9sZHJv","Z3JvdQ","Y2Fu","bGXzbg","Ym9p","Y2FybmVpcm8","dGlncmU","cGFycnVsbw"],["RkVNSU5JTk8","ZWd1YQ","Y2FicmE","cG9sZHJh","Z3L6YQ","Y2FkZWxh","bGVvYQ","dmFjYQ","b3ZlbGxh","dGlncmVzYQ","cGFycnVsYQ"]];
var wordsGame="ZXg0YW5p"; 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=2; var rows=11;var showC=true;
