//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=280; timeIni=280; timeBon=10;
var successes=0; successesMax=10; attempts=0; attemptsMax=3;
var score=0; scoreMax=10; scoreInc=1; scoreDec=1
var typeGame=2;
var tiTime=true;
var tiTimeType=1;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=true;
var tiAttempts=true;
var tiScore=true;
var startTime;
var colorBack="#9595FF"; colorButton="#91962F"; colorText="#000000"; colorSele="#FFCD9B";
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="POIS XA ACABOU O TEMPO"; messageError="NON, NON"; messageAttempts="DEMASIADOS ERROS"; isShowMessage=false;
var urlOk=""; urlTime=""; urlError=""; urlAttempts="";
var goURLOk="_blank"; goURLTime="_blank"; goURLAttempts="_blank"; goURLError="_blank"; 
var consolidateSuccess=0; var consolidateScore=0;
borderOk="#008000"; borderTime="#FF0000";borderError="#FF0000"; borderAttempts="#FF0000";
var indexTXT=0; var txtC=['<p>A paso de <input type="text" name="item1" id="item1" class="ardoraInput">: moi lentamente </p><p> Ser un <input type="text" name="item2" id="item2" class="ardoraInput">: ter moita intelixencia, habilidade ou astucia. </p><p> Non ter un <input type="text" name="item3" id="item3" class="ardoraInput">: non ter cartos </p><p> Buscarlle cinco pés ó <input type="text" name="item4" id="item4" class="ardoraInput">: buscar ou ver dificultade ou complicación onde non a hai. </p><p> Caer da <input type="text" name="item5" id="item5" class="ardoraInput">: convencerse de algo </p><p> Poñer o carro diante dos <input type="text" name="item6" id="item6" class="ardoraInput">: facer as cousas ó revés, precipitándose, adiantándose ós acontecemento </p><p> Outra <input type="text" name="item7" id="item7" class="ardoraInput"> no millo: sucedeu algo más que veu agravar a situación </p><p> Verlle o cu á <input type="text" name="item8" id="item8" class="ardoraInput">: sospeitar algo; ter indicios dalgunha cousa negativa </p><p> Cada <input type="text" name="item9" id="item9" class="ardoraInput"> no seu souto: cada un ó seu </p><p> <input type="text" name="item10" id="item10" class="ardoraInput"> serán, pero chéiranme a can: desconfíase dun engano</p>'];
var b=["MQ","NA","NQ","Mw","Mg","Nw","OA","Ng","OQ","MTA"];
var c=[3,4,5,3,5,4,7,4,6,7];
var answers=["Ym9p","Z2F0bw","YnVycmE","Y2Fu","bGluY2U","dmFjYQ","Y2Fycml6YQ","Ym9pcw","bW91Y2hv","R2FsafFhcw"];
var a=["1","4","5","3","2","7","8","6","9","10"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="ZXg4YW5p"; 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 tiUD=true;
