//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=150;timeIni=150; timeBon=20;
var successes=0; successesMax=8; attempts=0; attemptsMax=8;
var score=0;scoreMax=10;scoreInc=10; scoreDec=0;
var typeGame=0;
var tiTime=true;
var tiTimeType=0;
var tiButtonTime=true;
var textButtonTime="Click here to start";
var tiSuccesses=false;
var tiAttempts=false;
var tiScore=false;
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="TIME OVER!! START AGAIN!!"; messageError=""; messageErrorG=""; messageAttempts="START AGAIN!!"; isShowMessage=false;
var urlOk=""; urlTime=""; urlError=""; urlAttempts="";
var goURLOk="_blank"; goURLTime="_blank"; goURLAttempts="_blank"; goURLError="_blank"; 
borderOk="#008000"; borderTime="#FF0000";borderError=""; borderAttempts="#FF0000";
var wordsGame="bWVtb3J5bGlzdGVuaW5n"; 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 wo1=["","","","","","","",""];im1=["speaker-2488096_960_720.png","speaker-2488096_960_720.png","speaker-2488096_960_720.png","speaker-2488096_960_720.png","speaker-2488096_960_720.png","speaker-2488096_960_720.png","speaker-2488096_960_720.png","speaker-2488096_960_720.png"];mp31=["MTA","MTE","MTI","MTM","MTQ","MTU","MTY","MTc"];
var wo2=["","","","","","","",""];im2=["joystick-23234_960_720.png","keyboard-1409743_960_720.png","mouse-159568_960_720.png","webcam-153319_640.png","headphones-375341_640.png","inkjet-147674_960_720.png","usb-159770_960_720.png","scanner-146465_960_720.png"];mp32=["","","","","","","",""];
var cols=4; rows=4; items=8; itp=["MTA","MTE","MTI","MTM","MTQ","MTU","MTY","MTc"]; pos=["MjA","MjU","MjM","MjQ","MjY","Mjc","MjE","MjI"];
var boardGame=[["","","",""],["","","",""],["","","",""],["","","",""]]; dirMedia="memorylistening_resources/media/"
var open1R=""; open1C=""; open2R=""; open2C=""; ansDo=0;
var a;
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";
