//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=7; attempts=0; attemptsMax=1;
var score=0; scoreMax=7; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=true;
var textButtonTime="Comenzar";
var tiSuccesses=true;
var tiAttempts=true;
var tiScore=true;
var startTime;
var colorBack="#FFFDFD"; 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=5; messageOk="Ben. Aquí rematamos esta historia."; messageTime=""; messageError="Non é correcto."; messageErrorG="Non é correcto."; messageAttempts="Segundo fallo. Volvemos a empezar."; 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="MTBsZWN0R0FM"; 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=["1.- Ao final o fantasma...","2.- Virginia atópase co fantasma...","3.- O fantasma dille a Virginia que onde realmente lle gustaría estar é...","4.- Na frase do texto \"...o teixo estende os seus brazos de xigante sobre os que durmen...\" a que se refire cos <b>\"brazos de xigante\"</b>?","5.- A profecía estaba escrita...","6.- Segundo a profecía, que debía de facer a amendoeira?","7.- Cando aparece Virginia..."];
var answers1=["MWVtcHJlZ2FiYSBvIGVuZ3JheGFkb3Iu","MW5vbiB2b2x2ZXUgYSBmYWNlciBhIG1hbmNoYSBkZSBzYW5ndWUu","MGZhY+1hIHJ17WRvIG8gcHJpbWVpcm8gZSB0ZXJjZWlybyBt6XJjb3JlcyBkZSBjYWRhIG1lcy4","MGFzdXN0b3UgYW9zIHhlbWVsZ29zIGUgZXN0ZXMgbWFyY2hhcm9uIGEgRXRvbi4"];
var answers2=["MXBvcnF1ZSByb21wZXJhIG8gc2V1IHZlc3RpZG8gZGUgYW1hem9uYS4","MHBvcnF1ZSBvIGZhbnRhc21hIGVzdGFiYSB0cmlzdGUgZSBhYmF0aWRvLg","MHBvcnF1ZSBvcyB4ZW1lbGdvcyBvIGZpeGVyYW4gY2FlciBwb2xhcyBlc2NhbGVpcmFzLg","MHBvcnF1ZSBxdWVy7WEgaXJzZSBhIEVzdGFkb3MgVW5pZG9zLg"];
var answers3=["MW5vIGNlbWl0ZXJpbw","MGVuIEVzdGFkb3MgVW5pZG9z","MG5hIHNhbGEgZGUgY29zdHVyYSBkYSBhbWEgZGEgc2Xxb3JhIE90aXM","MG5hIGNvdmEgZXNjdXJhIGRhIHF1ZSBmYWxhYmEgYSBwcm9mZWPtYQ"];
var answers4=["MeFzIHBvbGFzIGRhIOFyYm9yZQ","MOFzIHBhdGFzIGRpYW50ZWlyYXMgZG8gYW5pbWFs","MOFzIHBhdGFzIHRyYXNlaXJhcyBkbyBhbmltYWw","MOFzIHJhaWNlcyBkYSDhcmJvcmU"];
var answers5=["MW5hcyB2aWRyaWVpcmFzIGRhIGJpYmxpb3RlY2E","MG5hcyB2ZW504XMgb3ZhbGFkYXMgZG8gc2Fs824","MG5vIHhhcmTtbiBkYSBNb3J0ZQ"];
var answers6=["MWRhciBmcm9pdG8","MGRlaXhhciBjb3JyZXIgbyBzZXUgY2hvcm8","MGNvbnZlcnRlcnNlIGVuIGhlcmJhIGUgY3VicmlyIG8geGFyZO1uIGRhIE1vcnRl","MGZhY2VyIGJyb3RhciBhcyBi4WdvYXMgZGEgbmVuYSBsb2lyYQ"];
var answers7=["MWxldmEgYSBz+mEgZmFtaWxpYSBhbyBsdWdhciBvbmRlIGVzdGl2ZXJhIHByZXNvIFNpbfNuIGRlIENhbnRlcnZpbGxl","MGZhaSBmdXhpciBhbyBmYW50YXNtYSBwYXJhIGEgYW1lbmRvZWlyYSBxdWUgZW1wZXphcmEgYSB4ZXJtb2xhcg","MHJlY29sbGV1IG8gZXNxdWVsZXRvIGUgbGV2b3VubyBhIHVuaGEgY292YSBjb24gcG9ydGEgZGUgY2FyYmFsbG8","MG9zIE90aXMgZXN0YWJhbiBlc3BlcmFuZG8gcG9yIGVsYSBwYXJhIHRvbWFyIG8gdOk"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7];
var err=["Fíxate, hai dúas correctas.","","","","","",""];
var ima=["","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="10lectGAL_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#6F89E6";colorBack="#FFFFFF";colorSele="#C5E6FA";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
