/*
 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.
*/


//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.

twidth = 187;
if(is_ie5up)
  {
  clientW = document.body.clientWidth;
  offset = (document.body.clientWidth/2)-(twidth/2);
  }
else if(is_nav4)
  {
  offset = (window.innerWidth/2)-(twidth/2)-9;
  }
else
  {
  offset = (window.innerWidth/2)-(twidth/2)-9;
  }

if(offset < 0)
  {
  offset = 0;
  } 
  
offset = offset+26; 

function reloadIt() {
    document.location = document.location;
	getH = document.body.clientHeight;
	getW = document.body.clientWidth;
	//alert(offset);
	if(offset != Math.ceil(offset))
	  {
	  window.resizeTo(width=getW);
	  offset = Math.ceil(offset);
	  }
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

////////////////////////////////////
// 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=200			// The time delay for menus to remain visible
followspeed=4		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=8;	// Sub menu offset Top position 
suboffset_left=1;	// 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.
"00004f",				// Mouse Off Font Color
"cad4e0",			// Mouse Off Background Color
"00004f",			// Mouse On Font Color
"8a98a8",			// Mouse On Background Color
"00004f",			// 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)
"440E62",				// 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.
"",					// Mouse Off Font Color
"",				// Mouse Off Background Color
"",				// Mouse On Font Color
"",				// Mouse On Background Color
"",				// Menu Border Color 
11,						// 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
"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)
"",
]



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
105,					// Menu Top - The Top position of the menu in pixels
offset,				// Menu Left - The Left position of the menu in pixels
130,					// Menu Width - Menus width in pixels
0,					// 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)
"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
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// 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)
0,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
0,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
"scroll",					// 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=images/indextemplate_residential.jpg border=0 onMouseOver=javascript:MM_showHideLayers('scroll','','hide')>","show-menu=resident","# swapimage=images/indextemplate_residential1.jpg;offfunction=undefined;","Residential",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=images/indextemplate_business.jpg border=0 onMouseOver=javascript:MM_showHideLayers('scroll','','hide')>","show-menu=business","# swapimage=images/indextemplate_business1.jpg;offfunction=undefined;","Business",0
,"<img src=images/indextemplate_visitor.jpg border=0 onMouseOver=javascript:MM_showHideLayers('scroll','','hide')>","show-menu=visitor","# swapimage=images/indextemplate_visitor1.jpg;offfunction=undefined;","Visitor",0
])

	addmenu(menu=["resident",
	,,150,1,"",style1,,"",effect,,,,,,,,"scroll",,,,
	,"City Government","government.php",,,1
	,"City Departments","departments.php",,,1
	,"Boards & Commissions","boards.php",,,1
	,"Utility Services","utilitiesservices.php",,,1
	,"Slidell History","history.php",,,1
	,"Community Information","community.php",,,1
	,"Links of Interest","links.php",,,1
	,"Citizen Work Order Request","http://209.200.119.169/wrext target=_blank",,,1
	])

	addmenu(menu=["business",
	,,150,1,"",style1,,"",effect,,,,,,,,"scroll",,,,
	,"Planning & Zoning","planning.php",,,1
	,"Building Safety","permits.php",,,1
	,"Engineering","engineering.php",,,1
	,"Public Works","publicworks.php",,,1
	,"Utility Services","utilitiesservices.php",,,1
	,"Water Treatment","watertreatment.php",,,1
	,"Occupational Licenses","occupational.php",,,1
	,"Economic Development","http://www.stedf.org/ target=_blank",,,1
	,"Sales Tax","salestax.php",,,1
	,"Property Tax","propertytax.php",,,1
	,"Purchasing","purchasing.php",,,1
	,"Public Notices","publicnotices.php",,,1
	,"Citizen Work Order Request","http://216.197.124.70/wrext target=_blank",,,1
	])

	addmenu(menu=["visitor",
	,,150,1,"",style1,,"",effect,,,,,,,,"scroll",,,,
	,"Tourist Information","tourist.php",,,1
	,"Community Information","community.php",,,1
	,"Events Calendar","calendar.php",,,1
	,"Local Weather","weather.php",,,1
	,"Photo Album","photo.php",,,1
	,"Links of Interest","links.php",,,1
	])

dumpmenus()