//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=11; attempts=0; attemptsMax=2;
var score=0; scoreMax=11; 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="Bo comenzo!"; messageTime=""; messageError="Repasa os ocos que quedaron."; messageAttempts="Terceiro fallo. Volvemos a empezar."; 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>Están formadas por distintas máquinas <select name="item1" id="item1" class="ardoraCombo"></select> ás que lle chamamos <select name="item2" id="item2" class="ardoraCombo"></select>, estes transmiten <select name="item3" id="item3" class="ardoraCombo"></select> reducindo <select name="item4" id="item4" class="ardoraCombo"></select>. Ao conxunto <select name="item5" id="item5" class="ardoraCombo"></select> chamámoslle <select name="item6" id="item6" class="ardoraCombo"></select>. Un dos máis empregados son <select name="item7" id="item7" class="ardoraCombo"></select>, unhas rodas <select name="item8" id="item8" class="ardoraCombo"></select> que encaixan entre si transmitindo <select name="item9" id="item9" class="ardoraCombo"></select> pero cambiando <select name="item10" id="item10" class="ardoraCombo"></select>. Poden aparecer ligadas cunha <select name="item11" id="item11" class="ardoraCombo"></select>. </p><p> </p>'];
var b=["Mw","MjA","OQ","MTE","MjQ","MzY","NQ","Mzc","Mg","MzM","MTA","NA","Ng","MjM","MTM","MTQ","OQ","NQ","MTA","OA","MQ","NDA","MTc","NDE","Ng","Nw","MjU","Mjg","Mjk","NDI","Mg","MzA"];
var c=[12,10,10,5,12,8,10,7,10,13,16,9,9,9,8,15,11,17,6,8,7,5,15,4,9,13,8,5,8,5,9,7];
var answers=["un movemento","operadores","unha forza","cadea","os parafusos","o tamaño","engrenaxes","a forma","operadores","os operadores","unha deformación","o esforzo","manivelas","as poleas","o tamaño","o desprazamento","o movemento","destes operadores","o xiro","dentadas","simples","polea","destas máquinas","cuña","mecanismo","as engrenaxes","as cuñas","lisas","pequenas","panca","compostas","grandes"];
var a=["3","6","3","11","7","10","2","10","2","9","3","4","2","7","4","4","9","5","10","8","1","11","5","11","6","7","7","8","8","11","1","8"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="MDFhY3RpTWFxdWkwNA"; 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;
var fHelp="Verdana, Geneva, sans-serif";
colorText="#000000";colorButton="#6F89E6";colorBack="#FFFFFF";colorSele="#C5E6FA";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
