//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=5; attempts=0; attemptsMax=5;
var score=0; scoreMax=10; scoreInc=2; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
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=0; scoWrongDo=0; scoMessage=""; scoPtos=10;
var fMenssage="Verdana, Geneva, sans-serif";
var fActi="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="BRAVO!!"; messageTime=""; messageError="WRONG!!"; messageErrorG="WRONG!!"; 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 diSent=["SW1taWdyYW50","UmVmdWdlZQ","UG92ZXJ0eQ","U2hlbHRlcg","QXN5bHVt"];
var diSent2=["SU1NSUdSQU5U","cmVmdWdlZQ","cG92ZXJ0eQ","U0hFTFRFUg","YXN5bHVt"];
var diSent3=["aW1taWdyYW50","UkVGVUdFRQ","UE9WRVJUWQ","c2hlbHRlcg","QVNZTFVN"];
var diSent4=["SW1taWdyYW50Lg","UkVGVUdFRS4","UG92ZXJ0eS4","U2hlbHRlci4","QXN5bHVtLg"];
var diSent5=["SU1NSUdSQU5ULg","UmVmdWdlZS4","UE9WRVJUWS4","U0hFTFRFUi4","QVNZTFVNLg"];
var c=["9","7","7","7","6"];
var c2=["9","7","7","7","6"];
var c3=["9","7","7","7","6"];
var c4=["10","8","8","8","7"];
var c5=["10","8","8","8","7"];
var wordsGame="ZGljdGF0aW9ud3Jk"; 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 srcBSound="dictationwrd_resources/media/sound.png"; var indexGame=0; var tiAudio=false; var scrMedia="dictationwrd_resources/media/";
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";
