//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=4; attempts=0; attemptsMax=1;
var score=0; scoreMax=4; 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="Muy bien. Veamos la última."; messageTime=""; messageError="No es correcto."; messageErrorG="No es correcto."; messageAttempts="Vuelve a leer la lectura e inténtalo otra 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="ZmVybWF0MDU"; 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.- Magicicada septendecim es","2.- Las cigarras de las que habla la lectura ...","3.- Las cigarras alargaron su ciclo de vida ...","4.- Al tener un ciclo de vida de un número primo de años hace que ..."];
var answers1=["MUVsIG5vbWJyZSBjaWVudO1maWNvIHF1ZSBzZSBkYSBhIHVuIHRpcG8gZGUgY2lnYXJyYXM","MFVuYSBlc3BlY2llIGRlIHDhcmFzaXRvcyBkZSBsYXMgY2lnYXJyYXM","MEVsIG5vbWJyZSBkZWwgYXV0b3IgZGVsIHRleHRv","MEVsIG5vbWJyZSBkZSBsYSBiafNsb2dhIHF1ZSBkZXNjdWJyafMgbGFzIGNpZ2FycmFzLg"];
var answers2=["MVRpZW5lIGVsIGNpY2xvIGRlIHZpZGEgbeFzIGxhcmdvIGRlIHRvZG9zIGxvcyBpbnNlY3Rvcy4","MFNvbiBsb3MgaW5zZWN0b3MgbeFzIGxhcmdvcy4","ME5vIHNvbiBpbnNlY3RvcyBhbCB0ZW5lciB1biBjaWNsbyBkZSB2aWRhIG11eSBsYXJnby4"];
var answers3=["MVBhcmEgZXZpdGFyIGxhIGNvaW5jaWRlbmNpYSBjb24gdW4gcGFy4XN0by4","MFBhcmEgc2VyIGxvcyBpbnNlY3RvcyBt4XMgbG9uZ2V2b3Mu","MFBhcmEgc3VwZXJhciBlbCBjaWNsbyBkZSBsYSAiTWFnaWNhZGEgdHJlZGVjaW0iLg"];
var answers4=["MWxhIHBvc2liaWxpZGFkIGRlIGNvaW5jaWRlbmNpYSBjb24gZWwgcGFy4XNpdG8gc2VhICBtdWNobyBtZW5vcg","MGxhIHBvc2liaWxpZGFkIGRlIGNvaW5jaWRlbmNpYSBjb24gZWwgcGFy4XNpdG8gc2VhIG11Y2hvIG1heW9yLg"];
var ans=[answers1,answers2,answers3,answers4];
var err=["","","",""];
var ima=["","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="fermat05_resources/media/";
colorText="#2B2B2B";colorButton="#858B00";colorBack="#FFFFFF";colorSele="#F8F5D7";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
