//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=12; attempts=0; attemptsMax=5;
var score=0; scoreMax=12; scoreInc=1; scoreDec=1
var typeGame=2;
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="CONGRATULATIONS!"; messageTime=""; messageError="WRONG!!"; messageAttempts="START AGAIN!!"; isShowMessage=false;
var urlOk=""; urlTime=""; urlError=""; urlAttempts="";
var goURLOk="_blank"; goURLTime="_blank"; goURLAttempts="_blank"; goURLError="_blank"; 
var consolidateSuccess=0; var consolidateScore=0;
borderOk="#008000"; borderTime="#FF0000";borderError="#FF0000"; borderAttempts="#FF0000";
var indexTXT=0; var txtC=['<img class="imaLeft" src="paintingsdescriptions_resources/media/antique-3840761_960_720.jpg" alt="Ima"  align="left"><p>\"The Starry Night\" is an oil on <input type="text" name="item1" id="item1" class="ardoraInput" > painting by the Dutch post-impressionist painter Vincent van Gogh, one of the most creative and <input type="text" name="item2" id="item2" class="ardoraInput" > artists who ever lived. </p><p> It was painted in 1889 following the breakdown during which he mutilated part of his own <input type="text" name="item3" id="item3" class="ardoraInput" > </p><p> It can be seen in the Museum of <input type="text" name="item4" id="item4" class="ardoraInput" > in New York. </p><p> </p>','<img class="imaRight" src="paintingsdescriptions_resources/media/mona-lisa-67506_960_720.jpg" alt="Ima"  align="right"><p>\"Mona Lisa\" is an <input type="text" name="item5" id="item5" class="ardoraInput" > painting by the Italian painter, inventor, sculptor, architect, and engineer Leonardo da Vinci. It is considered the world’s most-famous <input type="text" name="item6" id="item6" class="ardoraInput" > . It was painted sometime between 1503 and 1506, when Leonardo was living in Florence, and it is nowadays <input type="text" name="item7" id="item7" class="ardoraInput" > in the Louvre Museum, in Paris, </p><p> The woman in the <input type="text" name="item8" id="item8" class="ardoraInput" > is usually thought to be Lisa Gherardini, wife of a Florentine businessman named Francesco del Giocondo. </p><p>  </p><p> </p>','<img class="imaLeft" src="paintingsdescriptions_resources/media/800px-Las_Meninas__by_Diego_Vel__zquez__from_Prado_in_Google_Earth.jpg" alt="Ima"  align="left"><p>\"Las Meninas\" is a 1656 painting by Diego Velázquez, the leading <input type="text" name="item9" id="item9" class="ardoraInput" > of the Spanish Golden Age. </p><p> The painting shows a large room in the Royal Alcazar of Madrid. It is a portrait of Infanta Margarita, the daughter of King Philip IV, and his second wife Mariana of Austria. She is surrounded by her ladies, the family dog and two dwarves. To the left of Margarita we find Velázquez himself with a <input type="text" name="item10" id="item10" class="ardoraInput" > and an <input type="text" name="item11" id="item11" class="ardoraInput" >, in front of an enormous canvas. We can also see the King and Queen&#39;s <input type="text" name="item12" id="item12" class="ardoraInput" > in the mirror which hangs on the back wall. It is now exhibited in the Museo del Prado in Madrid. </p><p>  </p><p> </p>'];
var b=["MTA","MTE","OA","MTI","MQ","OQ","Mg","Mw","NA","NQ","Ng","Nw"];
var c=[10,5,8,11,6,6,8,3,10,3,8,9];
var answers=["cGFpbnRicnVzaA","ZWFzZWw","cG9ydHJhaXQ","cmVmbGVjdGlvbnM","Y2FudmFz","YXJ0aXN0","dGFsZW50ZWQ","ZWFy","TW9kZXJuIEFydA","b2ls","cGFpbnRpbmc","ZXhoaWJpdGVk"];
var a=["10","11","8","12","1","9","2","3","4","5","6","7"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="cGFpbnRpbmdzZGVzY3JpcHRpb25z"; 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 tiUD=true;
var fHelp="Verdana, Geneva, sans-serif";
colorText="#000000";colorButton="#CC9900";colorBack="#FFFFFF";colorSele="#808040";goURLNext=true;goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
