//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=1;
var score=0; scoreMax=12; scoreInc=1; scoreDec=1
var typeGame=0;
var tiTime=false;
var tiTimeType=0;
var tiButtonTime=true;
var textButtonTime="Comenzar";
var tiSuccesses=true;
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 fResp="Verdana, Geneva, sans-serif";
var fEnun="Verdana, Geneva, sans-serif";
var timeOnMessage=5; messageOk="Test finalizado. Bo traballo."; messageTime=""; messageError="Noooon!"; messageErrorG="Noooon!"; messageAttempts="Segundo fallo. Temos que volver a empezar."; isShowMessage=false;
var urlOk=""; urlTime=""; urlError=""; urlAttempts="";
var goURLOk="_blank"; goURLTime="_blank"; goURLAttempts="_blank"; goURLError="_blank"; 
borderOk="#008000"; borderTime="#FF0000";borderError="#FF0000"; borderAttempts="#FF0000";
var wordsGame="Z3Rlc3RFbmVyeGlh"; 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 tags=["1.- Foi un dos primeiros empregos da enerxía pola humanidade.","2.- O tipo de enerxía ligado á velocidade dun corpo é a enerxía...","3.- É imprescindible para a enerxía nuclear...","4.- Son propiedades da enerxía...","5.- As fontes de enerxía non renovables...","6.- O gas natural.","7.- Para a fabricación de plásticos é necesario o...","8.- Cando se consegue enerxía das mareas estamos falando de enerxía...","9.- A enerxía eólica precisa...","10.- Cando un vertido a un río provoca a morte da súa flora e a súa fauna principalmente vese afectada a","11.- As minas producen un impacto directo na...","12.- Un casa é sustentable cando..."];
var answers1=["MW8gbHVtZQ","MG8gZ2FuZG8","MGEgZWxlY3RyaWNpZGFkZQ","MG8gdmVudG8"];
var answers2=["MWNpbul0aWNh","MHF17W1pY2E","MGVs6WN0cmljYQ","MGNhbG9y7WZpY2E"];
var answers3=["MW8gdXJhbmlv","MG8gc29s","MG8gbW92ZW1lbnRvIGRvIGFpcmU","MGEgdGVtcGVyYXR1cmE"];
var answers4=["MVBhc2EgZHVucyBjb3Jwb3MgYSBvdXRyb3M","MVRyYW5zcPNydGFzZQ","MUFsbWFj6W5hc2U","MVRyYW5zZvNybWFzZQ","MU5vbiB0ZW4gbWFzYQ","MU5vbiBvY3VwYSBsdWdhcg"];
var answers5=["MUZvcm3hcm9uc2UgYSBwYXJ0aXIgZGUgc2VyZXMgdml2b3M","MFNvbiBpbmVzZ290YWJsZXM","MEFwcm92ZWl0YW4gZmVu821lbm9zIG5hdHVyYWlzLg","MEVtcHJlZ2FuIGEgYmlvbWFzYQ"];
var answers6=["MckgdW5oYSBmb250ZSBub24gcmVub3ZhYmxl","MMkgdW5oYSBmb250ZSByZW5vdmFibGU","MEFvIHNlciBuYXR1cmxhIOkgaW5lc2dvdGFibGU","MEZvcm1vdXNlIGEgcGFydGlyIGRlIHJlc3RvcyBkZSBjYXJi824"];
var answers7=["MXBldHLzbGVv","MGNhcmLzbg","MGdhcyBuYXR1cmFs"];
var answers8=["MW1hcmVvbW90cml6","MHhlb3Tpcm1pY2E","MGXzbGljYQ","MGJpb21hc2E","MHNvbGFy"];
var answers9=["MWRvcyBtb3ZlbWVudG9zIGRlIG1hc2FzIGRlIGFpcmU","MGRhIGx1eiBzb2xhcg","MGRvcyBtb3ZlbWVudG9zIGRlIGdyYW5kZXMgY2FudGlkYWRlcyBkZSBhdWdh"];
var answers10=["MWJpb3NmZXJh","MGF0bW9zZmVyYQ","MHhlb3NmZXJh"];
var answers11=["MXhlb3NmZXJh","MGF0bW9zZmVyYQ","MGJpb3NmZXJh"];
var answers12=["MWVzdOEgYmVuIGlsbGFkYSBlIGVtcHJlZ2EgZW5lcnjtYSByZW5vdmFibGVz","MHNvcG9ydGEgY2FscXVlcmEgaW5jbGVtZW5jaWEgZG8gdGVtcG8","MHVzYSBlbmVyeO1hIGVs6WN0cmljYQ","MHVzYSBlbmVyeO1hIG51Y2xlYXI"];
var ans=[answers1,answers2,answers3,answers4,answers5,answers6,answers7,answers8,answers9,answers10,answers11,answers12];
var err=["","","","","","","","","","","",""];
var ima=["","","","","","","","","","","",""];
var mp4=["","","","","","","","","","","",""];
var ogv=["","","","","","","","","","","",""];
var indexTag=0; actualAnswers=[]; dirMedia="gtestEnerxia_resources/media/";
var tiRandOrder=false;
var iT=0;var r_order=[];
colorText="#000000";colorButton="#D5D200";colorBack="#FFFFFF";colorSele="#DC5A15";goURLRepeat=true;tiAval=true;
fMenssage="Verdana, Geneva, sans-serif";fActi="Verdana, Geneva, sans-serif";fEnun="Verdana, Geneva, sans-serif";
