//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=5; messageOk="CONGRATULATIONS!"; messageTime=""; messageError="FALSE!!"; messageErrorG="FALSE!!"; 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="cGVyaXBoZXJhbHNxdWl6"; 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.- You need this device to print a document.","2.- How is it called?","3.-  How is this device called?","4.- This device allows you to connect to a remote server","5.- This is a ...","6.- This device allows you to control the movement of a character in a videogame","7.-  This is a ...","8.- How is this device called?","9.- Which device will allow you to change your old photographs into digital photos?","10.- A portable computer is called a ...."];
var answers1=["MVByaW50ZXI","MFNjYW5uZXI","ME1vZGVt"];
var answers2=["MVdlYmNhbQ","MERpZ2l0YWwgQ2FtZXJh","MEhhcmQgRGlzaw"];
var answers3=["MUtleWJvYXJk","MFNjYW5uZXI","ME1vdXNlcGFk"];
var answers4=["MU1vZGVt","MFNjYW5uZXI","MEtleWJvYXJk"];
var answers5=["MUZsYXNoIERyaXZl","MEV4dGVybmFsIEhhcmQgRGlzaw","MERWRCBEcml2ZQ"];
var answers6=["MUpveXN0aWNr","MEhlYWRwaG9uZXM","MEZsYXNoIERyaXZl"];
var answers7=["MW1vdXNl","MGpveXN0aWNr","MHNjYW5uZXI"];
var answers8=["MUhlYWRwaG9uZXM","MEpveXN0aWNr","MEVhcnBob25lcw"];
var answers9=["MVNjYW5uZXI","MFByaW50ZXI","ME1vZGVt"];
var answers10=["MWxhcHRvcA","MHNjYW5uZXI","MGZsYXNoIGRyaXZl"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10];
var err=["WRONG!","FALSE!!","INCORRECT!","FALSE!","WRONG!","INCORRECT!","FALSE!","WRONG!","THINK TWICE!","TRY AGAIN!!"];
var ima=["","webcam-153319_640.png","keyboard-1409743_960_720.png","","usb-159770_960_720.png","","mouse-159568_960_720.png","headphones.jpg","",""];
var indexTag=0; actualAnswers=[]; dirMedia="peripheralsquiz_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";
