//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=20; attempts=0; attemptsMax=3;
var score=0; scoreMax=1; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=true;
var tiTimeType=0;
var tiButtonTime=false;
var textButtonTime="Comenzar";
var tiSuccesses=true;
var tiAttempts=true;
var tiScore=true;
var startTime;
var colorBack="#AAFFAA"; colorButton="#FEF885"; colorText="#000000"; colorSele="#457E46";
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=3; messageOk="FELICIDADES"; messageTime="ACABOU O TEMPO, COMEZA DE NOVO"; messageError="NON, NON"; messageErrorG="NON, NON"; messageAttempts="DEMASIADOS ERROS, VOLVE INTENTALO"; 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="ZXgxMmxpcmljYQ"; 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 joinPar=[["MiB2ZXJzb3M", "cGFyZWFkbw"],["cGFyZWFkbw", "QUEgb3UgYWE"],["MyB2ZXJzb3M", "dGVyY2V0bw"],["dGVyY2V0bw", "QSAtIEE"],["NCB2ZXJzb3M", "Y3VhcnRldG8"],["NCB2ZXJzb3M", "c2VydmVudGVzaW8"],["NCB2ZXJzb3M", "cmVkb25kaWxsYQ"],["NCB2ZXJzb3M", "Y3VhcnRldGE"],["NCB2ZXJzb3M", "Y29wbGE"],["NSB2ZXJzb3M", "bGlyYQ"],["NSB2ZXJzb3M", "cXVpbnRldG8"],["NSB2ZXJzb3M", "cXVpbnRpbGxh"],["Y3VhcnRldG8", "QUJCQQ"],["c2VydmVudGVzaW8", "QUJBQg"],["cmVkb25kaWxsYQ", "YWJiYQ"],["Y3VhcnRldGE", "YWJhYg"],["Y29wbGE", "LSBhIC0gYQ"],["bGlyYQ", "N2EgIDExQiAgN2EgIDdiICAxMUI"],["cXVpbnRldG8", "QUJBQkE"],["cXVpbnRpbGxh", "YWJhYmE"]];
var c=[[8,7],[7,8],[8,7],[7,5],[8,8],[8,11],[8,10],[8,8],[8,5],[8,4],[8,8],[8,9],[8,4],[11,4],[10,4],[8,4],[5,7],[4,20],[8,5],[9,5]];
var con1=["2 versos","3 versos","4 versos","5 versos"];
var con2=["pareado","terceto","cuarteto","serventesio","redondilla","cuarteta","copla","lira","quinteto","quintilla"];
var con3=["AA ou aa","A - A","ABBA","ABAB","abba","abab","- a - a","7a  11B  7a  7b  11B","ABABA","ababa"];
var sel1=""; join1=[]; join2=[];
