/*
 
*/

//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 //
////////////////////////////////////

timegap=200                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=40                 // Follow Scrolling Rate
suboffset_top=5              // Sub menu offset Top position
suboffset_left=13             // Sub menu offset Left position



EasySampleStyle=[             // EasySampleStyle is an array of properties. You can have as many property arrays as you need
"000000",                     // Mouse Off Font Color
"FAF9E0",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffffff",                     // Mouse On Font Color
"1C5594",                     // Mouse On Background Color
"1C5594",                     // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"verdana,arial",    // Font Name
3,                            // Menu Item Padding or spacing
"../images/nav_arrow.gif",                             // Sub Menu Image (Leave this blank if not needed)
,                            // 3D Border & Separator bar
"000000",                     // 3D High Color
"000000",                     // 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)
"BDC3C9",                             // Menu Item Separator Color
]


addmenu(menu=[
"services",                   // Menu Name - This is needed in order for this menu to be called
100,                          // Menu Top - The Top position of this menu in pixels
361,                          // Menu Left - The Left position of this menu in pixels
140,                          // 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"
EasySampleStyle,              // Properties Array - this array is declared higher up as you can see above
0,                            // 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
//,"Departments","show-menu=services1a","#",,1



//])


//addmenu(menu=["services1a",,500,200,1,,EasySampleStyle,0,,"",0,0,0,,,0,0,,,0,,
,"City Manager's Office","http://ci.sturgis.mi.us/departments_manager.htm",,,1
,"Admin Services & City Clerk's Office","http://ci.sturgis.mi.us/departments_cityclerk.htm",,,1
,"Community Development","http://ci.sturgis.mi.us/departments_community_devl.htm",,,1
,"Economic Development","http://ci.sturgis.mi.us/economicdev.htm",,,1
,"Electric Department","http://ci.sturgis.mi.us/departments_electrical.htm",,,1
,"Engineering & Dept. of Public Services","http://ci.sturgis.mi.us/departments_engineering.htm",,,1
,"Fire Department","http://ci.sturgis.mi.us/fire",,,1
,"Parks & Recreation","http://ci.sturgis.mi.us/departments_parks.htm",,,1
,"Police Department","http://ci.sturgis.mi.us/police",,,1
,"Sturgis Public Library","http://ci.sturgis.mi.us/library.htm",,,1
,"Sturges-Young Auditorium","http://ci.sturgis.mi.us/departments_auditorium.htm",,,1
,"Wastewater Treatment","http://ci.sturgis.mi.us/departments_wastewater.htm",,,1
])

addmenu(menu=["commission",100,463,200,1,,EasySampleStyle,0,,"",0,0,0,,,0,0,,,0,,
,"Introduction","http://ci.sturgis.mi.us/citycommission.htm",,,1
,"Commission Members","http://ci.sturgis.mi.us/commission_members.htm",,,1
,"Boards & Commission Listing","http://ci.sturgis.mi.us/boards_listing.htm",,,1
,"Board Application","http://ci.sturgis.mi.us/pdfs/BoardApp.pdf target=_blank",,,1
,"City Commission Priorities","http://ci.sturgis.mi.us/ccpriorities.htm",,,1
,"Minutes & Agendas","http://ci.sturgis.mi.us/minutes_agendas/minutes_agendas.htm",,,1
])

addmenu(menu=["information",100,565,150,1,,EasySampleStyle,0,,"",0,0,0,,,0,0,,,0,,
,"City Code of Ordinances", "http://www.municode.com/resources/gateway.asp?pid=11953&sid=22",,,1
,"2005-2006 Annual Operating Budget", "pdfs/2005-2006%20budget%20master.pdf",,,1
,"Permits & Applications","http://ci.sturgis.mi.us/information.htm",,,1
,"Action Line Request Forms","http://www.egovlink.com/sturgis/action.asp",,,1
,"Public Events Calendar","http://www.egovlink.com/sturgis/events/calendar.asp",,,1
,"Organization Chart","/pdfs/org_chart.pdf target=_blank",,,1
,"Bids Sought", "http://ci.sturgis.mi.us/bids.htm",,,1
,"Emergency Siren Test Schedule", "javascript:weathersiren()",,,1
])

addmenu(menu=["contact",100,667,125,1,,EasySampleStyle,0,,"",0,0,0,,,0,0,,,0,,
,"Department Listing","http://ci.sturgis.mi.us/contactus.htm",,,1
,"Feedback Form","http://ci.sturgis.mi.us/feedback.htm",,,
])

addmenu(menu=["SubMenu2",,,150,1,,EasySampleStyle,0,,"",0,0,0,,,0,0,,,0,,
,"Sub menu 2 item 1","http://ci.sturgis.mi.us/index.php",,,
,"Sub menu 2 item 2","# ",,,
])

addmenu(menu=["SubMenu1",,,186,1,,EasySampleStyle,0,,"",0,0,0,,,0,0,,,0,,
,"Sub menu 1 item 1","http://www.yahoo.com",,,
,"Sub menu 1 item 2 with a sub menu","show-menu=SubMenu2","#",,0
,"Sub menu 1 item 3","http://www.microsoft.com",,,
])

dumpmenus();