function getE(elem)
{
	return document.getElementById(elem);
}

var tecs=
{
	ocultarCapa:function(capa)
	{
		var c=getE(capa);
		if(c!=null)
		{
			c.style.display="none";
		}
	},

	mostrarCapa:function(capa)
	{
		var c=getE(capa);
		if(c!=null)
		{
			c.style.display="block";
		}
	}
		
};

var menuSup=
{
	imageRight:'',
	imageDown:'',
		
	down:function(id)
	{
		getE('imgMenu'+id).src=this.imageDown;
	},
	
	right:function(id)
	{
		getE('imgMenu'+id).src=this.imageRight;
	}

}


var alerta=
{
	mostrar:function(elemento)
	{
		tecs.mostrarCapa("alerta");
		return false;
	},
	
	ocultar:function(elemento)
	{
		tecs.ocultarCapa("alerta");
	}
}
function popupayuda()
{
	window.open('http://login.tecs.es','TECS','width=300,height=300,resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=0,scrollbar=no');
}

function mostrarAlerta(){
	document.getElementById('alerta').style.display="block";
}

function ocultarAlerta(){
	document.getElementById('alerta').style.display="none";
}