//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=10; attempts=0; attemptsMax=2;
var score=0; scoreMax=10; scoreInc=1; scoreDec=1
var typeGame=1;
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="¡ Muy bien! Veamos la última."; messageTime=""; messageError="Fíjate en los huecos que han quedado"; messageAttempts="Inténtalo otra vez."; 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>1,04 <select name="item1" id="item1" class="ardoraCombo"></select> <select name="item2" id="item2" class="ardoraCombo"></select> = 1040 </p><p> 3,5 <select name="item3" id="item3" class="ardoraCombo"></select> <select name="item4" id="item4" class="ardoraCombo"></select> = 0,0035 </p><p> 0,0056 <select name="item5" id="item5" class="ardoraCombo"></select> <select name="item6" id="item6" class="ardoraCombo"></select> = 56 </p><p> 3,1 <select name="item7" id="item7" class="ardoraCombo"></select> <select name="item8" id="item8" class="ardoraCombo"></select> = 3100 </p><p> 0,5 <select name="item9" id="item9" class="ardoraCombo"></select> <select name="item10" id="item10" class="ardoraCombo"></select> = 0,0005</p>'];
var b=["Mzg","MjE","Nw","NQ","MTM","MjY","Mjk","MzE","MjM","MzQ","MzA","Nw","MTg","Mw","Mzk","NA","OQ","MTA","MTA","OA","Ng","Mg","MjI","MTQ","Mzc","MTU","MQ","Mg","Ng","NQ"];
var c=[3,2,5,2,2,1,2,5,4,1,3,1,1,1,5,4,1,1,4,4,5,4,3,3,2,5,1,1,3,1];
var answers=["100","10","10000","10","10",":","10","10000","1000","x","100","x",":",":","10000","1000",":","x","1000","1000","10000","1000","100","100","10","10000","x",":","100","x"];
var a=["10","6","2","2","4","7","8","8","6","9","8","7","5","3","10","4","9","3","10","8","6","2","6","4","10","4","1","1","2","5"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="MDVkZWNpMDQ"; 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=false;
colorText="#2B2B2B";colorButton="#D5D200";colorBack="#FFFFFF";colorSele="#D94C00";goURLNext=true;goURLRepeat=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
