
// 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


effect = "Fade(duration=0.3);Alpha(style=0,opacity=95);Shadow(color='#0066cc', Direction=135, Strength=1)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=3;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

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.
"ffffff",				// Mouse Off Font Color
"0066cc",				// Mouse Off Background Color
"cc0000",				// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
11,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",		// Font Name
6,						// Menu Item Padding
,			// 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)
,			// 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)
]



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
142,					// Menu Top - The Top position of the menu in pixels
10,				// Menu Left - The Left position of the menu in pixels
,					// 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"
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
effect,				// 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)
, 					// 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
,"Home&nbsp;&nbsp;&nbsp;&nbsp;","../Default.htm",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Our Office&nbsp;&nbsp;&nbsp;","show-menu=divisions",,"",1
,"Now Hiring&nbsp;&nbsp;","show-menu=jobs",,"",1
,"Reporting&nbsp;&nbsp;","show-menu=report",,"",1
,"Programs/Services&nbsp;&nbsp;","show-menu=programs",,"",1
,"Forms&nbsp;&nbsp;","../forms.htm",,"",1
,"Public Safety&nbsp;&nbsp;","show-menu=safety",,"",1
,"Memorials&nbsp;&nbsp;","../memorial.htm",,"",1
,"Helpful Links","../links.htm",,,1
,"Contact Us","../contact.htm",,,1
,"Site Map","../sitemap.htm",,,1
])


	addmenu(menu=["divisions",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
        ,"Administrative Bureau","show-menu=admin",,"",1
	,"Enforcement Operations Bureau","show-menu=operations",,"",1
        ,"Custody Operations Bureau","show-menu=corrections",,"",1
        ,"Frequently Asked Questions","../faq.htm",,,1
        ])
	
	
		addmenu(menu=["report",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Submit Crime Tips Online","../rep_crime.asp",,,1
		,"Incident Report Forms","../forms.htm",,,1
                ,"Abandoned Vehicles","../abandoned.htm",,,1
                ])

		addmenu(menu=["safety",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Monterey County Most Wanted","../wanted.htm",,,1
                ,"Megan's Law","../meganslaw.htm",,,1
		,"Crime Prevention Tips","../tips.htm",,,1
                ])

	addmenu(menu=["programs",
		,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Youth Programs","../youth.htm",,,1
		,"Volunteer Groups","../volunteer.htm",,,1
		,"Sheriff's Posse/Posse Grounds","../posse.htm",,"",1
		,"Honor/Color Guard Unit","../honorguard.htm",,"",1
		])

		        addmenu(menu=["admin",
			,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"Fiscal Division","../fiscal.htm",,,1
			,"Civil Division","../civil.htm",,,1
			,"Coroner Division","../coroner.htm",,,1
			,"Training Division","../training.htm",,,1
			,"Records Division","../records.htm",,,1
			,"Recruiting Division","../recruiting.htm",,,1
			,"Professional Standards Division","../profsds.htm",,,1
                        ,"Org Chart","../pdfs/orgchart.pdf",,,1
			])
                        
                        addmenu(menu=["operations",
			,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"Sheriff's Patrol Division","../patrol.htm",,,1
			,"Homeland Security Division","../homelandsec.htm",,,1
                        ,"Investigations Division","../investg.htm",,,1
			,"Narcotics Division","../narc.htm",,,1
			,"Crime Prevention Unit","../cpunit.htm",,,1
			,"Daily Patrol Call Log","../patrol_log.asp",,,1
			,"Other Units & Teams","../teams.htm",,,1
                        ])
	                
                        addmenu(menu=["corrections",
			,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"Detention Division (Jails)","../detention.htm",,,1
                        ,"Court Services Division","../ctsvcs.htm",,,1
			,"Jail Visitation Schedule","../jailvisit.htm",,,1
                        ])

			addmenu(menu=["jobs",
			,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"Deputy Recruiting","../recruitment/",,,1
			,"Current Job Openings","../jobs.htm",,,1
			])
	
	addmenu(menu=["Other",,,120,1,,style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"Authors Site","http://www.milonic.co.uk/menu",,"Andy Woolleys Milonic Menu Site",1
	])
	

dumpmenus()
