//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=10; attempts=0; attemptsMax=5;
var score=0; scoreMax=10; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=false;
var tiAttempts=true;
var tiScore=true;
var startTime;
var colorBack="#FFFDFD"; colorButton="#CC9900"; colorText="#000000"; colorSele="#808040";
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="FANTASTIC!!!"; messageTime=""; messageError=""; messageErrorG=""; messageAttempts="START AGAIN!!"; 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="bGlzdGVuaW5naGVybmFu"; 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.- Hernán Cortés was the first governor of ....","2.- Hernán Cortés was born around ...","3.- When did he leave Spain?","4.- He went to Hispaniola and later to ...","5.- The capital of the Aztec Empire was ...","6.- The Emperor of the Aztec Empire was ...","7.- How did Moctezuma die according to the video?","8.- Hernán Cortés finally conquered Tenochtitlán in ...","9.-  He later discovered ...","10.- He died on December 2nd ___"];
var answers1=["MU5ldyBTcGFpbg","ME5ldyBHcmFuYWRh","ME5ldyBNZXhpY28"];
var answers2=["MTE0ODU","MDE1ODU","MDE0NDU"];
var answers3=["MTE1MDQ","MDE0OTQ","MDE1MTQ"];
var answers4=["MUN1YmE","MEFyZ2VudGluYQ","MFBlcnU"];
var answers5=["MVRlbm9jaHRpdGzhbg","MFZlcmFjcnV6","MEd1YWRhbGFqYXJh"];
var answers6=["MU1vY3RlenVtYQ","MFRlbm9jaHRpdGzhbg","MEF0YWh1YWxwYQ"];
var answers7=["MUhlIHdhcyBraWxsZWQgYnkgYSByb2Nr","MEhlcm7hbiBDb3J06XMga2lsbGVkIGhpbQ","MFBlZHJvIGRlIEFsdmFyYWRvIGtpbGxlZCBoaW0"];
var answers8=["MTE1MjE","MDE1MTk","MDE1MjA"];
var answers9=["MUNhbGlmb3JuaWE","MExvdWlzaWFuYQ","MEd1YXRlbWFsYQ"];
var answers10=["MTE1NDc","MDE1ODc","MDE1Njc"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10];
var err=["TRY AGAIN","WRONG!","THINK TWICE!","NO WAY!","FALSE!","OOOPS!!","WRONG!!","INCORRECT!","BAD CHOICE!","SOONER!"];
var ima=["","","","","","","","","",""];
var mp4=["","","","","","","","","",""];
var ogv=["","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="listeninghernan_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
