//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=35; attempts=0; attemptsMax=1;
var score=0; scoreMax=35; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=true;
var tiAttempts=false;
var tiScore=true;
var startTime;
var colorBack="#FFFFFF"; 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=3; messageOk="Realmente... incríbel!"; messageTime=""; messageError="Pénsao mellor!"; 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=['<p>A Península Ibérica está localizada no extremo <input type="text" name="item1" id="item1" class="ardoraDropInput" readonly>. A maior parte da súa superficie corresponde a territorio <input type="text" name="item2" id="item2" class="ardoraDropInput" readonly> ( 504.782 km2), pertencendo o resto a <input type="text" name="item3" id="item3" class="ardoraDropInput" readonly> ( 92.072 km2) e <input type="text" name="item4" id="item4" class="ardoraDropInput" readonly> ( 468 km2). </p><p> Os seus límites terrestre están marcados polos <input type="text" name="item5" id="item5" class="ardoraDropInput" readonly> e os marítimos polo Océnao <input type="text" name="item6" id="item6" class="ardoraDropInput" readonly>, o Mar <input type="text" name="item7" id="item7" class="ardoraDropInput" readonly>, ao Leste o Mar <input type="text" name="item8" id="item8" class="ardoraDropInput" readonly> e ao Sur o <input type="text" name="item9" id="item9" class="ardoraDropInput" readonly>.</p>','<p>En España, saíndo do territorio peninsular podemos destacar as <input type="text" name="item10" id="item10" class="ardoraDropInput" readonly> no Mediterráneo e as <input type="text" name="item11" id="item11" class="ardoraDropInput" readonly> no O. Atlántico frente ás costas do <input type="text" name="item12" id="item12" class="ardoraDropInput" readonly>, así coma as cidades de <input type="text" name="item13" id="item13" class="ardoraDropInput" readonly> no Norte de <input type="text" name="item14" id="item14" class="ardoraDropInput" readonly>. Asi mesmo, en Portugal destacan no O. Atlántico as Illas <input type="text" name="item15" id="item15" class="ardoraDropInput" readonly> e as <input type="text" name="item16" id="item16" class="ardoraDropInput" readonly>.</p>','<p>O relevo peninsular ten unha altitude media de <input type="text" name="item17" id="item17" class="ardoraDropInput" readonly>, sendo o segundo país máis alto de <input type="text" name="item18" id="item18" class="ardoraDropInput" readonly> despois de <input type="text" name="item19" id="item19" class="ardoraDropInput" readonly> ( situada nos <input type="text" name="item20" id="item20" class="ardoraDropInput" readonly> cunha altitude media de máis de 1.300 m ). </p><p> Podemos dividir o relevo peninsular en 4 bloques: </p><p> 1.<input type="text" name="item21" id="item21" class="ardoraDropInput" readonly> ( entre 600 e 700 m de altiude media ). Abarca unha gran parte da superficie peninsular e podemos dividila en: </p><p> - Meseta Norte, percorrida polo <input type="text" name="item22" id="item22" class="ardoraDropInput" readonly>. </p><p> - <input type="text" name="item23" id="item23" class="ardoraDropInput" readonly>, cadea montañosa que divide a meseta en dúas partes. Destaca o <input type="text" name="item24" id="item24" class="ardoraDropInput" readonly> ( 2.592 m ) </p><p> -Meseta Sur, dividida  en dúas partes polos Montes de Toledo, cada unha delas percorridas polos ríos <input type="text" name="item25" id="item25" class="ardoraDropInput" readonly></p>','<p>2.Rebordos montañosos da Meseta: cadeas montañosas que rodean a meseta : </p><p> -<input type="text" name="item26" id="item26" class="ardoraDropInput" readonly> ( Pena Trevinca, 2.127 m ) e Montes de León ( Teleno, 2.188 m ) </p><p> -<input type="text" name="item27" id="item27" class="ardoraDropInput" readonly>, na que destacan os Picos de Europa e o pico Torre Cerredo ( 2.648 m ) </p><p> -Sistema Ibérico, destacando o <input type="text" name="item28" id="item28" class="ardoraDropInput" readonly> e polo Sur <input type="text" name="item29" id="item29" class="ardoraDropInput" readonly> </p><p> 3.Undidades exteriores á Meseta: </p><p> -Montes <input type="text" name="item30" id="item30" class="ardoraDropInput" readonly> e Cordilleira Costeira Catalá </p><p> -<input type="text" name="item31" id="item31" class="ardoraDropInput" readonly>, co Aneto coma cumbre máis alta ( 3.404 m ) </p><p> -<input type="text" name="item32" id="item32" class="ardoraDropInput" readonly>, con dúas cimas en Serra Nevada ( Granada ): Mulhacén ( 3.478 m ) e Veleta ( 3.392 m ) </p><p> 4.Grandes depresións exteriores:ríos  <input type="text" name="item33" id="item33" class="ardoraDropInput" readonly> </p><p> Mención aparte require o relevo insular canario, de <input type="text" name="item34" id="item34" class="ardoraDropInput" readonly>. Destaca sobre todo o Teide, a montaña máis alta de España con 3.718 m . Tamén podemos mencionar lugares coma o <input type="text" name="item35" id="item35" class="ardoraDropInput" readonly> en Lanzarote ou as erupcións volcánicas submariñas do ano 2011 na illa do Hierro.</p>'];
var answers=["pico Almanzor","Andorra","Canarias","Cordilleira Cantábrica","Moncaio ( 2.213 m )","Azores","África","Sistema Central","Vascos","Estreito de Xibraltar","Alpes","Sáhara","Pireneos","Ebro e Guadalquivir","Texo e Guadiana","Meseta Central","Macizo Galego","Serra Morena","Europa","Suiza","orixe volcánica","Mediterráneo","río Douro","Madeira","660 m","Cordilleira Béticas","Parque do Timanfaya","SO de Europa","español","Portugal","Ceuta e Melilla","Pireneos","Atlántico","Illas Baleares","Cantábrico"];
var a=["MjQ","NA","MTE","Mjc","Mjg","MTU","MTQ","MjM","MzA","OQ","MjA","MTI","MzE","MzM","MjU","MjE","MjY","Mjk","MTg","MTk","MzQ","OA","MjI","MTY","MTc","MzI","MzU","MQ","Mg","Mw","MTM","NQ","Ng","MTA","Nw"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="RXNwVGV4dENvbXBs"; 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;}
colorText="#2B2B2B";colorButton="#647B2A";colorBack="#FFFFFF";colorSele="#80715C";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
