	var NoOffFirstLineMenus=7;		// Number of main menu  items
									// Colorvariables:
									// Color variables take HTML predefined color names or "#rrggbb" strings
									// For transparency make colors and border color ""
	var LowBgColor="#fdf5dd";		// Background color when mouse is not over
	var HighBgColor="#e8dec0";		// Background color when mouse is over
	var FontLowColor="#555555";		// Font color when mouse is not over
	var FontHighColor="#555555";	// Font color when mouse is over
	var BorderColor="#e8dec0";		// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=0;			// Border width between elements main items
	var BorderBtwnSub=1;			// Border width between elements sub items
	var FontFamily="arial";	        // Font family menu items
	var FontSize=12;				// Font size menu items
	var FontBold=0;					// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";	// Item text position left, center or right
	var MenuCentered="left";		// Menu horizontal position can be: left, center, right
	var MenuVerticalCentered="top";	// Menu vertical position top, middle,bottom or static
	var ChildOverlap=0;			    // horizontal overlap child/ parent
	var ChildVerticalOverlap=.1;	// vertical overlap child/ parent
	var StartTop=0;					// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var DistFrmFrameBrdr=0;			// Distance between main menu and frame border
	var LeftPaddng=8;				// Left padding
	var TopPaddng=3;				// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=0;		// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=0;		// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;		// delay before menu folds in
	var UnfoldDelay=200;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="MenuPos";		// span id for relative positioning
	var MenuWrap=0;					// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;					// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHrefImg="http://www.aedn.es/imatges/";	// BaseHrefImg lets you specify the root directory for the images. 
	var BaseHref="http://www.aedn.es/";				// BaseHref lets you specify the root directory for relative links. 
	//var BaseHref="http://localhost/AEDN/";

// The script precedes your relative links with BaseHref
// For instance: 
// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
// Can also be used when you use images in the textfields of the menu
// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHrefImg+"tri.gif",8,10,BaseHrefImg+"tridown.gif",8,10,BaseHrefImg+"trileft.gif",8,10,BaseHrefImg+"triup.gif",10,8];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var RememberStatus=2;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

	var BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting
	var OverFormElements=0;			// Set this to 0 when the menu does not need to cover form elements.

	var HooverBold=0;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.2, wipeStyle=1)";

	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#ffffff, offX=0, offY=0, positive=0)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#ffffff, direction=135, strength=0)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}
// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText or background image format is:  "rollover?"+BaseHrefImg+"Image1.jpg?"+BaseHrefImg+"Image2.jpg" 

/////////////////////////////////////////////////////////////////////
//////ASOCIACIÓN/////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
Menu1=new Array("rollover?"+BaseHrefImg+"m_asociacion.jpg?"+BaseHrefImg+"m_asociacion_r.jpg","laasociacion.php","",5,34,194,"","","","","","",-1,-1,-1,"","La Asociación");
	Menu1_1=new Array("Antecedentes","asociacion.php?nombre=Antecedentes","",0,19,200,"","","","","","",-1,-1,-1,"","Antecedentes");
	Menu1_2=new Array("Objetivos","asociacion.php?nombre=Objetivos","",0,19,200,"","","","","","",-1,-1,-1,"","Objetivos");
		//Menu1_2_1=new Array("Proyectos","asociacion/que_hacemos.htm#1","",0,19,134,"","","","","","",-1,-1,-1,"","Proyecto de la Senba");
		//Menu1_2_2=new Array("Revistas","asociacion/que_hacemos.htm#2","",0,19,134,"","","","","","",-1,-1,-1,"","Revista publicadas por la Senba");
		//Menu1_2_3=new Array("Funciones","asociacion/que_hacemos.htm#3","",0,19,134,"","","","","","",-1,-1,-1,"","Funciones de la asociacións");
	Menu1_3=new Array("Ubicación","ubicacion.php","",0,19,200,"","","","","","",-1,-1,-1,"","Ubicación");
	Menu1_4=new Array("La Junta","junta.php","",0,19,200,"","","","","","",-1,-1,-1,"","La Junta");
	Menu1_5=new Array("Qué es un dietista-nutricionista","dietista.php","",0,19,200,"","","","","","",-1,-1,-1,"","Qué es un técnico/nutricionista");


/////////////////////////////////////////////////////////////////////
//////SERVICIOS/////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
Menu2=new Array("rollover?"+BaseHrefImg+"m_servicios.jpg?"+BaseHrefImg+"m_servicios_r.jpg","servicios.php","",0,34,194,"","","","","","",-1,-1,-1,"","Servicios");



/////////////////////////////////////////////////////////////////////
//////COLABORADORES/////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
Menu3=new Array("rollover?"+BaseHrefImg+"m_colaboradores.jpg?"+BaseHrefImg+"m_colaboradores_r.jpg","colaboradores.php","",0,34,194,"","","","","","",-1,-1,-1,"","Colaboradores");




/////////////////////////////////////////////////////////////////////
//////AGENDA/////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
//calcula l'any actual i 5 posteriors
var year=new Date();
any0=year.getFullYear();
any1=year.getFullYear()+1;
any2=year.getFullYear()+2;
any3=year.getFullYear()+3;
any4=year.getFullYear()+4;

Menu4=new Array("rollover?"+BaseHrefImg+"m_agenda.jpg?"+BaseHrefImg+"m_agenda_r.jpg","agenda.php","",3,34,169,"","","","","","",-1,-1,-1,"","Agenda");
	Menu4_1=new Array("Actividades AED-N","actividades.php","",0,19,220,"","","","","","",-1,-1,-1,"","Actividades AED-N");
	Menu4_2=new Array("Próximos eventos","eventos_lista.php","",5,19,220,"","","","","","",-1,-1,-1,"","Próximos eventos");
		Menu4_2_1=new Array(""+any0,"eventos.php?anio="+any0,"",0,19,70,"","","","","","",-1,-1,-1,"",""+any0);
		Menu4_2_2=new Array(""+any1,"eventos.php?anio="+any1,"",0,19,70,"","","","","","",-1,-1,-1,"",""+any1);
		Menu4_2_3=new Array(""+any2,"eventos.php?anio="+any2,"",0,19,70,"","","","","","",-1,-1,-1,"",""+any2);
		Menu4_2_4=new Array(""+any3,"eventos.php?anio="+any3,"",0,19,70,"","","","","","",-1,-1,-1,"",""+any3);
		Menu4_2_5=new Array(""+any4,"eventos.php?anio="+any4,"",0,19,70,"","","","","","",-1,-1,-1,"",""+any4);
	Menu4_3=new Array("Formación continuada ","masters.php","",0,19,220,"","","","","","",-1,-1,-1,"","Formación continuada ");


/////////////////////////////////////////////////////////////////////
//////BIBLIOGRAFIA/////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////

Menu5=new Array("rollover?"+BaseHrefImg+"m_bibliografia.jpg?"+BaseHrefImg+"m_bibliografia_r.jpg","bibliografia.php","",5,34,169,"","","","","","",-1,-1,-1,"","Bibliografía");
	Menu5_1=new Array("Libros","libros.php","",0,19,170 ,"","","","","","",-1,-1,-1,"","Libros");
	Menu5_2=new Array("Artículos/Publicaciones","articulo.php","",7,19,170 ,"","","","","","",-1,-1,-1,"","Artículos/Publicaciones");
		Menu5_2_1=new Array("Clínica","articulos.php?tipo=1","",0,19,170,"","","","","","",-1,-1,-1,"","Clínica");
		Menu5_2_2=new Array("Restauración colectiva","articulos.php?tipo=2","",0,19,170,"","","","","","",-1,-1,-1,"","Restauración colectiva");
		Menu5_2_3=new Array("Nutrición comunitaria","articulos.php?tipo=3","",0,19,170,"","","","","","",-1,-1,-1,"","Nutrición comunitaria");
		Menu5_2_4=new Array("Higiene alimentaria","articulos.php?tipo=4","",0,19,170,"","","","","","",-1,-1,-1,"","Higiene alimentaria");
		Menu5_2_5=new Array("Alimentos","articulos.php?tipo=5","",0,19,170,"","","","","","",-1,-1,-1,"","Alimentos");
		Menu5_2_6=new Array("Educación nutricional","articulos.php?tipo=6","",0,19,170,"","","","","","",-1,-1,-1,"","Educación nutricional");
		Menu5_2_7=new Array("Otros...","articulos.php?tipo=7","",0,19,170,"","","","","","",-1,-1,-1,"","Otros...");
	Menu5_3=new Array("Revistas","revistas.php","",0,19,170 ,"","","","","","",-1,-1,-1,"","Revistas");
	Menu5_4=new Array("Documentos de consenso","consenso.php","",0,19,170,"","","","","","",-1,-1,-1,"","Documentos de consenso");
	Menu5_5=new Array("Material audiovisual","hemeroteca.php","",0,19,170 ,"","","","","","",-1,-1,-1,"","Material audiovisual");




/////////////////////////////////////////////////////////////////////
//////ENLACES/////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
Menu6=new Array("rollover?"+BaseHrefImg+"m_enlaces.jpg?"+BaseHrefImg+"m_enlaces_r.jpg","enlaces.php","",6,34,194,"","","","","","",-1,-1,-1,"","Enlaces");
	Menu6_1=new Array("Clínica","enlaces.php?tipo=1","",0,19,170,"","","","","","",-1,-1,-1,"","Clínica");
	Menu6_2=new Array("Nutrición comunitaria","enlaces.php?tipo=2","",0,19,170,"","","","","","",-1,-1,-1,"","Nutrición comunitaria");
	Menu6_3=new Array("Restauración colectiva e higiene alimentaria","enlaces.php?tipo=3","",0,34,170,"","","","","","",-1,-1,-1,"","Restauración colectiva e higiene alimentaria");
	Menu6_4=new Array("Otras asociaciones científicas","enlaces.php?tipo=4","",0,34,170,"","","","","","",-1,-1,-1,"","Otras asociaciones científicas");
	Menu6_5=new Array("Industrias alimentarias-Empresas","enlaces.php?tipo=5","",0,34,170,"","","","","","",-1,-1,-1,"","Industrias alimentarias-Empresas");
	Menu6_6=new Array("Otros","enlaces.php?tipo=6","",0,19,170,"","","","","","",-1,-1,-1,"","Otros");



/////////////////////////////////////////////////////////////////////
//////BUSCADOR DE LA REVISTA/////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
Menu7=new Array("rollover?"+BaseHrefImg+"m_buscadorlarevista.jpg?"+BaseHrefImg+"m_buscadorlarevista_r.jpg","buscador.php","",0,34,194,"","","","","","",-1,-1,-1,"","Colaboradores");

/*
Menu7=new Array("rollover?"+BaseHrefImg+"m_agenda.jpg?"+BaseHrefImg+"m_agenda_r.jpg","recursos/indice_recursos.htm","",4,34,194,"","","","","","",-1,-1,-1,"","Agenda");
	Menu7_1=new Array("Los Alimentos","recursos/indice_alimentos.htm","",0,19,170 ,"","","","","","",-1,-1,-1,"","Los Alimentos");
	Menu7_2=new Array("Nutrición en situación normal","recursos/indice_normal.htm","",0,34,170 ,"","","","","","",-1,-1,-1,"","Nutrición en situación normal");
	Menu7_3=new Array("Nutrición y Patología ","recursos/indice_patologia.htm","",0,19,170 ,"","","","","","",-1,-1,-1,"","Nutrición y Patología ");
	Menu7_4=new Array("Tecnología y Seguridad Alimentaria","recursos/indice_tecnologia.htm","",0,34,170 ,"","","","","","",-1,-1,-1,"","Tecnología y Seguridad Alimentaria");
	
	
Menu8=new Array("rollover?"+BaseHrefImg+"m_asociarse.jpg?"+BaseHrefImg+"m_asociarse_r.jpg","#","",0,34,134,"","","","","","",-1,-1,-1,"","Cómo asociarse");*/
