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

// Special effect string for IE5.5 or above
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)" // Stop IE5.5 bug when using more than one filter
}

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

style1=[				// style1 is an array of properties.
"ffffff",					// Mouse Off Font Color
"transparent",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"transparent",				// Mouse On Background Color
"transparent",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"arial, verdana",		// Font Name
2,						// Menu Item Padding
"menu/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"",				// 3D High Color
"",				// 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
"000000",		// Mouse Off Font Color
"ffffff",  // Mouse Off Background Color 696969
"ffffff",  // Mouse On Font Color 696969
"ee5800",		// Mouse On Background Color ffffff da4105
"56595c",		// Menu Border Color 5659c
11,		// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"verdana, arial",		// Font Name
2,		// Menu Item Padding
"http://www.aibdca.org/menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
"1",		// 3D Border & Separator bar
"",	// 3D High Color
"",	// 3D Low Color
"",	// Current Page Item Font Color
"",	// Current Page Item Background Color
"",	// Top Bar image
"",	// Menu Header Font Color
"",  // Menu Header Background Color
]

addmenu(menu=[		// Main menu properties array
"mainmenu",		// Menu Name
218,		// Menu Top Position
0,		// Menu Left Position
120,		// Menu Width
0,		// Border Width 
"center",		// 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)
1, 	// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,		// 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
,		// 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)
0,	 // Background image for menu Color must be set to transparent for this to work
0,  // Scrollable Menu
,  // Miscellaneous Menu Properties

,"Home Page","show-menu=home",,"AIBD-CA Home",0 // "Text", "URL", "Alt URL", "Status", "Separator Bar"
,"About AIBD-CA","show-menu=about",,"About AIBD-CA",0
,"Find Designers","show-menu=designer",,"Locating A Designer",0
,"Joining AIBD-CA","show-menu=join",,"Joining AIBD",0
,"Awards Gallery","http://www.aibdca.org/gallery.php",,"Design Awards Gallery",1
,"Members Section","show-menu=members",,"Members Section",0
])

	addmenu(menu=["home",
	,,160,1,"",style2,,"left",,,,,,,,,,,,,
	,"Home Page","http://www.aibdca.org/index.php",,"AIBD-CA Home Page",1
	,"Contact Us","http://www.aibdca.org/contact.php",,"Contact Us",1
	,"Email Us","mailto:info&#64;aibdca.org",,"Email Us",1
	,"Related Links","http://www.aibdca.org/links.php",,"Related Links",1
	])

	addmenu(menu=["about",
	,,160,1,"",style2,,"left",,,,,,,,,,,,,
	,"Mission Statement","http://www.aibdca.org/mission.php",,"Mission Statement",1
	,"AIBD-CA Officers","http://www.aibdca.org/officers.php",,"Officers",1	
	,"AIBD History","http://www.aibdca.org/history-aibd.php",,"AIBD History",1
	,"Calendar of Events","show-menu=events",,"Calendar of Events",1
	,"Newsletters","http://www.aibdca.org/newsletters.php",,"Newsletters",1
	])

	addmenu(menu=["designer",
	,,160,1,"",style2,,"left",,,,,,,,,,,,,
	,"Members Directory","http://www.aibdca.org/designers.php",,"AIBD-CA Designers",1
	,"A Guide to Residential Design Specialist","show-menu=guide",,"A Guide to Residential Design Specialist",1
	])

	addmenu(menu=["join",
	,,165,1,"",style2,,"left",,,,,,,,,,,,,
	,"How to Apply","http://www.aibdca.org/membership-apply.php",,"How to Apply",1
	])

	addmenu(menu=["members",
	,,160,1,"",style2,,"left",,,,,,,,,,,,,
	,"Member Login","http://www.aibdca.org/login.php",,"Member Login",1
	])

	addmenu(menu=["events",
	,,186,1,"",style2,,"left",,,,,,,,,,,,,
	,"Events","http://www.aibdca.org/events.php",,"Events",1
	,"Board Meeting Schedule","http://www.aibdca.org/meetings-board.php",,"Board Meeting Schedule",1
	,"Chapter Meetings","http://www.aibdca.org/meetings-chapter.php",,"Chapter Meetings",1
	,"Design Competitions","http://www.aibdca.org/competitions.php",,"Design Competitions",1
	,"Seminars &amp; Annual Conference","seminars.php",,"Seminars &amp; Annual Conference",1
	])

	addmenu(menu=["guide",
	,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,"Why You Should Use a Designer","http://www.aibdca.org/guide-why.php",,"Why You Should Use a Professional Building Designer",1
	,"How to Find the Right Designer","http://www.aibdca.org/guide-how.php",,"How to Find the Right Building Designer",1
	,"Your Role on the Design Team","http://www.aibdca.org/guide-role.php",,"Your Role on the Design Team",1
	,"Working with Your Designer","http://www.aibdca.org/guide-working.php",,"Working with Your Building Designer",1
	])

dumpmenus()
