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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" 
}

timegap=500		
followspeed=5		
followrate=40		
suboffset_top=1;	
suboffset_left=10;	

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
"1059A5",				// Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"387EC6",				// Mouse On Background Color
"000000",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",		// Font Name
4,						// Menu Item Padding
"http://www.hometownlife.com/graphics/arrow_search2.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"8083FE",				// 3D High Color
"8083FE",				// 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)
]

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.
"fff7d6",					// Mouse Off Font Color
"126742",				// Mouse Off Background Color
"FCF004",				// Mouse On Font Color
"2B9334",				// Mouse On Background Color
"2B9334",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",		// Font Name
4,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"8083FE",				// 3D High Color
"8083FE",				// 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)
]

style3=[				// 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.
"fff7d6",					// Mouse Off Font Color
"69AE3E",				// Mouse Off Background Color
"000044",				// Mouse On Font Color
"B5DC87",				// Mouse On Background Color
"B5DC87",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",		// Font Name
4,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"BCE594",				// 3D High Color
"BCE594",				// 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
"guidemenu",			// Menu Name - This is needed in order for the menu to be called
281,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
120,					// 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"
style3,				// 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
,				// 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)
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)
,					// 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
,"&nbsp;Visitors Guide&nbsp;","http://www.thedesertsun.com/visitorsguide",,"",1
])
*/
addmenu(menu=[		
"mainmenu",		
105,			
10,			
120,			
1,			
,			
style1,			
1,			
"left",			
,			
0,			
0, 			
,			
,			
,			
,			
,			
,			
,			
,			
,			                                  
,"&nbsp;Oakland County&nbsp;","show-menu=oakland","#","",1          
,"&nbsp;Wayne County&nbsp;","show-menu=wayne","#","",1
,"&nbsp;Sports&nbsp;","http://www.hometownlife.com/apps/pbcs.dll/section?Category=SPORTS&template=front",,,1
,"&nbsp;Community Life&nbsp;","http://www.hometownlife.com/apps/pbcs.dll/section?Category=LIFE",,,1 
,"&nbsp;Entertainment&nbsp;","http://www.hometownlife.com/apps/pbcs.dll/section?Category=ENT",,,1 
,"&nbsp;Health&nbsp;","http://www.hometownlife.com/apps/pbcs.dll/section?Category=HEALTH",,,1 
,"&nbsp;Taste&nbsp;","http://www.hometownlife.com/apps/pbcs.dll/section?Category=TASTE",,,1
,"&nbsp;Real Estate&nbsp;","http://hometownlife.gon.gannettonline.com/apps/pbcs.dll/section?category=HOMES&pub=hometownlife",,,1
,"&nbsp;Obituaries&nbsp;","http://www.hometownlife.com/apps/pbcs.dll/section?Category=OBITS",,,1
,"&nbsp;Forums&nbsp;","http://forums.hometownlife.com",,,1
,"&nbsp;RSS Feeds&nbsp;","/apps/pbcs.dll/section?Category=CUSTOMERSERVICE33",,,1
])


addmenu(menu=["oakland",
	,130,110,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Birmingham","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS02",,,1
	,"Clarkston","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS04",,,1
	,"Farmington","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS06",,,1
	,"Lake Orion","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS09",,,1
	,"Milford","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS11",,,1
	,"Novi","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS13",,,1
	,"Oxford","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS14",,,1
	,"Rochester","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS17",,,1
	,"Royal Oak","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS18",,,1
	,"South Lyon","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS19",,,1
	,"Southfield","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS20",,,1
	,"Troy","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWs22",,,1
	,"West Bloomfield","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS23",,,1
	])

	addmenu(menu=["wayne",
	,130,110,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Canton","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS03",,,1
	,"Garden City","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS08",,,1
	,"Livonia","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS10",,,1
	,"Northville","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS12",,,1
	,"Plymouth","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS15",,,1
	,"Redford","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS16",,,1
	,"Westland","http://www.hometownlife.com/apps/pbcs.dll/section?Category=NEWS24",,,1
	])

dumpmenus()