function swapTable(t)
{
	tab = buscarObjeto(t);
	if (tab.style)
		tab = tab.style;

	if (tab.display == 'block') {
			tab.display = 'none';
	} else {
		tab.display = 'block';
	}
}

function swapTableCerrar(t)
{
	tab = buscarObjeto(t);
	if (tab.style)
		tab = tab.style;

	if (tab.display == 'block') {
		tab.display = 'none';
	}
}

function buscarObjeto(nombre)
{
	if (document.layers) {
		obj = document.layers[nombre];
	} else if (document.all) {
		obj = document.all[nombre];
	} else if (document.getElementById) {
		obj = document.getElementById(nombre);
	}
	return obj;
}

function ES_mOvr(src,colorOver,textoStatus) {
	if (navigator.appName=='Microsoft Internet Explorer') {
		if (!src.contains(event.fromElement)) {
		src.style.cursor = 'hand';
		src.bgColor = colorOver;
		window.status = textoStatus;
	} }
}

function ES_mOut(src,colorIn) {
	if (navigator.appName=='Microsoft Internet Explorer') {
		if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.bgColor = colorIn;
		window.status = '';
	} }
}

function ES_linkCelda(direccion) {
	location.href=direccion;
}
