// Milonic DHTML Menu
// Please note that major changes to this file have been made and is not compatible with earlier versions..
//
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you can remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// 
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.


// The following line is critical for menu operation, and must appear only once.
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500				// The time delay for menus to remain visible on mouse off
followspeed=7				// Follow Scrolling speed (higher number makes the scrolling smoother but slower)
followrate=40				// Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
suboffset_top=0;			// Sub menu offset Top position 
suboffset_left=0;			// Sub menu offset Left position

effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters



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.
"000000",				// Mouse Off Font Color
"",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"FFC000",				// Mouse On Background Color
"",				// Menu Border Color 
14,					// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",				// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial, Verdana, sans-serif",		// Font Name
3,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"000000",				// Current Page Item Font Color (leave this blank to disable)
"",				// Current Page Item Background Color (leave this blank to disable)
"",					// Top Bar image (Leave this blank to disable)
"",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
]


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
200,					// Menu Top - The Top position of the menu in pixels
7,					// Menu Left - The Left position of the menu in pixels
125,					// Menu Width - Menus width in pixels
,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,					// 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)
,					// 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
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// 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


,"Inicio","/","#",,1
,"El Municipio","show-menu=municipio","#",,1
,"Ayuntamiento","show-menu=ayuntamiento","#",,1
,"Administraci&oacute;n","show-menu=departamentos","#",,1
,"Prog. Sociales","show-menu=programassociales","#",,1
,"Prensa","/?page_id=26","#",,1
,"Avisos","/?page_id=45","#",,1
,"Galer&iacute;a","/galeria","#",,1
,"Contacto","/?page_id=2","#",,1
,"Transparencia","/?page_id=77","#",,1
])

if(document.layers)m1div="_d.layers['menu1'].document.layers['mel1'].document.layers['subscribeform']"; else m1div="subscribeform"

addmenu(menu=["municipio","offset=3",,200,0,"",style2,,"",effect,,,,,,,,m1div,,,,
,"Historia","/?page_id=5","#",,1
,"Escudo","/?page_id=4","#",,1
,"Ubicaci&oacute;n y Geograf&iacute;a","/?page_id=7","#",,1
,"Principales Actividades Econ&oacute;micas","/?page_id=37","#",,1
,"Servicios y Empresas en Penjamillo","/?page_id=79","#",,1
,"Infraestructura y Servicios","/?page_id=55","#",,1
,"Demograf&iacute;a","/?page_id=34","#",,1
,"Poblaciones","/?page_id=27","#",,1
,"Personajes","show-menu=personajes","#",,1
,"Sitios de inter&eacute;s","/?page_id=41","#",,1
,"Fiestas","/?page_id=42","#",,1
])

addmenu(menu=["ayuntamiento","offset=3",,200,0,"",style2,,"",effect,,,,,,,,m1div,,,,
,"Presidencia","show-menu=presidencia","#",,1
,"Secretar&iacute;a","/?page_id=43","#",,1
,"Sindicatura","/?page_id=31","#",,1
,"Regidores","/?page_id=44","#",,1
,"Sesiones de Cabildo","/?page_id=46","#",,1
])

addmenu(menu=["departamentos","offset=3",,200,0,"",style2,,"",effect,,,,,,,,m1div,,,,
,"DIF","/?page_id=9","#",,1
,"Servicios P&uacute;blicos","/?page_id=11","#",,1
,"Salud","/?page_id=12","#",,1
,"Seguridad","/?page_id=14","#",,1
,"Tesorer&iacute;a","/?page_id=20","#",,1
,"Contralor&iacute;a","/?page_id=78","#",,1
,"Obras P&uacute;blicas","/?page_id=8","#",,1
,"Planeación Municipal","/?page_id=59","#",,1
,"Atenci&oacute;n Ciudadana","/?page_id=13","#",,1
,"Agua Potable", "/?page_id=51",,,1
,"Reglamentos Municipales","/?page_id=10","#",,1
,"Atención al Migrante","/?page_id=61","#",,1
,"Mujer","/?page_id=62","#",,1
])

addmenu(menu=["programassociales","offset=3",,200,0,"",style2,,"",effect,,,,,,,,m1div,,,,
,"Desarrollo Social", "/?page_id=18",,,1
,"CODECOS", "/?page_id=19",,,1
,"Canasta Básica Alimenticia", "/?page_id=30",,,1
,"Contigo", "/?page_id=50",,,1
//,"Desarrollo y Fomento Econ&oacute;mico", "/?page_id=21",,,1
,"Educaci&oacute;n", "/?page_id=22",,,1
//,"Protecci&oacute;n Civil", "/?page_id=23",,,1
,"Desarrollo Agropecuario","/?page_id=60","#",,1
,"Deportes", "/?page_id=25",,,1
,"Becas","/?page_id=63","#",,1
,"Programas de Vivienda","/?page_id=64","#",,1
])


addmenu(menu=["presidencia","offset=3",,200,0,"",style2,,"",effect,,,,,,,,m1div,,,,
,"C. Francisco Piceno Camacho, Presidente Municipal 2008-2011","/?page_id=54","#",,1
,"Informes Anuales","/?page_id=39","#",,1
,"Cronolog&iacute;a de los presidentes municipales","/?page_id=28","#",,1
])

addmenu(menu=["personajes","offset=3",,250,0,"",style2,,"",effect,,,,,,,,m1div,,,,
,"Lic. Miguel Mesa Ochoa","/?page_id=17","#",,1
,"Sr. Cura Francisco Javier Hern&aacute;ndez Centeno","/?page_id=56","#",,1
,"Don Samuel Ramos Cort&eacute;s","/?page_id=36","#",,1
,"Hermana Mª Luisa Herrera Rizo","/?page_id=38","#",,1
])

//////////////////////////////////
// Editable properties END here //
//////////////////////////////////
dumpmenus() // This must be the last line in this file
