//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=12; attempts=0; attemptsMax=1;
var score=0; scoreMax=12; 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="Fantástico! Aquí rematamos este bonito conto."; messageTime=""; messageError="Incorrecta. Fíxate, non podes fallar máis."; messageErrorG="Incorrecta. Fíxate, non podes fallar máis."; messageAttempts="Volve a ler o texto e inténtao outra vez."; 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="MTJzZWx2YQ"; 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.- Lugar no que Pai e Mai Loba teñen a súa cova.","2.- Tabaqui...","3.- Pai Lobo bota a Tabaqui da cova decíndolle: \"Fuxe de aquí, e vaite cazar á sombra do teu amo.\" A que amo se refire?","4.- O Waingunga é","5.- Pai Lobo atopou a Mowgli...","6.- Quen é o \"pallaso desfigurado a brochadas\"?","7.- Pai Lobo, nunha caza, chamou \"demo\" a Mai Loba, según a lectura, \"<b>non o fixo por galantería</b>\". Que quere dicir isto?","8.- A Rocha do Consello é...","9.- Mai Loba, antes de por nome a Mowgli, dille \"E ti, cágado, estate quieto\". Por que lle chama <b>cágado</b>?","10.- \"Un lobo duns catro anos <b>fíxose eco</b> da pregunta de Shere Khan e dirixuse a Akela.\" Que significa aquí a expresión \"<b>fíxose eco</b>\"?","11.- Para o ingreso dun lobo na manda podía ser defendido por <b>dous conxéneres</b> que non fosen os seus pais. Que quere dicir isto?","12.- Que ofertou Bagheera para que aceptasen a Mowgli?"];
var answers1=["MVNlZW9uZWU","MFdhaW5ndW5nYQ","MEEgUm9jaGEgZG8gQ29uc2VsbG8"];
var answers2=["MWVyYSBkZXNwcmVjaWFkbyBuYSBJbmRpYQ","MGVyYSBmYW1pbGlhciBkZSBMdW5ncmk","MGNv8WVj7WEgYXNvIGNhbXBlc2nxb3MgZG8gV2Fpbmd1bmdh"];
var answers3=["MVNoZXJlIEtoYW4","MEFrZWxh","MEJhbG9v","MEJhZ2hlZXJh","MFVuIGNhbXBlc2nxbyByaWJlaXLhbiBkbyBXYWluZ3VuZ2E"];
var answers4=["MXVuIHLtbw","MHVuIHBh7XM","MG8gbHVnYXIgb25kZSBzZSByZXVuZW4gb3MgbG9ib3M","MHVuIHBhcmVudGUgZGUgTWFpIExvYmE"];
var answers5=["MW51bmhhcyBtYXRvZ3VlaXJhcw","MG5vIHLtbyBXYWluZ3VuZ2E","MG5hIGNvdmEgZGUgU2hlcmUgS2hhbg","MG51biBvdXRlaXJv"];
var answers6=["MVNoZXJlIEtoYW4","MEJhZ2hlZXJh","MFRhYmFxdWk","MEJhbG9v","MFBhaSBMb2Jv","ME1vd2dsaQ"];
var answers7=["MVF1ZSBub24gbyBmaXhlcmEgcGFyYSBwYXJhcmVjZXIgZWR1Y2Fkbw","MFF1ZSBub24gbyBmaXhlcmEgcGFyYSBxdWUgbm9uIHNlIGVuZmFkYXNl","MFF1ZSBub24gcXVlcu1hIHF1ZSBNYWkgTG9iYSBwZW5zYXNlIHF1ZSB0afFhIG1lZG8"];
var answers8=["MW8gbHVnYXIgb25kZSBzZSByZXVuZSBhIG1hbmRh","MG8gbHVnYXIgb25kZSB2aXZlIEJhbG9vIGUgQmFnaGVlcmE","MGEgY2FzYSBkZSBBa2VsYQ"];
var answers9=["MU8gY+FnYWRvIOkgYSBjcu1hIGRhIHJhIGUgTW9nd2xpIHRlbiBwb3IgYWxjdW1lICJBIFJhIg","MFBvcnF1ZSBlcmEgbW9pIHBlcXVlbm8gZSB0afFhIG1vaXRvIG1lZG8","MFBvcnF1ZSBlc3RhYmEgbW9pIHN1Y2lvIGUgbWFuY2hhYmEgYW9zIGxvYmV0b3M"];
var answers10=["MXF1ZSByZXBpdGl1IGEgcHJlZ3VudGEgZGUgU2hlcmUgS2hhbg","MHF1ZSBmYWxhYmEgY29uIHZveiBtb2kgYWx0YSBwYXJhIHJlc3BvbmRlciBhIFNoZXJlIEtoYW4","MHF1ZSBzZSBhcGFydG91IHBvciB0ZW1vciDhIHByZWd1bnRhIGRlIFNoZXJlIEtoYW4"];
var answers11=["MXF1ZSBwb2TtYSBzZXIgZGVmZW5kaWRvIHBvciBkb3VzIGxvYm9z","MHF1ZSBwb2TtYSBzZXIgZGVmZW5kaWRvIHBvciBkb3VzIGxvYm9zIGRvIG1lc21vIHjpbmVybyBxdWUgZWw","MHF1ZSBwb2TtYSBzZXIgZGVmZW5kaWRvIHBvciBkb3VzIGFuaW1haXMgZGUgZGlzdGludGEgZXNwZWNpZQ"];
var answers12=["MXVuIHRvdXJv","MHVuIGVsZWZhbnRl","MHVuIGL6ZmFsbw","MGFzIGVuc2luYW56YXMgZGUgQmFsb28"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12];
var err=["","","","","","","","","","","",""];
var ima=["","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="12selva_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#FF8000";colorBack="#FFFFFF";colorSele="#EBD0AB";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
