//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=5;
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=1; scoWrongDo=1; 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="BRAVO!"; 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="cmVmdWdlZXNjcm9zc3dvcmQ"; 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=[["Og","Og","Og","Og","Og","Og","Og","Qg","Tw","Ug","RA","RQ","Ug"],["Og","Og","SQ","Og","Og","Og","Og","Og","Og","Og","Og","Og","RQ"],["Og","Og","TQ","SQ","Tg","Tw","Ug","SQ","VA","WQ","Og","Og","Rg"],["Og","Og","TQ","Og","Og","Og","Og","Og","Og","Og","Og","Og","VQ"],["Og","RA","SQ","Uw","UA","TA","QQ","Qw","RQ","Og","Og","Og","Rw"],["Og","Og","Rw","Og","Og","Og","Uw","Og","Og","Rg","TA","RQ","RQ"],["Og","Og","Ug","Og","Og","Og","WQ","Og","Og","Og","Og","Og","RQ"],["Og","Og","QQ","Og","Og","QQ","TA","RQ","UA","UA","Tw","Og","Og"],["Og","Og","Tg","Og","Og","Og","VQ","Og","Og","Og","Og","Og","Og"],["Og","Og","VA","Og","Og","Og","TQ","Og","Og","Og","Og","Og","Og"],["Og","Og","Og","Og","Og","Og","Og","Og","Og","Og","Og","Og","Og"]];
var x1=[8,2,10,6,13,3,7,3];
var y1=[1,5,6,8,1,2,5,3];
var x2=[13,9,13,11,13,3,7,10];
var y2=[1,5,6,8,7,10,10,3];
var imaCW=["","","","","","","",""];
var audioCW=["","","","","","","",""];
var defCW=["A line separating one country from another","To force people to move away from their home to another place","Run away quickly","The most populous city in Syria","Someone who has been forced to leave a country because of war or for religious or political reasons","Someone who comes to live in a country from another country","Protection given by a government to someone who has left another country in order to escape being harmed","A part of a population that is different in race, religion, or culture from most of the population"];
var colNum=13;
var rowNum=11;
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";
