//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=1; attempts=0; attemptsMax=4;
var score=0; scoreMax=10; scoreInc=10; 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 tiAudio=false;
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 fDefs="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="FANTASTIC!!"; messageTime=""; messageError="TRY AGAIN!!"; messageErrorG="TRY AGAIN!!"; 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="cmVuYWlzc2FuY2Vjcm9zc3dvcmQ"; 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 col=0; row=0; writeDir=0;
var cw=[["TQ","SQ","Qw","SA","RQ","TA","QQ","Tg","Rw","RQ","TA","Tw"],["Og","VA","Og","Og","Og","Og","Og","Og","Og","Og","Og","Og"],["Og","QQ","Og","Og","Og","Og","Og","TA","Og","Og","SA","Og"],["Rg","TA","Tw","Ug","RQ","Tg","Qw","RQ","Og","Uw","VQ","Tg"],["Og","WQ","Og","Og","Og","Og","Og","Tw","Og","Og","TQ","Og"],["Og","Og","Og","Og","Og","Og","Og","Tg","Og","Og","QQ","Og"],["Og","Og","Og","Og","TQ","Og","Og","QQ","Og","Og","Tg","Og"],["TA","VQ","VA","SA","RQ","Ug","Og","Ug","Og","Og","SQ","Og"],["Og","Og","Og","Og","RA","Og","Og","RA","Og","Og","Uw","Og"],["Og","Rw","QQ","TA","SQ","TA","RQ","Tw","Og","Og","TQ","Og"],["Og","Og","Og","Og","Qw","Og","Og","Og","Og","Og","Og","Og"],["Og","Ug","RQ","Qg","SQ","Ug","VA","SA","Og","Og","Og","Og"]];
var x1=[1,1,10,1,2,2,2,8,11,5];
var y1=[1,4,4,8,10,12,1,3,3,7];
var x2=[12,8,12,6,8,8,2,8,11,5];
var y2=[1,4,4,8,10,12,5,10,10,12];
var imaCW=["","","","","","","","","",""];
var audioCW=["","","","","","","","","",""];
var defCW=["This sculptor, architect, and painter is famous for his frescos on the ceiling of the Sistine Chapel","Brunelleschi was famous for architecting the dome of the Cathedral of _______","Copernicus said this was the center of the universe","Martin ____,  began the reformation in the early sixteenth century","This astronomer made many great discoveries including the moons of Jupiter","English word for \"Renaissance\"","Country where the Renaissance began","He painted \"The Last Supper\"","Philosophy that said life could be enjoyable and comfortable","This family’s support of the arts and humanities made Florence into the cradle of the Renaissance"];
var colNum=12;
var rowNum=12;
colorText="#000000";colorButton="#CC9900";colorBack="#FFFFFF";colorSele="#808040";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
