//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=4;
var score=0; scoreMax=10; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Start";
var tiSuccesses=false;
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=3; messageOk="OUTSTANDING!!"; 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="cXVpendpbGxvcmdvaW5ndG8"; 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.- I feel really tired. I think I ______to bed","2.- I ______ a customer next Wednesday","3.- Those bags are very heavy. I ________ you carry them","4.- Would you prefer tea or coffee? I ______ some coffee","5.- What are your plans for next weekend? I _______ to New York on business","6.- Move! It _________ soon","7.- A: My head hurts. <br>      B: Sit down, and I _____ you an aspirin","8.- I believe they _____ the match","9.- I _______ dinner with a customer","10.-  I think it _____ in two hours"];
var answers1=["MXdpbGwgZ28","MGFtIGdvaW5nIHRvIGdv"];
var answers2=["MWFtIGdvaW5nIHRvIHZpc2l0","MHdpbGwgdmlzaXQ"];
var answers3=["MXdpbGwgaGVscA","MGFtIGdvaW5nIHRvIGhlbHA"];
var answers4=["MXdpbGwgaGF2ZQ","MGFtIGdvaW5nIHRvIGhhdmU"];
var answers5=["MWFtIGdvaW5nIHRvIGZseQ","MHdpbGwgZmx5"];
var answers6=["MWlzIGdvaW5nIHRvIHJhaW4","MHdpbGwgcmFpbg"];
var answers7=["MXdpbGwgZ2V0","MGFtIGdvaW5nIHRvIGdldA"];
var answers8=["MXdpbGwgd2lu","MGFyZSBnb2luZyB0byB3aW4"];
var answers9=["MWFtIGdvaW5nIHRvIGhhdmU","MHdpbGwgaGF2ZQ"];
var answers10=["MXdpbGwgcmFpbg","MGlzIGdvaW5nIHRvIHJhaW4"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10];
var err=["OUCH!!","WRONG!","OUCH!!","NO WAY!","OOOPS!","THINK TWICE","TRY AGAIN!","WRONG!","FALSE!","OUCH!"];
var ima=["","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="quizwillorgoingto_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#2B2B2B";colorButton="#0086FF";colorBack="#FFFFFF";colorSele="#CBDDEB";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
