//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=1; scoWrongDo=1; 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="AWESOME!"; messageTime=""; messageError=""; messageErrorG=""; messageAttempts="START AGAIN! YOU'VE MADE TOO MANY MISTAKES"; 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="cXVpenJlZnVnZWVz"; 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.- Syria has been inhabited for at least 10,000 years.","2.- An estimated 11 million Syrians have fled their homes.","3.- What is the most populous city in Syria?","4.- How is it called the refugee camp in Calais?","5.- The Arab states of the Persian Gulf have not accepted any Syrian refugees.","6.- All over the West, support for asylum seekers has mostly come from politicians, not from citizens.","7.- What is the country that hosts the largest number of refugees per inhabitant?","8.- Approximately, how many people died trying to cross the Mediterranean in 2015?","9.- Which country holds the largest number of refugees?","10.- Germany announced that it would accept all Syrian refugees but a few days later it backed out."];
var answers1=["MVRydWU","MEZhbHNl"];
var answers2=["MVRydWU","MEZhbHNl"];
var answers3=["MUFsZXBwbw","MERhbWFzY3Vz","MEFsLUhhc2FrYWg"];
var answers4=["MVRoZSBqdW5nbGU","MFRoZSBQYXJhZGlzZQ","MFRoZSBKYWls"];
var answers5=["MVRydWU","MEZhbHNl"];
var answers6=["MUZhbHNl","MFRydWU"];
var answers7=["MUxlYmFub24","MFR1cmtleQ","MEdyZWVjZQ"];
var answers8=["MUFib3V0IDMsNzAw","MEFib3V0IDUsMDAw","MEFib3V0IDEsNTAw"];
var answers9=["MVR1cmtleQ","MEdlcm1hbnk","MFN3ZWRlbg"];
var answers10=["MVRydWU","MEZhbHNl"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10];
var err=["WRONG!","OOOPS!","TRY AGAIN!","ARE YOU SURE?","OUCH!","OOOPS!!","THINK TWICE!","NOPE!","WRONG!","BAD CHOICE!"];
var ima=["","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="quizrefugees_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";
