//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="! Muy bien¡ Hemos finalizado este apartado."; messageTime=""; messageError="No es correcto."; messageErrorG="No es correcto."; messageAttempts="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="MDhyb2JpY2Fz"; 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.- La historia empieza en","2.- El narrador es ...","3.- El protagonista, para matar el león, ...","4.- Robinson intenta contactar con los nativos para ...","5.- Los nativos, al oir el disparo que mató al leopardo ...","6.- Después de la muerte del leopardo ...","7.- Robinson navegaba hacia Cabo Verde debido a que ..."];
var answers1=["MXVuYSBjb211bmlkYWQgYXV0825vbWEgZXNwYfFvbGE","MHVuIGRlc2llcnRv","MHVuIHBh7XMgYWZyaWNhbm8","MGVuIEd1aW5lYQ","MGVuIEdhbWJpYQ","MGVuIFNlbmVnYWw","MGVuIENhYm8gVmVyZGU"];
var answers2=["MVJvYmluc28gQ3J1c29l","MFh1cnk","MG5vIHNlIHNhYmUgeWEgcXVlIG5vIGFwYXJlY2Ugc3Ugbm9tYnJlLg"];
var answers3=["MWNhcmdhIHRyZXMgYXJtYXMu","MGxsYW1hIGEgWHVyeSBwYXJhIHF1ZSBsZSBkaXNwYXJlLg","MGxlIGNvcnRhIHVuYSBwYXRhIGN1YW5kbyBlc3ThIGRvcm1pZG8u","MGxlIHBlZ2EgdW4gdGlybyBlbiBsYSBjYWJlemEu"];
var answers4=["MW9idGVuZXIgdu12ZXJlcy4","MG1hdGFyIGEgdW4gbGVvcGFyZG8geSBjb25zZWd1aXIgc3UgcGllbC4","MGV2aXRhciBxdWUgbGVzIGFycm9qYXNlbiBsYW56YXMu"];
var answers5=["MXNlIGFzdXN0YXJvbi4","MGF0YWNhcm9uIGEgUm9iaW5zb24gQ3J1c29lIHkgWHVyeS4","MGF0YWNhcm9uIGFsIG90cm8gbGVvcGFyZG8gcGFyYSBkZXNvbGxhcmxvLg"];
var answers6=["MWxvcyBuYXRpdm9zIHNlIHF1ZWRhcm9uIGNvbiBsYSBjYXJuZSB5IFJvYmluc29uIHkgWHVyeSBjb24gbGEgcGllbA","MGxvcyBuYXRpdm9zIHNlIHF1ZWRhcm9uIGNvbiBsYSBwaWVsIHkgUm9iaW5zb24geSBYdXJ5IGNvbiBsYSBjYXJuZQ","MFJvYmluc29uIGNhbWJp8yBsYSBjYXJuZSBwb3IgdW5hcyB0aW5hamFzIGNvbiB27XZlcmVzLg"];
var answers7=["MXBvciBhbGztIHBhc2FiYW4gYmFyY29zIGV1cm9wZW9zLg","MGVuIGVzYXMgaXNsYXMgcG9kcu1hIGVuY29udHJhciBt4XMgdu12ZXJlcy4","MFh1cnkgbGUgaW5kaWPzIHF1ZSBlbCBtZWpvciBsdWdhciBwYXJhIGRlc2NhbnNhci4","MGFsbO0gZW5jb3RyYXLtYSB1bmEgcuFmYWdhIGRlIGFpcmUgcXVlIGxvIGxsZXZhc2UgYSBzdSBkZXN0aW5vLg"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7];
var err=["Lee el primer párrafo.","","","","","",""];
var ima=["","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="08robicas_resources/media/";
colorText="#2B2B2B";colorButton="#D5D200";colorBack="#FFFFFF";colorSele="#D94C00";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
