var timeAct=360; timeIni=360; timeBon=0;
var successes=0; successesMax=24; attempts=0; attemptsMax=1;
var score=0; scoreMax=24; 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="Así se fai!"; messageTime=""; messageError="Fíxate!!"; messageErrorG="Fíxate!!"; messageAttempts=""; isShowMessage=false;
var urlOk=""; urlTime=""; urlError=""; urlAttempts="";
var goURLOk="_blank"; goURLTime="_blank"; goURLAttempts="_blank"; goURLError="_blank"; 
borderOk="#008000"; borderTime="#FF0000";borderError="#FF0000"; borderAttempts="#FF0000";
var txt_G=["U0VSUkE","TUVTRVRB","VkFM","Q09SRElMTEVJUkE","REVQUkVTSdNO","TU9OVEHRQQ","Q0hBSVJB","TUFDSVpP","UFJBSUE","R09MRk8","Q0FCTw","QkHNQQ","UEVOzU5TVUxB","Q0FOVElM","Us1B","RklPUkRF","QVJRVUlQyUxBR08","REVMVEE","QUxCVUZFSVJB","UExBVEFGT1JNQSBDT05USU5FTlRBTA","Tk9JUk8gQ09OVElORU5UQUw","RE9SU0FMIE9DRcFOSUNB","Rk9TQSBPQ0XBTklDQQ","Q0hBSVJBIEFCSVNBTA"];
var img_G=["","","","","","","","","","","","","","","","","","","","","","","",""];
var mp3_G=["","","","","","","","","","","","","","","","","","","","","","","",""];
var ogg_G=["","","","","","","","","","","","","","","","","","","","","","","",""];
var n_G=["MQ","MQ","MQ","MQ","MQ","MQ","MQ","MQ","Mg","Mg","Mg","Mg","Mg","Mg","Mg","Mg","Mg","Mg","Mg","Mw","Mw","Mw","Mw","Mw"];
var e_G=["","","","","","","","","","","","","","","","","","","","","","","",""];
var txtGr=["RELEVO CONTINENTAL","RELEVO COSTEIRO","RELEVO SUBMARIÑO"];
var imgGr=["FormasRelevoContinental600.jpg","FormasRelevoCosteiro600.jpg","FormasRelevoSubmarinoMudo.jpg"];
var mp3Gr=["","",""];
var oggGr=["","",""];
var ram_G=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];
var messageErrorG="Fíxate!!";
var dirMedia="FormasRelevoClas_resources/media/"; var indexGame="0"; var tiAudio=false;
var wordsGame="Rm9ybWFzUmVsZXZvQ2xhcw"; 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";
