var timeAct=360; timeIni=360; timeBon=0;
var successes=0; successesMax=1; attempts=0; attemptsMax=1;
var score=0; scoreMax=1; 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="Volcánico!!"; messageTime=""; messageError="Non, non!"; messageErrorG="Non, non!"; 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 wordsGame="UG9tcGVpYU9yZGVuYXJQYXI"; 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 actMaxWidth="600"; actMaxHeight="400";profG=0;dirMedia="PompeiaOrdenarPar_resources/media/";
var indexG=0;
var words1G=["QW50ZXMgZG8gYW5vIDc5IGQuQy4sIHVuIGdyYW4gZGVw83NpdG8gZGUgbWFnbWEgc2UgIGFjdW11bG91IGJhaXhvIG8gdm9sY+FuLg","VHJhcyBvIFZlc3V2aW8sIG8gc29sIGNvbWV6YWJhIGEgYXNvbWFyLiBVbmhhIGVzdHJh8W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nNlcnZhbmRvIGNvICBtZXNtbyBpbnRlculzIHF1ZSBkZSBuZW5vLg"];
var words2G=[];
var words3G=[];
var c1=[76,83,76,222,113,110,170,94];
var c2=[];
var c3=[];
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";
