//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=10;
var successes=0; successesMax=10; attempts=0; attemptsMax=1;
var score=0; scoreMax=10; scoreInc=1; scoreDec=1
var typeGame=2;
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="#FFFFFF"; colorButton="#FFFFFF"; colorText="#000080"; 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="'Arial Narrow', sans-serif";
var fEnun="'Arial Narrow', sans-serif";
var timeOnMessage=5; messageOk="Moi ben!"; messageTime=""; messageError="Inténtao de novo!"; messageAttempts=""; 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=['<img class="imaLeft" src="a4_resources/media/acento1.jpg" alt="Ima"  align="left"><p>As palabras agudas teñen o acento tónico na <input type="text" name="item1" id="item1" class="ardoraInput"> sílaba. Levan acento gráfico cando rematan en <input type="text" name="item2" id="item2" class="ardoraInput">, n, s ou <input type="text" name="item3" id="item3" class="ardoraInput">. Non se acentúan cando son palabras <input type="text" name="item4" id="item4" class="ardoraInput"> ou rematan en <input type="text" name="item5" id="item5" class="ardoraInput"> decrecente. </p><p>  </p><p> As palabras graves son aquelas que teñen a forza de voz na <input type="text" name="item6" id="item6" class="ardoraInput"> sílaba. Levan acento gráfico cando non rematan en vogal,  <input type="text" name="item7" id="item7" class="ardoraInput">, <input type="text" name="item8" id="item8" class="ardoraInput"> ou -ns. </p><p>  </p><p>  </p><p>  </p><p>  </p><p>  </p><p> As palabras <input type="text" name="item9" id="item9" class="ardoraInput"> son aquelas que teñen na <input type="text" name="item10" id="item10" class="ardoraInput"> sílaba a forza de voz. Acentúanse sempre.</p>'];
var b=["OA","NA","Ng","Nw","NQ","OQ","Mw","MTA","MQ","Mg"];
var c=[1,11,9,1,7,10,2,13,6,5];
var answers=["cw","bW9ub3PtbGFiYXM","cGVu+mx0aW1h","bg","ZGl0b25nbw","ZXNkcvp4dWxhcw","bnM","YW50ZXBlbvpsdGltYQ","+mx0aW1h","dm9nYWw"];
var a=["8","4","6","7","5","9","3","10","1","2"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="YTQ"; 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="#000080";colorButton="#C0C0C0";colorBack="#FFFFFF";colorSele="#C0C0C0";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="'Arial Narrow', sans-serif";fActi="'Arial Narrow', sans-serif";fEnun="'Arial Narrow', sans-serif";
