function fwLoadMenus() {
  if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",210,15,"Verdana, Arial, Helvetica, sans-serif",10,"#666666","#666666","#ffffff","#cccccc","#eeeeee");
  fw_menu_0.addMenuItem("¿Qué es Exactio?","location='../producto/quees.html'");
  fw_menu_0.addMenuItem("Características","location='../producto/caract.html'");
  fw_menu_0.addMenuItem("Requerimientos T&eacute;cnicos","location='../producto/requer.html'");
  fw_menu_0.addMenuItem("Beneficios Funcionales","location='../producto/benef.html'");
  fw_menu_0.addMenuItem("¿Quién trae Exactio al mercado?","location='../producto/quien.html'");
  //fw_menu_0.addMenuItem("¿Cómo adquirir Exactio?","location='../producto/comprar.html'");
  fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu();
  window.fw_menu_1 = new Menu("root",0,0,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#ffffff","#ffffff","#eeeeee");
 // fw_menu_1.addMenuItem("Implementaci&oacute;n","location='../servicios/serv.html'");
  //fw_menu_1.addMenuItem("Implementaci&oacute;n","location='../servicios/serv.html'");
  //fw_menu_1.addMenuItem("Capacitaci&oacute;n","location='../servicios/serv.html#capac'");
  //fw_menu_1.addMenuItem("Migraci&oacute;n de datos","location='../servicios/serv.html#migr'");
  //fw_menu_1.addMenuItem("Adaptaci&oacute;n","location='../servicios/serv.html#adapt'");
  //fw_menu_1.addMenuItem("Soporte y actualizaciones","location='../servicios/serv.html#sop'");
  //fw_menu_1.hideOnMouseOut=true;
 window.fw_menu_2 = new Menu("root",165,15,"Verdana, Arial, Helvetica, sans-serif",10,"#666666","#666666","#ffffff","#cccccc","#eeeeee");
	fw_menu_2.addMenuItem("Opciones de Soporte","location='../soporte/soporte.html'");
	fw_menu_2.addMenuItem("Bajar Actualizaciones","location='javascript:loadPopup()'");
	fw_menu_2.addMenuItem("Reportar Errores","location='javascript:loadPopup()'");
	fw_menu_2.addMenuItem("Preguntas Frecuentes","location='javascript:loadPopup()'");
	fw_menu_2.hideOnMouseOut=true;
  window.fw_menu_3 = new Menu("root",107,15,"Verdana, Arial, Helvetica, sans-serif",10,"#666666","#666666","#ffffff","#cccccc","#eeeeee");
  fw_menu_3.addMenuItem("Eventos","location='../noticias/eventos.html'");
  fw_menu_3.addMenuItem("Prensa","location='../noticias/prensa.html'");
  fw_menu_3.addMenuItem("Novedades","location='../noticias/novedades.html'");
  fw_menu_3.hideOnMouseOut=true;
  fw_menu_3.writeMenus();
}



//funcion POP-UP
//-------------------------------------------------------------------------
function NewWindow(mypage, myname, w, h, scroll, resize) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable='+resize;
win = window.open(mypage, myname, winprops);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


//funcion POP-UP llamandola desde funcion NewWindow
//-------------------------------------------------------------------------
function loadPopup() {
	NewWindow('../soporte/needtolog.html','needtolog','247','187','no');
}

//funcion PRELOADING
//-------------------------------------------------------------------------
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//funcion SWAPING
//-------------------------------------------------------------------------
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

//funcion highlight pagina activa
//-------------------------------------------------------------------------
function SubMenuActive() {
	var strPage = "";

	strPage = document.location.href;

	if (strPage.indexOf("quees.html") >= 0) {
		document.all("link_quees").className = "submenuon";
	}
	else if (strPage.indexOf("caract.html") >= 0) {
		document.all("link_caract").className = "submenuon";
	}
	else if (strPage.indexOf("requer.html") >= 0) {
		document.all("link_requer").className = "submenuon";
	}
	else if (strPage.indexOf("benef.html") >= 0) {
		document.all("link_benef").className = "submenuon";
	}
	else if (strPage.indexOf("quien.html") >= 0) {
		document.all("link_quien").className = "submenuon";
	}
	else if (strPage.indexOf("comprar.html") >= 0) {
		document.all("link_comprar").className = "submenuon";
	}
	else if (strPage.indexOf("soporte.html") >= 0) {
		document.all("link_servsop").className = "submenuon";
	}
	else if (strPage.indexOf("soporte.html") >= 0) {
		document.all("link_bajar").className = "submenuon";
	}
	else if (strPage.indexOf("soporte.html") >= 0) {
		document.all("link_faq").className = "submenuon";
	}
	else if (strPage.indexOf("soporte.html") >= 0) {
		document.all("link_reportar").className = "submenuon";
	}
	else if (strPage.indexOf("soporte.html") >= 0) {
		document.all("link_ok").className = "submenuon";
	}
	else if (strPage.indexOf("eventos.html") >= 0) {
		document.all("link_eventos").className = "submenuon";
	}
	else if (strPage.indexOf("novedades.html") >= 0) {
		document.all("link_novedades").className = "submenuon";
	}
	else if (strPage.indexOf("prensa.html") >= 0) {
		document.all("link_prensa").className = "submenuon";
	}
}



