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;
}
function Favoritos(){
	var is_4up = parseInt(navigator.appVersion);
	var is_mac   = navigator.userAgent.toLowerCase().indexOf("mac")!=-1;
	var is_ie   = navigator.userAgent.toLowerCase().indexOf("msie")!=-1;
	var thePage = location.href;
	if (thePage.lastIndexOf('#')!=-1)
		thePage = thePage.substring(0,thePage.lastIndexOf('#'));
	if (is_ie && is_4up && !is_mac)
		window.external.AddFavorite(thePage,document.title);
	else if (is_ie || document.images)
		booker_hp = window.open(thePage,'booker_','menubar,width=325,height=100,left=140,top=60');
	//booker_hp.focus();
	}
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;
}