//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="Muy bien. Pasamos a la segunda."; messageTime=""; messageError="Fíjate bien."; messageErrorG="Fíjate bien."; 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="MDFyb21hbmE"; 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 egipcios inventaron...","2.- Los romanos disponían de su propio aparato llamado...","3.- La romana ya existía...","4.- El funcionamiento de la romana está basado...","5.- Los dos brazos de la romana son...","6.- El producto a pesar se cuelga...","7.- El contrapeso...","8.- El contrapeso...","9.- La romana es un aparato..."];
var answers1=["MXVuYSBiYWxhbnphIGNvbiBsb3MgYnJhem9zIHNpbel0cmljb3M","MHVuYSBiYWxhbnphIGNvbiBsb3MgYnJhem9zIGFzaW3pdHJpY29z","MGVsIGdhbmNobyBkZSBsYSBiYWxhbnph","MGxvcyBicmF6b3MgZGUgbGEgYmFsYW56YQ"];
var answers2=["MXJvbWFuYSBkZSBnYW5jaG8","MGdhbmNobyBkZSBsYSByb21hbmE","MGFlcXVpcG9uZGl1bQ","MGNvbnRyYXBlc28gZGUgaGllcnJv"];
var answers3=["MTIwMCBh8W9zIGFudGVzIGRlIENyaXN0bw","MDUwMDAgYfFvcyBhbnRlcyBkZSBDcmlzdG8","MGVuIGVsIHNpZ2xvIElJIGRlcHXpcyBkZSBDcmlzdG8","MGVuIGVsIG11bmRvIGVnaXBjaW8"];
var answers4=["MWVuIGxhIGxleSBkZSBsYSBwYWxhbmNh","MGVuIGxhIGJhbGFuemEgZWdpcGNpYQ","MGVuIGVsIGdhbmNobw","MGVuIGxhIHNpbWV0cu1h"];
var answers5=["MW5vIHNpbel0cmljb3M","MHNpbel0cmljb3M","MGlndWFsZXM","MHBlcXVl8W9z"];
var answers6=["MWRlbCBsYWRvIG3hcyBjb3J0bw","MGRlbCBsYWRvIG3hcyBsYXJnbw","MGVuIGVsIGNvbnRyYXBlc28","MGVuIGVsIGFlcXVpcG9uZGl1bQ"];
var answers7=["MXNlIGNvbG9jYWJhIGVuIGVsIGJyYXpvIG3hcyBsYXJnbw","MHNlIGNvbG9jYWJhIGVuIGVsIGJyYXpvIG3hcyBjb3J0bw","MHNlIGdyYWR1YWJhIHNlZ/puIGVsIHByb2R1Y3RvIGEgcGVzYXI"];
var answers8=["MW5vcm1hbG1lbnRlIGVyYSBkZSBoaWVycm8gbWFjaXpv","MG5vcm1hbG1lbnRlIGVyYSBlbiBsYXTtbg","MG5vIGVyYSBwcmVjaXNv","MGVyYSBpbm94aWRhYmxl"];
var answers9=["MWRlIHBvY2EgcHJlY2lzafNu","MGRlIGdyYW4gcHJlY2lzafNu","MG11eSB1c2FkbyBhY3R1YWxtZW50ZQ"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9];
var err=["","","","","","","","",""];
var ima=["","","","","","","","",""];
var mp4=["","","","","","","","",""];
var ogv=["","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="01romana_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#408053";colorBack="#FFFFFF";colorSele="#E3EEEC";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
