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');
	}

var win = null;

function abrirVentana(url, width, height, name) {
	if (name==null) {name='nueva_ventana';}
	var str = "height=" + height + ",innerHeight=" + height;
	str += ",width=" + width + ",innerWidth=" + width;
	if (window.screen) {
		var ah = screen.availHeight - 30;
		var aw = screen.availWidth - 10;
		var xc = (aw - width) / 2;
		var yc = (ah - height) / 2;
		str += ",left=" + xc + ",screenX=" + xc;
		str += ",top=" + yc + ",screenY=" + yc;
	}

	str += ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no";

	objwin=window.open(url, name, str);
	objwin.focus();
}