if(document.all || (document.layers && nsVer == 'good'))
{	
  document.write( "<div id='NSbuffer' style='top:0;left:0;width:1;height:1;position:absolute;visibility:hidden;z-index:1;'></div>"+

		"<div id='about' style='top:94;left:235;width:146px;height:22;position:absolute;visibility:hidden;z-index:2;'>"+
		"<table id='about_tbl' cellpadding='1' cellspacing='0' border='0' bgcolor='#275B80' onmouseOut='hideMenuIE();'><tr><td><table border='0' cellspacing='0' cellpadding='5'><tr><td bgcolor='#333366' nowrap>"+
		"<a href='../about/nueva.html' class='dhtml'>Nueva genética</a><br>"+
		"<a href='../about/vision.html' class='dhtml'>Visión solidaria</a><br>"+
		"<a href='../about/carta.html' class='dhtml'>Carta presentación</a><br>"+
		"<a href='../about/actuacion.html' class='dhtml'>Actuación</a><br>"+
		"<a href='../about/patronato.html' class='dhtml'>Patronato</a><br>"+
		"<a href='../about/llamada.html' class='dhtml'>LLamada</a><br>"+
		"</div>"+

		"</td></tr></table></td></tr></table></td></tr></table>"+
		"</div>"+

		"<div id='products' style='top:94;left:328;width:146px;height:22;position:absolute;visibility:hidden;z-index:3;'>"+
		"<table id='products_tbl' cellpadding='1' cellspacing='0' border='0' bgcolor='#275B80' onmouseOut='hideMenuIE();'><tr><td><table border='0' cellspacing='0' cellpadding='5'><tr><td bgcolor='#333366' nowrap>"+
		"<img src=\"../img/bg_trans.gif\" width=51 height=1 border=0><br><a href='../gam/que.html' class='dhtml'>¿Qué es?</a><br>"+
		"<a href='../gam/caracteristicas.html' class='dhtml'>Características</a><br>"+
		"<a href='../gam/elporque.html' class='dhtml'>El porqué</a><br>"+
		"<a href='../gam/como.html' class='dhtml'>Como funciona</a><br>"+
		"<a href='../gam/tipos.html' class='dhtml'>Tipos</a><br>"+
		"<a href='../gam/gamfundacion.html' class='dhtml'>GAM Fundación</a><br>"+
		"</td></tr></table></td></tr></table></td></tr></table>"+
		"</div>"+

		
		"<div id='services' style='top:94;left:422;width:146px;height:22;position:absolute;visibility:hidden;z-index:4;'>"+
		"<table id='services_tbl' cellpadding='1' cellspacing='0' border='0' bgcolor='#275B80' onmouseOut='hideMenuIE();'><tr><td><table border='0' cellspacing='0' cellpadding='5'><tr><td bgcolor='#333366' nowrap>"+
		
		"<a href='../animal/experiencias.html' class='dhtml'>Nuestras experiencias</a><br>"+
		"<a href='../animal/jornada.html' class='dhtml'>Jornadas encuentro</a><br>"+
		
		
		
		"</td></tr></table></td></tr></table></td></tr></table>"+
		"</div>"+

		"<div id='solutions' style='top:94;left:517;width:146px;height:22;position:absolute;visibility:hidden;z-index:5;'>"+
		"<table id='solutions_tbl' cellpadding='1' cellspacing='0' border='0' bgcolor='#275B80' onmouseOut='hideMenuIE();'><tr><td><table border='0' cellspacing='0' cellpadding='5'><tr><td bgcolor='#333366' nowrap>"+
		"<a href='../actividades/cursos.html' class='dhtml'>Cursos</a><br>"+
		"<a href='../actividades/jornadas.html' class='dhtml'>Jornadas-Seminario</a><br>"+
		"<a href='../actividades/mesas.html' class='dhtml'>Mesas redondas y conferencias</a><br>"+
		"<a href='../actividades/convenios.html' class='dhtml'>Convenios de colaboración</a><br>"+
		"<a href='../actividades/convenios6.html' class='dhtml'>Otras Ayudas</a><br>"+
		
		"</td></tr></table></td></tr></table></td></tr></table>"+
		"</div>"+

		"<div id='news' style='top:94;left:706;width:146px;height:22;position:absolute;visibility:hidden;z-index:5;'>"+
		"<table id='news_tbl' cellpadding='1' cellspacing='0' border='0' bgcolor='#275B80' onmouseOut='hideMenuIE();'><tr><td><table border='0' cellspacing='0' cellpadding='5'><tr><td bgcolor='#333366' nowrap>"+
		"<img src=\"../img/bg_trans.gif\"  height=1 border=0><br><a href='../museo/index.html' class='dhtml'>Museo</a><br>"+

		
		"</td></tr></table></td></tr></table></td></tr></table>"+
		"</div>"+
	
		"<div id='customers' style='top:94;left:610;width:146px;height:22;position:absolute;visibility:hidden;z-index:6;'>"+
		"<table id='customers_tbl' cellpadding='1' cellspacing='0' border='0' bgcolor='#275B80' onmouseOut='hideMenuIE();'><tr><td><table border='0' cellspacing='0' cellpadding='5'><tr><td bgcolor='#333366' nowrap>"+
		"<img src=\"../img/bg_trans.gif\"  height=1 border=0><br><a href='../enlaces/genetica.html' class='dhtml'>Genética</a><br>"+
		"<a href='../enlaces/etica.html' class='dhtml'>Etica bioética</a><br>"+
		"<a href='../enlaces/grupos.html' class='dhtml'>Grupos Ayuda</a><br>"+
		"<a href='../enlaces/publicaciones.html' class='dhtml'>Publicaciones </a><br>"+
		"<a href='../enlaces/bibliotecas.html' class='dhtml'>Bibliotecas</a><br>"+
		"<a href='../enlaces/universidades.html' class='dhtml'>Universidades</a><br>"+
		"<a href='../enlaces/hospitales.html' class='dhtml'>Hospitales </a><br>"+
		"<a href='../enlaces/buscadores.html' class='dhtml'>Buscadores</a><br>"+
		"<a href='../enlaces/varios.html' class='dhtml'>Varios</a><br>"+

		
		"</td></tr></table></td></tr></table></td></tr></table>"+
		"</div>"+

		"</div>")
	}

function mouseMove(e)
{	
  if((document.all) && (ready == "yes") && (ie5 == 0))
  {
		x=event.x;
		y=event.y;
   	//window.status = x + "," + y;
    menuOff(x,y);
   
	}
	if((document.layers) && (ready == "yes") && (nsVer == 'good'))
  {
		x=e.pageX;
		y=e.pageY;		
    //window.status = x + "," + y;
    menuOff(x,y);    
	}
}

if (document.all)
{	
  document.onmousemove = mouseMove;
	layerRef = "document.all";
	layerStyle = ".style"; 
}
if ((document.layers) && (nsVer == 'good'))
{
  document.onmousemove = mouseMove;
	document.captureEvents(Event.MOUSEMOVE);
	layerRef = "document.layers";
	layerStyle = "";
}

function showLayer(layerName)
{
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility="visible"') 
  if(ie5)
  {   
   activeMenu = eval("document.all." + layerName + "_tbl");  
  }
}

function hideLayer(layerName)
{	
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility="hidden"')   
}

function moveLayer(layerName,top,left)
{  
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.top=top')
  eval(layerRef+'["'+layerName+'"]'+layerStyle+'.left=left') 
}

function rem()
{
	if((document.all) || ((document.layers) && (nsVer == 'good')))
  {	  
    hideLayer("about");
    hideLayer("products");
    hideLayer("services");
    hideLayer("solutions");
    hideLayer("customers");
    hideLayer("news");
	resetRollOver(); 
	}
}

function menuOn(lName)
{
	if((document.all) || ((document.layers) && (nsVer == 'good')))  
  {
    //alert(menuName);
    rem();
	  menuName = lName;
	  showLayer(lName);
	}
}

function menuOff(xcord,ycord)
{
  //right 
  	if(menuName == "about" && xcord > 384){rem();}
  	if(menuName == "products" && xcord > 375){rem();}
  	if(menuName == "services" && xcord > 470){rem();}
  	if(menuName == "solutions" && xcord > 605){rem();}
  	if(menuName == "news" && xcord > 675){rem();}
  	if(menuName == "customers" && xcord > 800){rem();}

  //left
  	if(menuName == "about" && xcord < 236){rem();}
  	if(menuName == "products" && xcord < 302){rem();}
  	if(menuName == "services" && xcord < 364){rem();}
  	if(menuName == "solutions" && xcord < 427){rem();}
  	if(menuName == "customers" && xcord < 538){rem();}
  	if(menuName == "news" && xcord < 674){rem();}
	
  //top	
  	if(menuName == "about" && ycord < 72){rem();}
 	if(menuName == "products" && ycord < 72){rem();}
 	if(menuName == "services" && ycord < 72){rem();}
 	if(menuName == "solutions" && ycord < 72){rem();}
 	if(menuName == "customers" && ycord < 72){rem();}
 	if(menuName == "news" && ycord < 72){rem();}

  //bottom	
  	if(menuName == "about" && ycord > 210){rem();}
  	if(menuName == "products" && ycord > 150){rem();}
  	if(menuName == "services" && ycord > 210){rem();}
  	if(menuName == "solutions" && ycord > 210){rem();}
  	if(menuName == "customers" && ycord > 165){rem();}
  	if(menuName == "news" && ycord > 210){rem();}
}

ready = "yes";