/*
 Milonic DHTML Website Navigation Menu - Version 3.x
 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
 
 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your 
 intentions to use the menu and send us your URL.
*/
//alert(window.location);
var pageLocation = ""+window.location+"";
var pageChunks = pageLocation.split("/");
if(pageChunks.length == 5){
	imgLocation = "../";
}
else{
	imgLocation = "./";
}
imgLocation = "http://www.stpso.org/";

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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 unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"


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
closeOnClick = true

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.
"2A356B",				// Mouse Off Font Color
"2A356B",			// Mouse Off Background Color
"2A356B",			// Mouse On Font Color
"2A356B",			// Mouse On Background Color
"2A356B",			// Menu Border Color 
10.5,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
0,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"2A356B",			// 3D High Color
"2A356B",			// 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)
"",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
"2A356B",				// Menu Item Separator Color
]

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
"c0c2d3",			// Mouse Off Background Color
"c1c1c1",			// Mouse On Font Color
"616792",			// Mouse On Background Color
"2c346d",			// Menu Border Color 
10.5,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
2,					// 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)
"",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
"ffa100",				// Menu Item Separator Color
]



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
135,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
149,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
"left",					// 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)
"center",				// 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
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
'scroller',					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"<img src='"+imgLocation+"images/button_about.gif' border='0'>","show-menu=about",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src='"+imgLocation+"images/button_onlinecivil.gif' border='0'>","http://www.stpso.org/online_services.html",,"",1
,"<img src='"+imgLocation+"images/button_collections.gif' border='0'>","show-menu=collections",,"",1
,"<img src='"+imgLocation+"images/button_departments.gif' border='0'>","show-menu=dept",,"",1
,"<img src='"+imgLocation+"images/button_comprogs.gif' border='0'>","show-menu=community",,"",1
,"<img src='"+imgLocation+"images/button_victims.gif' border='0'>","http://www.stpso.com/page.php?p=crime_victims",,"",1
,"<img src='"+imgLocation+"images/button_domviolence.gif' border='0'>","http://www.stpso.com/page.php?p=dom_violence",,"",1
,"<img src='"+imgLocation+"images/button_corrections.gif' border='0'>","show-menu=correct",,,1
,"<img src='"+imgLocation+"images/button_events.gif' border='0'>","http://www.stpso.com/calendar.php",,"",1
,"<img src='"+imgLocation+"images/button_news.gif' border='0'>","http://www.stpso.com/news.php",,"",1
,"<img src='"+imgLocation+"images/button_wanted.gif' border='0'>","http://www.stpso.com/mostwanted.php",,"",1
,"<img src='"+imgLocation+"images/button_missing.gif' border='0'>","http://www.stpso.com/missing.php",,"",1
//,"Photo Album","album.php",,"",1
,"<img src='"+imgLocation+"images/button_sexoffenders.gif' border='0'>","http://www.sheriffalerts.com/cap_main.php?office=53718 target=_blank",,"",1
//,"Sex Offenders","http://www.sheriffalerts.com/cap_main.php?office=53718 target=_blank",,"",1
,"<img src='"+imgLocation+"images/button_report.gif' border='0'>","http://www.stpso.com/report.php",,"",1
,"<img src='"+imgLocation+"images/button_burglar.gif' border='0'>","http://www.stpso.com/burglar.php",,"",1
,"<img src='"+imgLocation+"images/button_job.gif' border='0'>","http://www.stpso.com/jobs.php",,"",1
,"<img src='"+imgLocation+"images/button_training.gif' border='0'>","http://www.stpso.com/page.php?p=training",,"",1
,"<img src='"+imgLocation+"images/button_contact.gif' border='0'>","show-menu=contact",,"",1
,"<img src='"+imgLocation+"images/button_directory.gif' border='0'>","http://www.stpso.com/directory.php",,"",1
,"<img src='"+imgLocation+"images/button_links.gif' border='0'>","http://www.stpso.com/links.php",,"",1

//,"Hurricane Katrina Updates","/hurricane.php",,"",1
,"<img src='"+imgLocation+"images/button_onlinevideos.gif' border='0'>","http://vimeo.com/stpso/videos",,"",1
,"<img src='"+imgLocation+"images/button_home.gif' border='0'>","http://www.stpso.com/index.php",,"",1
])

	addmenu(menu=["about",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Meet Sheriff Jack Strain Jr.","http://www.stpso.com/page.php?p=meet_sheriff",,,1
	,"Executive Staff","http://www.stpso.com/page.php?p=exe_staff",,,1
	,"Budget","show-menu=budgets",,,1
	//,"Crime Statistics","/page.php?p=crime_stats",,,1
	//,"History of STPSO","/page.php?p=stpso_history",,,1
	,"Memorial","http://www.stpso.com/page.php?p=memorial",,,1
	//,"Finance Presentation","/presentation/index.html",,,1	
	])

	addmenu(menu=["budgets",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"General Fund","http://www.stpso.com/budgets/genfund.pdf target=_blank",,,1
	,"Jail Expansion Fund","http://www.stpso.com/budgets/jailfund.pdf target=_blank",,,1
	,"Inmate Commissary Fund","http://www.stpso.com/budgets/commsfund.pdf target=_blank",,,1
	//,"Capital Project Fund","http://www.stpso.com/budgets/capprjfd.pdf target=_blank",,,1
	])

	addmenu(menu=["collections",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Locations and Methods of Payment","http://www.stpso.com/page.php?p=payment",,,1
	,"Ticket Amounts","http://www.stpso.com/page.php?p=tickets",,,1
	])
	
	addmenu(menu=["hr",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Welcome","http://www.stpso.com/page.php?p=human_resources",,,1
	,"Employment","http://www.stpso.com/page.php?p=employment",,,1
	])

	addmenu(menu=["dept",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Central Dispatch (911)","http://www.stpso.com/page.php?p=central_dispatch",,,1
	,"Civil & Tax Division","show-menu=civil",,,1
	,"Crime Laboratory","http://www.stpso.com/page.php?p=crime_lab",,,1
	,"Criminal Patrol","http://www.stpso.com/page.php?p=criminal_patrol",,,1
	,"Criminal Records","http://www.stpso.com/page.php?p=criminal_records",,,1
	,"Human Resources","show-menu=hr",,,1
	,"Information Systems","http://www.stpso.com/page.php?p=information_systems",,,1
	,"Internal Affairs","http://www.stpso.com/page.php?p=internal_affairs",,,1
	,"Investigations","show-menu=invest",,,1
	,"K-9 Division","http://www.stpso.com/page.php?p=k9",,,1
	,"Operations","show-menu=operations",,,1
	,"Purchasing","http://www.stpso.com/page.php?p=purchasing",,,1
	,"Radio Maintenance","http://www.stpso.com/page.php?p=radio_main",,,1
	,"Reserve Division","http://www.stpso.com/page.php?p=reserve_division",,,1
	,"Special Operations","http://www.stpso.com/page.php?p=special_ops",,,1
	//,"Civil & Tax Division","/page.php?p=civil_tax",,,1
	,"S.W.A.T.","http://www.stpso.com/page.php?p=swat",,,1
	,"Ticket/Court Fines Collections","http://www.stpso.com/page.php?p=ticket_collections",,,1
	,"Transitional Work","http://www.stpso.com/page.php?p=work_release",,,1
	,"Vehicle Maintenance","http://www.stpso.com/page.php?p=vehiclemaintenance",,,1
	//,"Domestic Violence","/page.php?p=dom_violence",,,1
	
	])
	
	addmenu(menu=["invest",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Investigations", "http://www.stpso.com/page.php?p=investigations",,,1
	,"Major Crimes","http://www.stpso.com/page.php?p=mjcrimes",,,1
	,"Juvenile","http://www.stpso.com/page.php?p=juve",,,1
	,"Persons","http://www.stpso.com/page.php?p=persons",,,1
	,"Property","http://www.stpso.com/page.php?p=property",,,1
	,"Domestic Violence","http://www.stpso.com/page.php?p=dom_violence",,,1
	,"Submit Anonymous Tip","http://www.stpso.com/tipform.html",,,1
	
	])
	
	addmenu(menu=["civil",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Civil","http://www.stpso.com/page.php?p=civil_tax",,,1
	,"Property","http://www.stpso.com/page.php?p=civil_property",,,1
	,"Sales", "http://www.stpso.com/page.php?p=civil_sales",,,1
	,"Occupational License","http://www.stpso.com/page.php?p=civil_occupational",,,1
	])

	addmenu(menu=["operations",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"SWAT","http://www.stpso.com/page.php?p=operations_SWAT",,,1
	,"Bomb Squad","http://www.stpso.com/page.php?p=operations_bomb",,,1
	,"Hostage Negotiations","http://www.stpso.com/page.php?p=operations_hostage",,,1
	,"Dive Team","http://www.stpso.com/page.php?p=operations_dive",,,1
	,"Marine/Rescue","http://www.stpso.com/page.php?p=operations_marine",,,1
	,"Mounted","http://www.stpso.com/page.php?p=operations_mounted",,,1
	,"Air Wing","http://www.stpso.com/page.php?p=operations_air",,,1
	,"Narcotics","http://www.stpso.com/page.php?p=operations_narcotics",,,1
	,"Street Crimes","http://www.stpso.com/page.php?p=operations_street",,,1
	,"Methamphetamine Response","http://www.stpso.com/page.php?p=operations_meth",,,1
	,"Reserves","http://www.stpso.com/page.php?p=operations_reserves",,,1
	,"School Crossing Guards","http://www.stpso.com/page.php?p=operations_school",,,1
	])

	addmenu(menu=["correct",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Corrections","http://www.stpso.com/page.php?p=corrections",,,1
	,"Bonding Procedures","http://www.stpso.com/page.php?p=bonding_procedures",,,1
	,"Inmate Mail", "http://www.stpso.com/page.php?p=inmate_mail",,,1
	,"Special Visit Procedure","http://www.stpso.com/page.php?p=spvisit",,,1
	,"Visitation Dress Code","http://www.stpso.com/page.php?p=dresscode",,,1
	,"Visitation Non-permissable Items List","http://www.stpso.com/page.php?p=itemslist",,,1
	,"Visitation Rules","http://www.stpso.com/page.php?p=visitrules",,,1
	,"Visitation Schedule","http://www.stpso.com/page.php?p=visitschedule",,,1
	,"Inmate Money / Commissary","http://www.stpso.com/page.php?p=inmate_money",,,1
	])
	
	addmenu(menu=["community",,,150,1,,style2,0,"",effect,0,,,,,,,,,,,
	,"Business Crime Prevention","http://www.stpso.com/page.php?p=business_crime",,,1
	,"Child Safety Awareness","http://www.stpso.com/page.php?p=child_safety",,,1
	,"Identity Theft","http://www.stpso.com/identitytheft.html",,,1
	,"Lady Beware","http://www.stpso.com/page.php?p=lady_beware",,,1
//	,"Jr. Deputy / Explorer Post","/page.php?p=explorer_post",,,1
//	,"Domestic Violence","/page.php?p=dom_violence",,,1
	,"Neighborhood Watch","http://www.stpso.com/page.php?p=hood_watch",,,1
	,"Senior Safety","http://www.stpso.com/page.php?p=senior_safety",,,1
	])
	
  addmenu(menu=["contact",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"General Info","http://www.stpso.com/page.php?p=gen_info",,,1
	,"Purchasing","http://www.stpso.com/page.php?p=purchasing",,,1
	//,"Join our Email List","http://www.crimewatchalert.com/ target=_blank",,,1
	])
	
  addmenu(menu=["comms",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"East St. Tammany","#",,,1
	,"West St. Tammany","#",,,1
	])

  addmenu(menu=["offend",
	,,160,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Register for Community Notification","http://www.crimewatchalert.com/ target=_blank",,,1
	,"View Registry","http://www.watchsystems.com/la/sttammany/ target=_blank",,,1
	//,"View Registry","http://www.icrimewatch.net/sttammany/ target=_blank",,,1
	])

dumpmenus()
