//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=2;
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=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="EXCELLENT!!!"; messageTime=""; messageError="NO WAY!!!"; 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="leonardobiography_resources/media/leonardo.jpg" alt="Ima"  align="left"><p>Leonardo da Vinci was one of the most brilliant men to ever live. He was a scientific, musician, inventor, engineer, anatomist, and <input type="text" name="item1" id="item1" class="ardoraInput" > among other things. He was born on April 15, 1452 in <input type="text" name="item2" id="item2" class="ardoraInput" >, Italy. and was the illegitimate (born to unmarried parents) son of Ser Piero da Vinci, a prominent notary of Florence, and a local woman, Caterina. </p><p> When he was 15 years old he became an <input type="text" name="item3" id="item3" class="ardoraInput" > at the renowned <input type="text" name="item4" id="item4" class="ardoraInput" > of Andrea del Verrochio in Florence. Even as an apprentice Leonardo demonstrated incredible artistic talent. There, he learned a wide breadth of technical skills including metalworking, leather arts, carpentry, drawing, painting and sculpting. </p><p> </p>','<p>About 1478 Leonardo set up his own studio. In 1481 he received a major church commission for an <input type="text" name="item5" id="item5" class="ardoraInput" >, the \"Adoration of the Magi\", which was left unfinished because Leonardo left Florence in 1482 to accept the post of court artist to the Duke of Milan. Leonardo presented himself to the Duke of Milan as skilled in many <input type="text" name="item6" id="item6" class="ardoraInput" >, but particularly in military engineering and he <input type="text" name="item7" id="item7" class="ardoraInput" > several war machines. Leonardo&#39;s first Milanese painting is the altarpiece \"Virgin of the Rocks\". It makes use of a respected tradition in which the Holy Family is shown in a cave. The other surviving painting of Leonardo&#39;s Milanese years is \"The Last Supper\" (1495 -1497)When the Duke of Milan was overthrown by the French invasion in 1499 and after visiting Venice and Mantua, he returned to Florence. </p><p>  </p><p> </p>','<p>In Florence he was received as a great man. Florentine painters of the generation immediately following Leonardo were excited by his modern <input type="text" name="item8" id="item8" class="ardoraInput" >, with which they were familiar through the unfinished \"Adoration of the Magi\". Leonardo had a powerful effect on the younger group of artists. In his works of these years, the concentration is mostly on <input type="text" name="item9" id="item9" class="ardoraInput" > of people, as in the \"Mona Lisa\".  Leonardo was called to Milan in 1506 by the French governor in charge to work on an equestrian statue, and it was there where he started his <input type="text" name="item10" id="item10" class="ardoraInput" > observation in several fields: anatomy, geology, astronomy ...  He died on May 2, 1519 in Amboise, Touraine. </p><p>  </p><p> </p>'];
var b=["Mw","NA","NQ","MQ","Ng","Nw","OA","OQ","Mg","MTA"];
var c=[10,8,10,7,6,8,7,9,5,10];
var answers=["YXBwcmVudGljZQ","d29ya3Nob3A","YWx0YXJwaWVjZQ","cGFpbnRlcg","Y3JhZnRz","c2tldGNoZWQ","bWV0aG9kcw","cG9ydHJhaXRz","VmluY2k","c2NpZW50aWZpYw"];
var a=["3","4","5","1","6","7","8","9","2","10"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="bGVvbmFyZG9iaW9ncmFwaHk"; 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";
