menunum=0;menus=new Array();_d=document;
function addmenu()
{menunum++;menus[menunum]=menu;
}

function dumpmenus()
{
mt="<scr"+"ipt language=JavaScript>";
for(a=1;a<menus.length;a++)
{mt+=" menu"+a+"=menus["+a+"];"
}
mt+="<\/scr"+"ipt>";_d.write(mt)}

effect = "Shadow(color='#036483', Direction=0, Strength=0)"
MainMenu_effect = "fade(duration=0.7);Shadow(color='#036483', Direction=0, Strength=0)"

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=5                  // Follow Scrolling Rate
suboffset_top=5               // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position

GrayOrange=[                  // GrayOrange is an array of properties. You can have as many property arrays as you need
"FFFFFF",                     // Mouse Off Font Color
"036483",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"FFF600",                     // Mouse On Font Color
"036483",                     // Mouse On Background Color
"FFFFFF",                     // Menu Border Color
"10",                         // 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,helvetica",    // Font Name
2,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 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)
,                    // Menu Item Separator Color
]
addmenu(menu=[
"menu1",      // Menu Name - This is needed in order for this menu to be called
60,           // Menu Top - The Top position of this menu in pixels
235,           // Menu Left - The Left position of this menu in pixels
0,            // 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"
GrayOrange,   // 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
MainMenu_effect,			 // Filter - Text variable for setting transitional effects on menu activation - see above for more info
1, // Follow Scrolling Top Position-Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1, // 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
,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;&nbsp;Home&nbsp;&nbsp;","index.html","#",,1
,"&nbsp;&nbsp;About&nbsp;&nbsp;","show-menu=AC","about.html",,1
,"&nbsp;&nbsp;Committees&nbsp;&nbsp;","show-menu=bc","ecm.html",,1
,"&nbsp;&nbsp;Programs&nbsp;&nbsp;","show-menu=AB","upcomingevents.html",,1
,"&nbsp;&nbsp;Special&nbsp;events&nbsp;&nbsp;","show-menu=SE","/pmpc2008/",,1
,"&nbsp;&nbsp;Education&nbsp;&&nbsp;Certification&nbsp;","certification.html","#",,1
,"&nbsp;&nbsp;Member&nbsp;services&nbsp;&nbsp;","show-menu=SV","membership.html",,1
,"&nbsp;&nbsp;Our&nbsp;Associations&nbsp;","show-menu=AS","pmirotary.html",,1])


addmenu(menu=["AC",,,138,1,,GrayOrange,0,,effect,0,0,0,,,0,0,,,0,,,
			  "&nbsp;&nbsp;About us","about.html",,,1,
			  "&nbsp;&nbsp;Vision & Mission","vision.html",,,1,
			  "&nbsp;&nbsp;Contact us","contactus.html",,,1])

addmenu(menu=["AB",,,138,1,,GrayOrange,0,,effect,0,0,0,,,0,0,,,0,,,
                          "&nbsp;&nbsp;PM Footprints","pmfootprints.html",,,1,
						 "&nbsp;&nbsp;Upcoming events","upcomingevents.html",,,1,
			  "&nbsp;&nbsp;Recent events","recentevents.html",,,1,
			  "&nbsp;&nbsp;Past events","pastevents.html",,,1])


addmenu(menu=["BC",,,212,1,,GrayOrange,0,,effect,0,0,0,,,0,0,,,0,,,
			  "&nbsp;&nbsp;Executive Committee","ecm.html",,,1,
			  "&nbsp;&nbsp;Advisory Committee","Advisors.html",,,1,
			  "&nbsp;&nbsp;Nominating Committee","ncmelections2009.html",,,1
])

addmenu(menu=["SE",,,212,1,,GrayOrange,0,,effect,0,0,0,,,0,0,,,0,,,
			  "&nbsp;&nbsp;PMPC 2009","pmpc2009/",,,1,
		   "&nbsp;&nbsp;PMPC 2008","pmpc2008/",,,1,
		   "&nbsp;&nbsp;PMPC 2007","pmpc2007/",,,1,
		   "&nbsp;&nbsp;PMPC 2006","pmpc2006/",,,1])

addmenu(menu=["SV",,,212,1,,GrayOrange,0,,effect,0,0,0,,,0,0,,,0,,,
		   "&nbsp;&nbsp;Membership","membership.html",,,1,
		   "&nbsp;&nbsp;Education & Certification","certification.html",,,1,
		   "&nbsp;&nbsp;PM Essence Newsletter","pmessence.html",,,1]),

addmenu(menu=["AS",,,212,1,,GrayOrange,0,,effect,0,0,0,,,0,0,,,0,,,
			  "&nbsp;&nbsp;With Rotary Bangalore West","pmirotary.html",,,1])

dumpmenus();