//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=15; attempts=0; attemptsMax=4;
var score=0; scoreMax=15; scoreInc=1; 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="AWESOME!!"; messageTime=""; messageError="INCORRECT!"; 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=['<p>After the Sputnik launch, many americans thought they were going to lose the cold <input type="text" name="item1" id="item1" class="ardoraDropInput" readonly>. So, the. government and the universities all over the country started working together to make a system that would allow them to share <input type="text" name="item2" id="item2" class="ardoraDropInput" readonly>. They created an early form of the Internet called <input type="text" name="item3" id="item3" class="ardoraDropInput" readonly> in 1969.  </p><p> In 1972, the first \"e-mail\" idea was developed by Ray Tomlinson, as a way to send a <input type="text" name="item4" id="item4" class="ardoraDropInput" readonly> from one computer to another. He was also the responsible for using the \"@\" <input type="text" name="item5" id="item5" class="ardoraDropInput" readonly> to separate the user name from the computer name (which later on became the domain name).</p>','<p>Months later, the NCP (Network Control Protocol) was introduced, in order for computers to <input type="text" name="item6" id="item6" class="ardoraDropInput" readonly> with each other.. However, it was very difficult for all the computers to integrate into a single \"internet\". The revolution came by the end of the 1970s, when a computer <input type="text" name="item7" id="item7" class="ardoraDropInput" readonly>, Vinton Cerf, developed a way for all of the computers on all of the world’s mini-networks to communicate with one another. He called his invention \"Transmission Control <input type="text" name="item8" id="item8" class="ardoraDropInput" readonly>\" or TCP. (Later, he added another protocol, known as \"IP\" or \"Internet Protocol\". This protocol transformed the Internet into a <input type="text" name="item9" id="item9" class="ardoraDropInput" readonly> network. Throughout the 1980s, researchers and scientists used it to send <input type="text" name="item10" id="item10" class="ardoraDropInput" readonly> and data.</p>','<p>In 1991 the Internet changed definitely. That year, a computer <input type="text" name="item11" id="item11" class="ardoraDropInput" readonly> in Switzerland named Tim Berners-Lee, who was trying to find a new way for scientists to easily share the data from their experiments.  introduced the concept of the \"<input type="text" name="item12" id="item12" class="ardoraDropInput" readonly>\": an Internet that was not simply a way to send files from one place to another but was itself a \"web\" of information that anyone on the Internet could check. Berners-Lee implemented the three main <input type="text" name="item13" id="item13" class="ardoraDropInput" readonly> that we still use today (HTML, URL and HTTP). Besides, he created the first <input type="text" name="item14" id="item14" class="ardoraDropInput" readonly>, the first web <input type="text" name="item15" id="item15" class="ardoraDropInput" readonly> and the first webserver. For all these reasons, we can say that Tim Berners-Lee created the Internet as we know it currently.</p>'];
var answers=["programmer","communicate","website","technologies","browser","World Wide Web","war","information","ARPANET","files","message","symbol","scientist","Protocol","worldwide"];
var a=["MTE","Ng","MTQ","MTM","MTU","MTI","MQ","Mg","Mw","MTA","NA","NQ","Nw","OA","OQ"];
var itemCorr=["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"];
var itemHelp=["","","","","","","","","","","","","","",""];
var animationX=[]; animationY=[]; animationPosX=[]; animationPosY=[]; animationLetter=[];
var wordsGame="aW50ZXJuZXQ"; 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 fHelp="Verdana, Geneva, sans-serif";
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";
