menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
effect = "Fade(duration=0.2);Alpha(style=0,opacity=95);Shadow(color='#999999', Direction=135, Strength=15)" 

timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

//////////////    Comienzo de configuracin de mens :   /////////////////////////////
style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"000000",				// Mouse Off Font Color
"EBDAC7",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"C31F1F",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
10,						  // Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Tahoma, Verdana, Arial",		// Font Name
3,						// Menu Item Padding
"js/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"Purple",				// Current Page Item Font Color (leave this blank to disable)
"pink",					// Current Page Item Background Color (leave this blank to disable)
"js/arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]
//////////////    Final de configuracin de mens    /////////////////////////////


//////////////    Comienzo de configuracin de Submens :   /////////////////////////////
style2=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"003366",				// Mouse Off Font Color
"E8F3FA",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"C31F1F",				// Mouse On Background Color
"C9DCEB",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Tahoma, Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"js/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
,				// Current Page Item Font Color (leave this blank to disable)
,					// Current Page Item Background Color (leave this blank to disable)
"js/arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]
//////////////    Final de configuracin de Submens    /////////////////////////////

//////////////    Comienzo de configuracin de Submens 3er nivel:   /////////////////////////////
style3=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"003366",				// Mouse Off Font Color
"E8F3FA",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"C31F1F",				// Mouse On Background Color
"C9DCEB",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Tahoma, Verdana, Arial",		// Font Name
4,						// Menu Item Padding
"js/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
,				// Current Page Item Font Color (leave this blank to disable)
,					// Current Page Item Background Color (leave this blank to disable)
"js/arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]
//////////////    Final de configuracin de Submens 3er nivel   /////////////////////////////

//////////////    Comienzo de creacin mens principales en uso:   /////////////////////////////
addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
120,				// Menu Top - The Top position of the menu in pixels
101,					// Menu Left - The Left position of the menu in pixels
147,				// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

/*1*/	,"Ayuntamiento","show-menu=Ayuntamiento",,"Ayuntamiento",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
/*2*/	,"Servicios Municipales","show-menu=Servicios",,"Servicios Municipales",1
/*3*/	,"Directorio","show-menu=Directorio",,"Directorio",1
/*4*/	,"Municipio","show-menu=Municipio",,"Municipio",1
/*5*/	,"Agenda","show-menu=Agenda",,"Agenda",1
/*6*/	,"Contacto","show-menu=Contacto",,"Contacto",1
	])
//////////////    Final de configuracion mens principales en uso   /////////////////////////////

//////////////    Comienzo de creacin de Submens en uso :   /////////////////////////////
	addmenu(menu=["Ayuntamiento",
	,250,160,1,"",style2,,"left",effect,,,,,,,,,,,,
/*1.1*/		,"Directorio","openpage.php?itm=1.1",,"Directorio",1
/*1.2*/		,"Corporaci&oacute;n Municipal","openpage.php?itm=1.2",,"Corporaci&oacute;n Municipal",1
/*1.3*/		,"Concejal&iacute;as","openpage.php?itm=1.3",,"Concejalas",1
/*1.4*/		,"Solicitudes por Internet","openpage.php?itm=1.4",,"Solicitudes por Internet",1
//por indicacin del ayuntamiento este botn se suprime
// /*1.5*/		,"Ordenanzas, Tasas e Impuestos Municipales","openpage.php?itm=1.5",,"Ordenanzas, Tasas e Impuestos Municipales",1
/*1.6*/		,"Informaci&oacute;n sobre t&aacute;rmites administrativos","openpage.php?itm=1.6",,"Informaci&oacute;n sobre tr&aacute;mites administrativos",1
/*1.7*/		,"Tabl&oacute;n de anuncios","openpage.php?itm=1.7",,"Tabl&oacute;n de anuncios",1
	])
	
	addmenu(menu=["Servicios",
	,250,160,1,"",style2,,"left",effect,,,,,,,,,,,,
/*2.1*/		,"Agencia de Empleo y Desarrollo Local (AEDL)","openpage.php?itm=2.1",,"Agencia de Empleo y Desarrollo Local (AEDL)",1
/*7.1*/		,"Archivo Municipal","openpage.php?itm=7.1",,"Archivo Municipal",1
/*2.2*/		,"Biblioteca","openpage.php?itm=2.2",,"Biblioteca",1
/*2.3*/		//,"Casa de la Cultura","openpage.php?itm=2.3",,"Casa de la Cultura",1
/*2.4*/		,"Escuelas de Educaci&oacute;n Infantil","openpage.php?itm=2.4",,"Escuelas de Educaci&oacute;n Infantil",1
/*2.5*/		,"Centro de D&iacute;a","openpage.php?itm=2.5",,"Centro de D&iacute;a",1
/*2.17*/	,"Centro de la Mujer","openpage.php?itm=2.17",,"Centro de la Mujer",1
/*2.6*/		,"Cultura","openpage.php?itm=2.6",,"Cultura",1
/*2.7*/		,"Deporte","openpage.php?itm=2.7",,"Deporte",1
/*2.15*/	//,"Gabinete de Comunicaci&oacute;n","openpage.php?itm=2.15",,"Gabinete de Comunicaci&oacute;n",1
/*2.8*/		,"Juventud, Centro Joven","openpage.php?itm=2.8",,"Juventud, Centro Joven",1
/*2.8*/		,"Ludoteca el Bosque M&aacute;gico","openpage.php?itm=2.18",,"Ludoteca el Bosque M&aacute;gico",1
/*2.9*/		,"OMIC","openpage.php?itm=2.9",,"Oficina Municipal de Informacin al Consumidor",1
/*2.11*/	,"Polic&iacute;a Local","openpage.php?itm=2.11",,"Polic&iacute;a Local",1
/*2.12*/	,"Protecci&oacute;n Civil","openpage.php?itm=2.12",,"Protecci&oacute;n Civil",1
/*2.16*/	,"Recaudaci&oacute;n","openpage.php?itm=2.16",,"Departamento Recaudaci&oacute;n",1
/*2.13*/	,"Servicios Sociales","openpage.php?itm=2.13",,"Servicios Sociales",1
/*2.14*/	,"Urbanismo","openpage.php?itm=2.14",,"Urbanismo",1
	])
	
	addmenu(menu=["Directorio",
	,250,160,1,"",style2,,"left",effect,,,,,,,,,,,,
/*3.1*/		,"Empresas de la localidad","openpage.php?itm=3.1",,"Empresas de la localidad",1
/*3.2*/		,"Asociaciones","openpage.php?itm=3.2",,"Asociaciones",1
/*3.3*/ 	,"Enlaces de inter&eacute;s","openpage.php?itm=3.3",,"Enlaces de inter&eacute;s",1
/*3.4*/		,"Mapa del web","openpage.php?itm=3.4",,"Mapa del web",1
	])
			    	
	addmenu(menu=["Municipio",
	,250,160,1,,style2,0,"left",effect,0,,,,,,,,,,,
/*4.1*/		,"Situaci&oacute;n","openpage.php?itm=4.1",,"Situaci&oacute;n",1
/*4.2*/		,"Historia","openpage.php?itm=4.2",,"Historia",1
/*4.3*/		,"Poblaci&oacute;n","openpage.php?itm=4.3",,"Poblaci&oacute;n",1
/*4.4*/		,"Callejero","openpage.php?itm=4.4",,"Callejero",1
/*4.5*/		,"Horario de autobuses","openpage.php?itm=4.5",,"Horario de autobuses",1
/*4.6*/		,"Fiestas","openpage.php?itm=4.6",,"Fiestas",1
/*4.7*/		,"Colegios e Instituto","openpage.php?itm=4.7",,"Colegios",1
/*4.8*/		,"Servicios M&eacute;dicos","openpage.php?itm=4.8",,"Servicios M&eacute;dicos",1
	])
	
	addmenu(menu=["Agenda",
	,250,160,1,,style2,0,"left",effect,0,,,,,,,,,,,
/*5.1*/		,"Programaci&oacute;n de actividades","openpage.php?itm=5.1","","Programaci&oacute;n de actividades",1
	])
	
	addmenu(menu=["Contacto",
	,250,160,1,"",style2,,"left",effect,,,,,,,,,,,,
/*6.1*/		,"E-mail","openpage.php?itm=6.1",,"Email",1
/*6.2*/		,"Tel&eacute;fonos de inter&eacute;s","openpage.php?itm=6.2",,"Tel&eacute;fonos de inter&eacute;s",1
	])
//////////////    Final de Submens en uso   /////////////////////////////

dumpmenus()
