//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=1;
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=false;
var tiAttempts=false;
var tiScore=false;
var startTime; var tiAudio=false;
var colorBack="#BFC6DB"; colorButton="#96505C"; colorText="#2E2899"; colorSele="#FFFFFF";
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 fDefs="'Arial Narrow', sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="Moi ben!"; messageTime=""; messageError="Inténtao de novo!"; messageErrorG="Inténtao de novo!"; 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="aTI"; 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 col=0; row=0; writeDir=0;
var cw=[["","","RA","RQ","Uw","TQ","QQ","SQ","Tw","",""],["","","","Uw","QQ","SQ","QQ","","","",""],["","","","Qw","","","","","","",""],["","","","QQ","UA","Tw","SQ","Tw","","",""],["","TQ","QQ","SQ","Tw","","","","","",""],["","","SQ","Tw","Rw","VQ","Ug","","","",""],["","","Qw","TA","QQ","Ug","QQ","Qg","Tw","SQ","QQ"],["","","","QQ","Ug","Ug","Tw","SQ","QQ","Ug",""]];
var x1=[3,4,4,2,3,3,4,4];
var y1=[1,2,4,5,6,7,8,1];
var x2=[9,7,8,5,7,11,10,4];
var y2=[1,2,4,5,6,7,8,8];
var imaCW=["","","","","","","",""];
var audioCW=["","","","","","","",""];
var defCW=["Esvaecemento","Prenda de vestir","Soporte","Mes","Bebida de leite fermentado","Ventá no teito","Chover con forza","Xeso para as fracturas óseas"];
var colNum=11;
var rowNum=8;
colorText="#0000A0";colorButton="#808080";colorBack="#FFFFFF";colorSele="#808080";goURLNext=true;
fMenssage="'Arial Narrow', sans-serif";fActi="'Arial Narrow', sans-serif";fEnun="'Arial Narrow', sans-serif";
