//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 unless you have more than one _array.js file


////////////////////////////////////
// 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
if(navigator.appVersion.indexOf("MSIE 6.0")>0){

	//effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=8);"	
	

	//effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=45, Strength=7);Shadow(color='#777777', Direction=135, Strength=7);Shadow(color='#777777', Direction=225, Strength=7);Shadow(color='#777777', Direction=315, Strength=7);"	

	//effect = "Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5);"
   //effect = "Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5);"
	//effect = "Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5);"
	effect = "Shadow(color=777777, Direction=135, Strength=5);"
}
else{
	effect = "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=10              // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position



PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"153A6C",                       // Mouse Off Font Color
"E4C59D",//"ccccff",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffebdc",                     // Mouse On Font Color
"153A6C",//"000066",//"4b0082",                     // Mouse On Background Color
"153A6C",                     // Menu Border Color
"12",                         // 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)
"verdana,helvetica",          // Font Name
4,                            // Menu Item Padding or spacing
"http://www.tustinca.org/images/arrow.gif",                  // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
"ffff00",                     // 3D High Color
"ccffff",                     // 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)
,                             // 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)
,                             // Menu Item Separator Color
]
////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////
addmenu(menu=[
"Mainmenu",                   // Menu Name - This is needed in order for this menu to be called
115,                          // Menu Top - The Top position of this menu in pixels
4,                          // Menu Left - The Left position of this menu in pixels
171,                             // Menu Width - Menus width in pixels
2,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this 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 Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties

// "Menu Item Text", "URL", "Alternate URL for submenu holders", "Status Text", "Separator Bar Width"
,"Home","../index.htm",,"Home",1 
,"About Us","show-menu=AboutUs","../AboutUs/AboutUs.htm","About Us",1
,"Security","show-menu=Security",,"Security",1
//,"Business Security","show-menu=BusinessSecurity",,"Business Security",1
,"Child Safety","show-menu=ChildSafety",,"Child Safety",1
,"Community Policing","show-menu=CommunityPolicing",,"Community Policing",1
,"Employment","../Employment.htm",,"Employment",1
,"FAQs","show-menu=FAQs",,"FAQs",1
//,"Home Security","show-menu=HomeSecurity",,"Home Security",1
,"Resource Directory","../ResourceDirectory.htm",,"Resource Directory",1
,"Adopt A Complex","../AdoptAComplex/index.htm",,"Adopt A Complex",1
,"Contact Us", "../ContactUs.htm",,"Contact Us",1
,"City of Tustin","http://www.tustinca.org target=_blank",,"City of Tustin",1
,"Current Police Activity","http://egov.ocgov.com/ocgov/Sheriff-Coroner/E-Services/Orange%20County%20Crime%20Calls target=_blank",,"Current Police Activity",1
,"Administrative Citation Program","http://www.tustinca.org/departments/commdev/administrativecitation.html" ,,"Administrative Citation Program",1
,"Parking Permits Application","https://www.tustinca.org/ParkingPermits/index.html target=_blank" ,,"Parking Permits Application",1
,"Chief's Advisory Board","../CAB/index.htm",,"Chiefs Advisory Board",1
])

addmenu(menu=["AboutUs",,,165,1,"",PlainStyle,,,effect,,,,,,,,,,,,
   ,"About Us","../AboutUs/aboutus.htm",,"About Us",1
   ,"About the Chief","../AboutUs/aboutChief.htm",,"About the Chief",1
   //,"Chiefs Thoughts", "../AboutUs/ChiefThoughts.htm",,"Chiefs Thoughts",1   
   ,"Core Values", "../AboutUs/CoreValues.htm",,"Core Values",1
   ,"Memorial", "../AboutUs/Memorial.htm",,"Memorial",1
   ,"Mission Statement", "../AboutUs/MissionStatement.htm",,"Mission Statement",1   
   ,"Vision Statement", "../AboutUs/MissionStatement.htm",,"Vision Statement",1
   ,"Code of Ethics", "../AboutUs/CodeofEthics.htm",,"Code of Ethics",1   
])
	addmenu(menu=["CommunityPolicing",,,170,1,"",PlainStyle,,,effect,,,,,,,,,,,,
   		,"Citizen Academy", "../CommunityPolicing/CitizenAcademy.htm",,"Citizen Academy",1   		
   		,"Comm. Response Center", "../CommunityPolicing/CommunityResponseCenter.htm",,"Community Response Center",1
		,"Community Crime Alert", "../CommunityPolicing/CommunityCrimeAlert.htm",,"Community Crime Alert",1
   		,"Disaster Preparedness", "../CommunityPolicing/DisasterPreparedness.htm",,"Disaster Preparedness",1   		
			,"Explorers","../Explorers",,"Explorers",1
			,"Graffiti","../CommunityPolicing/Graffiti.htm",,"Graffiti",1
			,"Seniors","../CommunityPolicing/Seniors.pdf target=_blank",,"Seniors",1
			,"Volunteers","../CommunityPolicing/Volunteers.htm",,"Volunteers",1
   		//,"Virtual Tour", "../AboutUs/VirtualTour.htm",,"Virtual Tour",1   		
	])

addmenu(menu=["Security",,,160,1,"",PlainStyle,,,effect,,,,,,,,,,,,
	,"Business Security","show-menu=BusinessSecurity",,"Business Security",1
	,"Home Security","show-menu=HomeSecurity",,"Home Security",1
])

addmenu(menu=["HomeSecurity",,,160,1,"",PlainStyle,,,effect,,,,,,,,,,,,
	,"Alarm Permits", "../BusinessSecurity/AlarmPermit.htm",,"Alarm Permits",1   
	,"Earthquake Survival", "../HomeSecurity/Earthquake.htm",,"Earthquake Survival",1   
	,"Identity Theft", "../BusinessSecurity/IdentityTheft.htm",,"Identity Theft",1
   ,"Mail Watch", "../BusinessSecurity/MailWatch.htm",,"Mail Watch",1
   ,"Neighborhood Watch", "../BusinessSecurity/NeighborhoodWatch.pdf",,"Neighborhood Watch",1
   //,"Neighborhood Watch", "../",,"Neighborhood Watch",1   
   //,"Prevent Auto Theft", "../",,"Prevent Auto Theft",1
   //,"Protect Your Home", "../",,"Protect Your Home",1
   //,"Vacation Checks","../HomeSecurity/VacationCheck.htm",,"Vacation Checks",1
])

addmenu(menu=["ChildSafety",,,200,1,"",PlainStyle,,,effect,,,,,,,,,,,,
   ,"Child Seat Inspections", "../ChildSafety/SeatInspections.htm",,"Child Seat Inspections",1   
	,"How to Install a Car Seat", "../News/videos/ChildSafetySeats.wmv",,"How to Install a Car Seat",1 
	,"Go-Ped Information", "../News/goped.htm",,"Go-Ped Information",1 
	,"Megans Law PSA", "../ChildSafety/MegansLaw.wmv target=_blank",,"Megans Law PSA",1   
   ,"Prevent Child Abduction","http://www.missingkids.com/missingkids/servlet/ResourceServlet?LanguageCountry=en_US&PageId=0 target=_blank",,"Prevent Child Abduction",1      
	,"School/Education Programs", "../ChildSafety/SchoolSecurity.htm",,"School/Education Programs",1   
,"Safety on Wheels","../ChildSafety/SafetyonWheels.htm",,"Safety on Wheels",1	
])

addmenu(menu=["BusinessSecurity",,,150,1,"",PlainStyle,,,effect,,,,,,,,,,,,
   ,"Business Security", "../BusinessSecurity/BusinessSecurity.htm",,"Business Security",1   
   ,"Alarm Permits", "../BusinessSecurity/AlarmPermit.htm",,"Alarm Permits",1   
   ,"Bad Checks", "../BusinessSecurity/BadChecks.htm",,"Bad Check Restitution Program",1      
   ,"Check Fraud", "../BusinessSecurity/CheckFraud.htm",,"Check Fraud",1      
   ,"E-Watch", "../eWatch/E-Watch.asp",,"E-Watch",1   
	,"Identity Theft", "../BusinessSecurity/IdentityTheft.htm",,"Identity Theft",1
])

addmenu(menu=["FAQs",,,200,1,"",PlainStyle,,,effect,,,,,,,,,,,,   
   ,"How to Contact Us", "../ContactUs.htm",,"How to Contact Us",1
	,"Identity Theft", "../BusinessSecurity/IdentityTheft.htm",,"Identity Theft",1
	,"Laser/Radar Info", "../FAQs/LaserRadarInfo.htm",,"Laser/Radar Info",1
	,"Reporting Graffiti", "../FAQs/Graffiti.htm",,"Reporting Graffiti",1
   //,"Traffic Stops", "../FAQs/TrafficStops.htm",,"Traffic Stops",1
   ,"What is suspicious", "../FAQs/Suspicious.htm",,"What Teens want to know",1
	,"What Teens want to know", "../FAQs/TeenFAQs.htm",,"What is suspicious",1
   ,"What Parents want to know","../FAQs/ParentFAQs.htm",,"What parents want to know",1
	,"When to use 9-1-1","../FAQs/Using911.htm",,"When to use 9-1-1",1
])

////////////////////////////////////////////////////////////////////////////////////////////////
//////   Second Menu Start
////////////////////////////////////////////////////////////////////////////////////////////////
/*
addmenu(menu=[
"Mainmenu2",
4,
220,
,
1,
,
PlainStyle,
1,
,
,
0,
1,
0,
,
,
0,
0,
,
,
0,
,
,"Home","/menu/",,,1
,"Press Releases","show-menu=Links","#",,1
,"Feedback","show-menu=News","#",,1
,"Webmaster","show-menu=WebMaster","#",,1
])
*/




dumpmenus();