var timeAct=360; timeIni=360; timeBon=0;
var successes=0; successesMax=14; attempts=0; attemptsMax=1;
var score=0; scoreMax=14; 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 fResp="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=3; messageOk="Ben feito!"; messageTime=""; messageError="O Vesuvio vai entrar en erupción!"; messageErrorG="O Vesuvio vai entrar en erupción!"; 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="UG9tcGVpYTJUZXN0"; 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 tags=["Robert Harris díxonos que a erupción foi o 24 de agosto do ano 79d.C. pero Mary beard dinos outra cousa...","Que chovía sobre Pompeia?","Que levaba a parella consigo?","Que espesor alcanzaba a capa de lapilli?","Que cantidade de diñeiro levaba un dos grupos?","Que podían mecar con eses cartos?","Canto diñeiro levaba a familia de 4 membros?","Aparte dos cartos, que levaba o pai desa familia?","Que obxectos de plata non levaba a nai?","Que animal aparece na historia e que morreu intentando liberarse das súas ataduras?","O grupo de 12 persoas estaba composto por...","Que ocorreu no ano 62 d.C.?","Como se chamaba a vítima máis famosa da erupción?","Cantos cadáveres foron atipados nas excavacións?"];
var answers1=["MTI1IGRlIGFnb3N0bw","MDI0IGRlIHh1bGxv","MDI1IGRlIHh1bGxv"];
var answers2=["MUxhcGlsbGk","MEF1Z2EsIHF1ZSB2YWkgY2hvdmVyIQ","MEFyZWE","MFBvbHZv"];
var answers3=["MUNoYXZl","MUzhbXBhZGEgZGUgYnJvbmNl","MEJvbHNh","MEZpZ3VyafFh","MENhcnRvcw"];
var answers4=["MU3haXMgZHVuIG1ldHJv","ME1ldHJvIGUgbWVkaW8","ME1lZGlvIG1ldHJv","MFBvdWNvIG1lbm9zIGR1biBtZXRybw"];
var answers5=["MTUwMCBzZXh0ZXJjaW9z","MDQwMCBzZXh0ZXJjaW9z","MDYwMCBzZXh0ZXJjaW9z","MDUwMDAgc2V4dGVyY2lvcw","MDU1MDAgc2V4dGVyY2lvcw"];
var answers6=["MVVuaGEgbXVsYQ","MFVuIGNhYmFsbw","MFVuIGFzbm8","MFVuIGJ1cnJv"];
var answers7=["MTQwMCBzZXh0ZXJjaW9z","MDQ0MCBzZXh0ZXJjaW9z","MDQwMDAgc2V4dGVyY2lvcw","MDUwMCBzZXh0ZXJjaW9z"];
var answers8=["MUFsZmFpYXMgZGUgb3Vybw","MVVuIHBhciBkZSBjaGF2ZXM","MFVuaGEgZmlndXJp8WE","MFVuaGEgbOFtcGFkYQ","MFVuaGEgY2FpeGE"];
var answers9=["MU1vZWRhcw","MVVuaGEgZmlndXJp8WE","MEN1bGxlcmVz","MFVuIG1lZGFsbPNu","MFVuIHBhciBkZSB2YXNvcw"];
var answers10=["MUNhbg","MEdhdG8","MENhYmFsbw","MExvcm8","MFBhdG8"];
var answers11=["MTYgYWR1bHRvcw","MTYgbmVub3M","MDUgbXVsbGVyZXM","MDcgaG9tZXM","MDUgbmVub3M","MDcgbXVsbGVyZXM","MDcgbmVub3M","MDUgaG9tZXM"];
var answers12=["MVRlcnJlbW90bw","ME91dHJhIGVydXBjafNuIHZvbHbhbmljYQ","MFVuaGEgaW51bmRhY2nzbg","ME5vbiBzZSBzYWJlLCBub24gYXBhcmVjZSBuYSBoaXN0b3JpYQ"];
var answers13=["MVBsaW5pbw","MEVzdHJhYvNu","MFBsYXV0bw","MFThY2l0bw","MFRpbm8"];
var answers14=["MTEuMTAw","MDExMA","MDExLjAwMA","MDEwLjEwMA"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12,answers13,answers14];
var err=["","","","","","","","","","","","","",""];
var ima=["","","","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="Pompeia2Test_resources/media/";
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";
