//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=9; attempts=0; attemptsMax=1;
var score=0; scoreMax=9; 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="Buen trabajo. Aquí finalizamos este apartado."; messageTime=""; messageError="No es correcta."; messageErrorG="No es correcta."; 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="MDRsZWN0MDNDQVM"; 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 Otis son una familia de nacionalidad...","2.- ¿ Cuántos hijos tienen los Otis?","3.- La persona que vende Canterville-Chase a los Otis es...","4.- Supuestamente la mancha que vio la señora Otis era","5.- El señor Otis ofreció un engrasador al fantasma porque...","6.- La mancha de sangre, con el paso de los días, era de un color...","7.- En su segunda aparción el fantasma...","8.- Cuando el fantasma se encontró con otro fantasma, este realmente era...","9.- La última maldición del fantasma no se cumplió debido a que..."];
var answers1=["MWFtZXJpY2FuYQ","MGJyaXThbmljYQ","MGVzcGHxb2xh","MGZyYW5jZXNh","MGhvbGFuZGVzYQ"];
var answers2=["MTQ","MDM","MDI","MDE","MDA","MDU"];
var answers3=["MUxvcmQgQ2FudGV2aWxsZQ","MFNpbfNuIENhbnRlcnZpbGxl","MFdhc2hpbmd0b24","MExhZHkgTGVvbm9yIGRlIENhbnRlcnZpbGxl","MFNl8W9yYSBVbW5leQ"];
var answers4=["MXNhbmdyZSBkZSBMYWR5IExlb25vcg","MGRlbCBxdWl0YW1hbmNoYXMgUGlua2VydG9u","MHNhbmdyZSBkZSBsYSBzZfFvcmEgVW1uZXk","MHJlc3RvcyBkZSBsYSBoZXJydW1icmUgZGUgbGEgYXJtYWR1cmEgZGVsIGZhbnRhc21h"];
var answers5=["MXN1cyBjYWRlbmFzIGhhY+1hbiBydWlkbw","MHRlbu1hIHVub3Mgb2pvcyBjb21vIGNhcmJvbmVzIGVuY2VuZGlkb3M","MGxhIGFybWFkdXJhIGhhY+1hIG11Y2hvIHJ1aWRv","MGxhcyBtZWNlZG9yYXMgbmVjZXNpdGFiYW4gdW5hIHVudHVyYQ"];
var answers6=["MWNhbWJpYW50ZQ","MHZpb2zhY2Vv","MHZlcmRlIGVzbWVyYWxkYQ","MGJlcm1lbGzzbg"];
var answers7=["MXNlIGxlc3RpbWEgY29uIHN1IHByb3BpYSBhcm1hZHVyYQ","MHF1ZWRhIGF0cmFwYWRvIGVuIGVsIHllbG1vIGRlIHVuYSBhcm1hZHVyYQ","MHRvbWEgdW5hIHRhemEgZGUgdOkgY29uIGxhIGZhbWlsaWE"];
var answers8=["MXVuIG118WVjbyBoZWNobyBwb3IgV2FzaGluZ3Rvbg","MHVuYSB0cmFtcGEgZGUgbG9zIGdlbWVsb3M","MHVuIGN1YWRybyBxdWUgcHJlc2lk7WEgZWwgc2Fs824"];
var answers9=["MWVsIGdhbGxvIG5vIGNhbnTzIGRvcyB2ZWNlcw","MHNlIGVzY29uZGnzIGVuIHN1IGhhYml0YWNp824gcGFyYSByZWN1cGVyYXJzZQ","MGxhcyBjcmlhZGFzIGxsZWdhcm9uIHBvciBsYSBtYfFhbmEgeSBsbyBkZXNjdWJyaWVyb24","MGhhYu1hIG90cm8gZmFudGFzbWEgZW4gbGEgbWFzafNu"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9];
var err=["","","","","","","","",""];
var ima=["","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="04lect03CAS_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";
