//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=181;timeIni=181; timeBon=25;
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="PRESS 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="GREAT!"; messageTime="TIME OVER!!"; 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="bWVtb3J5Z2FtZWxpc3Q"; 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=["DRAWING","GRAFFITI","LANDSCAPE","PHOTOGRAPH","PORTRAIT","POTTERY","SCULPTURE","STILL LIFE"];im1=["","","","","","","",""];mp31=["","","","","","","",""];
var wo2=["","","","","","","",""];im2=["loudspeaker-309554_960_720.png","loudspeaker-309554_960_720.png","loudspeaker-309554_960_720.png","loudspeaker-309554_960_720.png","loudspeaker-309554_960_720.png","loudspeaker-309554_960_720.png","loudspeaker-309554_960_720.png","loudspeaker-309554_960_720.png"];mp32=["MjI","MjA","Mjc","MjM","MjE","MjQ","MjU","MjY"];
var cols=4; rows=4; items=8; itp=["MTA","MTE","MTI","MTM","MTQ","MTU","MTY","MTc"]; pos=["MjE","MjQ","MjA","MjM","MjU","MjY","Mjc","MjI"];
var boardGame=[["","","",""],["","","",""],["","","",""],["","","",""]]; dirMedia="memorygamelist_resources/media/"
var open1R=""; open1C=""; open2R=""; open2C=""; ansDo=0;
var a;
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";
