//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=5;
var successes=0; successesMax=8; attempts=0; attemptsMax=2;
var score=0; scoreMax=8; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=false;
var tiAttempts=false;
var tiScore=false;
var startTime;
var colorBack="#C0C0C0"; colorButton="#FFFFFF"; colorText="#000080"; colorSele="#000080";
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="'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="Y3E3"; 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 cL=["<p>case</p>","<p>Quilo</p>","<p>Cirurxía</p>","<p>Cualificar</p>","<p>Callada</p>","<p>Quiste</p>","<p>Cinco</p>","<p>Cal</p>"];
var iL=["","","","","","","",""];
var order=["","","","","","","",""]; orderR=["","","","","","","",""];indexR=0; indexL=0;
var cR=["<p>Enquistar</p>","<p>Cualificación</p>","<p>Cincocentos</p>","<p>Cirúrxico</p>","<p>Callar</p>","<p>Casemente</p>","<p>Quilómetro</p>","<p>Calquera</p>"]; ansRL=["NQ","Ng","Mw","MQ","NA","MA","Mg","Nw"];
var iR=["","","","","","","",""];
colorText="#000080";colorButton="#808080";colorBack="#FFFFFF";colorSele="#FFFFFF";goURLNext=true;
fMenssage="'Arial Narrow', sans-serif";fActi="'Arial Narrow', sans-serif";fEnun="'Arial Narrow', sans-serif";
