function mOvr(src,clrOver) {
	if (!src.contains(event.fromElement)) {
		src.style.cursor = 'hand';
		src.style.backgroundColor = clrOver;
		if (src.children.tags('A')[0]) src.children.tags('A')[0].style.color = "#2D77BE";
	}
}
function mOut(src,clrOut) {
	if (!src.contains(event.toElement)) {
		src.style.cursor = 'default';
		src.style.backgroundColor = clrOut;
		if (src.children.tags('A')[0]) src.children.tags('A')[0].style.color = "#003466";
	}
}

function mClk(src) { src.children.tags('A')[0].click(); };
  
function bookmark (miurl,mitit) {
var ver		= navigator.appName
var num		= parseInt(navigator.appVersion)
	if ((ver == "Microsoft Internet Explorer")&&(num >= 4))	{
		window.external.AddFavorite(miurl,mitit)
	}
	else 	{
		alert("Esta opción sólo es valida usando el Internet Explorer.");
	}
}; 
function mipop(url,width,heigh,nm) {
	if (width =="") width=620;
	if (heigh =="") heigh=460;
	if (nm =="") nm = "ventana";
	var mipop = window.open(url,nm,"resizable=yes,scrollbars="+ scroll + ",width="+ width + ",height="+ heigh +",top=1,left=1")
	mipop.focus();
};

function VaciaCampo(VaCpo,DefVal) {
	if (VaCpo.value == DefVal) { VaCpo.value = ""; }
}

function Salto(Campo) {
	if (Campo.selectedIndex != 0) {
		var URL = Campo.options[Campo.selectedIndex].value;
		window.location.href = URL;
	}
}
// Menu
var tiempoabierto;
function ShowMenu(MenuId) {
	if (typeof(document.getElementById('m1'))=="undefined") {  return;  }
	var navegador = navigator.appName;
	var version	= parseFloat(navigator.appVersion.indexOf("MSIE")>0?navigator.appVersion.split(";")[1].substr(6):navigator.appVersion);
	if ((navegador == "Netscape")&&(version < 6)) {  return; }
	if ((navegador == "Microsoft Internet Explorer")&&(version < 5)) {  return; }
	if (tiempoabierto != "") { window.clearTimeout(tiempoabierto); }
	document.getElementById('m1').style.display = "inline";
};

function CerrarMenus() {
	document.getElementById('m1').style.display = "none";
}

function CerrarMenu() {
	tiempoabierto = window.setTimeout(CerrarMenus, 300);
};

function mantenerMenu() {
	if (tiempoabierto != "") { window.clearTimeout(tiempoabierto); }
}
function AbreClick() {
	if (document.getElementById('m1').style.display == "none") { document.getElementById('m1').style.display = "inline"; }
	else { document.getElementById('m1').style.display = "none"; }
}
//Fin menu de dest
