//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=6; attempts=0; attemptsMax=1;
var score=0; scoreMax=6; 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="¡ Perfecto! Aquí finalizamos esta visita a San Francisco"; messageTime=""; messageError="Fíjate bien."; messageErrorG="Fíjate bien."; messageAttempts="Segundo fallo. Volvemos a empezar."; 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="MDhzbmFGcmFuY2lzY28"; 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.- Al Capone era...","2.- California fue descubierta para los europeos por","3.- Misión Dolores es","4.- Con la fiebre del oro la población aumentó por...","5.- La ONU se creó a raíz de...","6.- En 1990 se asientan en San Francisco empresas..."];
var answers1=["MXVuIHJlY2x1c28gZGUgQWxjYXRyYXo","MHVuIGplc3VpdGE","MHVuIGZyYW5jaXNjYW5v","MGVsIHF1ZSBleHB1bHPzIGEgbG9zIGplc3VpdGFz","MGVsIHF1ZSBmdW5k8yBZZXJiYSBCdWVuYQ"];
var answers2=["MUp1YW4gUm9kcu1ndWV6IENhYnJpbGxv","MENhcmxvcyBJSUk","MEdhc3BhciBkZSBQb3J0b2zh","MEdlb3JnZSBWYW5jb3V2ZXI"];
var answers3=["MWNvbW8gc2UgbGxhbWEgaG95IGxhIG1pc2nzbiBmdW5kYWRhIHBvciBsb3MgZnJhbmNpc2Nhbm9z","MGVsIGx1Z2FyIGVuIGVsIHF1ZSBob3kgc2UgYXNpZW50YSBlbCBHb2xkZW4gR2F0ZQ","MGVsIGx1Z2FyIHF1ZSBmdW5k8yBHZW9yZ2UgVmFuY291dmVy","MHVuYSBwcmlzafNuIGRlIG3heGltYSBzZWd1cmlkYWQgc2l0dWFkYSBlbiB1bmEgaXNsYQ"];
var answers4=["MWxhIGFmbHVlbmNpYSBkZSBnZW50ZSBwYXJhIGVuY29udHJhciBvcm8","MGxhIHByZXNlbmNpYSBkZSBncmFuZGVzIGFzdGlsbGVyb3MgeSBsYSBjb25zdHJ1Y2PzbiBkZSBuYXbtb3M","MGxvIGJhcmF0byBxdWUgc2UgcG9k7WEgY29tcHJhciBvcm8gZW4gYXF1ZWxsYSBjaXVkYWQ","MGxhIHByZXNlbmNpYSBkZSB1biBu+m1lcm8gaW1wb3J0YW50ZSBkZSBjaGlub3M"];
var answers5=["MWxhIHJldW5p824gZGUgdmFyaWFzIG5hY2lvbmVzIGFsIGZpbmFsaXphciBsYSBzZWd1bmRhIGd1ZXJyYSBtdW5kaWFs","MGxhIGV4aXN0ZW5jaWEgZGVsIG9ybyBlbiBTYW4gRnJhbmNpc2NvIHkgIHN1IGZhbW9zYSBmaWVicmUu","MHVuIHRlcnJlbW90byBtdXkgZ3JhbmRlIGVuIGxhIGNpdWRhZCBxdWUgcHVzbyBkZSBhY3VlcmRvIGEgbXVjaGFzIG5hY2lvbmVz","MGxhIHRlcm1pbmFjafNuIGRlbCBjYW5hbCBkZSBQYW5hbeE"];
var answers6=["MXRlY25vbPNnaWNhcw","MGN1bHR1cmFsZXM","MGFncu1jb2xhcw","MHJlbGFjaW9uYWRhcyBjb24gZWwgb3JvIHkgbGEgcGxhdGE","MGRlIGZhYnJpY2FjafNuIGRlIGdyYW5kZXMgYnVxdWVz"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6];
var err=["","","","","",""];
var ima=["","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="08snaFrancisco_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#D5D200";colorBack="#FFFFFF";colorSele="#DC5A15";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
