//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=14; attempts=0; attemptsMax=2;
var score=0; scoreMax=14; 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="¡ Perfecto! Aquí acabamos esta aventura."; messageTime=""; messageError="Respuesta incorrecta."; messageErrorG="Respuesta incorrecta."; messageAttempts="Tercer 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="MDhhbnRpY3VhZG8"; 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.- Los protagonistas son:","2.- Los protagonistas son \"astromineros\", ¿ en qué crees que puede consistir esta \"supuesta\" profesión?","3.- La lectura comienza...","4.- La nave...","5.- Los protagonistas son los primeros en...","6.- La nave se encuentra...","7.- ¿ Qué cerraron para forzar menos los músculos?","8.- No podía comunicarse, ni siquiera gritar debido a que...","9.- Estes pensó en utilizar los trajes para...","10.- ¿ Cuántas veces salió Estes al exterior de la nave?","11.- ¿ Qué hizo Estes para salvar su vida y la de su compañero?","12.- La señal que percibirían en la Tierra sería de","13.- Los desteyos serían interpretados en la Tierra como...","14.- El título de la obra es debido a que..."];
var answers1=["MUJlbiBFc3Rlcw","MUhhcnJ5IEZ1bmFyZWxsaQ","MEJlbiBGdW5hcmVsbGk","MEhhcnJ5IEVzdGVz"];
var answers2=["MUVuIGNvbnNlZ3VpciBtaW5lcmFsZXMgZW4gZGlzdGludG9zIGx1Z2FyZXMgZGVsIHVuaXZlcnNvLg","MEVuIGNyZWFyIG1pbmFzIGVuIGxhcyBlc3RyZWxsYXMgZGVsIHNpc3RlbWEgc29sYXIu","MEVuIGVzdHVkaWFyIGxvcyBtaW5lcmFsZXMgcXVlIHNlIGVuY3VlbnRyYW4gZW4gbG9zIGFzdHJvcy4","MEVuIGVzdHVkaWFyIGxhIGFzdHJvbm9t7WEgeSBsb3MgbW92aW1pZW50b3MgZGUgbG9zIGFzdGVyb2lkZXMu"];
var answers3=["MWRlc3B16XMgZGUgdW4gYWNjaWRlbnRl","MGNvbiBlbCBsYW56YW1pZW50byBkZSBsYSBuYXZlIGhhY2lhIHVuIGFndWplcm8gbmVncm8","MGNvbiBsYSBleHBsb3JhY2nzbiBkZSBsYXMgZXN0cmVsbGFzIHBvciBwYXJ0ZSBkZSBsb3MgcHJvdGFnb25pc3Rhcw"];
var answers4=["MXJlYWxpemFyIHVuIG1vdmltaWVudG8gZGUgcm90YWNp824geSB1bm8gZGUgdHJhbnNsYWNp824gYWwgcmVkZWRvciBkZSB1biBhZ3VlanJvIG5lZ3Jv","MHJlYWxpemEgdW4gbW92aW1pZW50byBkZSByb3RhY2nzbiBlbiB0b3JubyBhbCBTb2w","MGVzdOEgc2llbmRvIGF0cmFpZGEgYWwgYWd1amVybyBuZWdybyBtaWVudHJhcyByZWFsaXphIHVuYSB0cmFuc2xhY2nzbiBhbCByZWRlZG9yIGRlbCBTb2w"];
var answers5=["MWVuY29udHJhcnNlIGNvbiB1biBhZ3VlamVybyBuZWdybw","MGF0cmF2ZXNhciBlbCBjaW50dXLzbiBkZSBhc3Rlcm9pZGVz","MGRpcmlnaXJzZSBhbCBTb2wgZW50cmUgbG9zIGFzdGVyb2lkZXM"];
var answers6=["MWVuIGVsIGNpbnR1cvNuIGRlIGFzdGVyb2lkZXM","MGVuIGxhcyBpbm1lZGlhY2lvbmVzIGRlIGxhIFRpZXJyYQ","MG11eSBjZXJjYSBkZWwgcGxhbmV0YSBWZXN0YQ"];
var answers7=["MWxvcyBtb3RvcmVzIGRlIGdyYXZlZGFk","MGxhIG5hdmUgcm9ib3Q","MGxvcyBkZXDzc2l0b3MgZGUgY29tYnVzdGlibGU","MGVsIHNpc3RlbWEgZGUgYWlyZQ"];
var answers8=["MWVsIHNvbmlkbyBubyBzZSB0cmFuc21pdGUgZW4gZWwgdmFj7W8","MG5vIHRlbu1hbiBmdWVyemFzIHBhcmEgZWxsbw","MG5vIGhhYu1hIG5hdmVzIHRyaXB1bGFkYXMgZW4ga2ls821ldHJvcyBhIGxhIHJlZG9uZGE"];
var answers9=["MXNhbGlyIGFsIGV4dGVyaW9yIGEgdGlyYXIgcGllZHJhcyBhbCBhZ3VqZXJvIG5lZ3Jv","MHVzYXIgbGFzIHJhZGlvcyBxdWUgdGVu7WFu","MGF1bWVudGFyIGxhIGNhcGFjaWRhZCBkZSBveO1nZW5vIHF1ZSB0ZW7tYSBsYSBuYXZl"];
var answers10=["MTI","MDA","MDE","MDM","MEVzdGVzIG5vIHNhbGnzLiBZYSBlc3RhYmEgZW4gZWwgZXh0ZXJpb3Iu"];
var answers11=["MWxhbnphciBsYXMgcGllZHJhcyBjb24gdW4gcml0bW8gY29uY3JldG8","MGxhbnphciByYXlvcyBYIGEgbGEgVGllcnJh","MHVzYXIgbGEgcmFkaW8gZGVsIHNlZ3VuZG8gdHJhamUgZXNwYWNpYWw","MGVtcGxlYXIgdW4gZm9u82dyYWZv"];
var answers12=["MXRyZXMgZGVzdGVsbG9zIGNvbnNlY3V0aXZvcywgdHJlcyBlc3BhY2lhZG9zIHkgdHJlcyBjb25zZWN1dGl2b3M","MHZhcmlvcyBkZXN0ZWxsb3MgY29uc2VjdXRpdm9zIGRlc2RlIHRvZGFzIGxhcyBnYWxheGlhcw","MHVuIGRlc3RlbGxvIGluY2lhbCB5IGx1ZWdvIHRyZXMgY29uc2VjdXRpdm9zIGhhc3RhIG9idGVuZXIgcmF5b3MgWA"];
var answers13=["MXVuIFNPUw","MHVuYSBlbWlzafNuIGV4dHJh8WEgZGUgcmF5b3MgWA","MHVuIGluZGljaW8gZGUgdmlkYSBlbiBlbCBzaXN0ZW1hIHNvbGFy"];
var answers14=["MWxvcyBwcm90YWdvbmlzdGFzIGVtcGxlYW4gc2XxYWxlcyBkZWwgdGVs6WdyYWZv","MHVubyBkZSBlbGxvcyBlcmEgZXh0cmVtYWRhbWVudGUgbWF5b3IgcGFyYSB1c2FyIGxhIHRlY25vbG9n7WE","MG1hbmVqYWJhbiB1bmEgbmF2ZSBhc3Ryb21pbmVyYSBtdXkgYW50aWd1YSwgZGUgdGFuIHPzbG8gZG9zIHBsYXphcw"];
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="08anticuado_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";
