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)}


http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88)"


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
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.
"white",				// Mouse Off Font Color
"FF9900",			// Mouse Off Background Color
"FF9900",			// Mouse On Font Color
"white",			// Mouse On Background Color
"FF9900",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"FF9900",			// 3D High Color
"FF9900",			// 3D Low Color
"",			// Current Page Item Font Color (leave this blank to disable)
"",				// Current Page Item Background Color (leave this blank to disable)
"menu/arrowdn.gif",	// 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)
"FF9900",				// Menu Item Separator Color
]


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
183,					// Menu Top - The Top position of the menu in pixels
12,				// Menu Left - The Left position of the menu in pixels
,					// 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 "top:left"
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)
"right",				// 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)
,					// 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"&nbsp;&nbsp;&nbsp;&nbsp;&#1575;&#1604;&#1589;&#1601;&#1581;&#1577;	&#1575;&#1604;&#1585;&#1574;&#1610;&#1587;&#1610;&#1577;","home.html",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;&nbsp;&#1575;&#1587;&#1578;&#1601;&#1587;&#1575;&#1585;&#1575;&#1578;&nbsp;&nbsp;","show-menu=about",,"",1
,"&nbsp;&nbsp;&#1576;&#1585;&#1575;&#1583;&#1585; &#1601;&#1610;&#1604;&#1604;&#1609;&nbsp;&nbsp;","show-menu=pws",,"",1
,"&nbsp;&nbsp;&#1575;&#1604;&#1583;&#1608;&#1604;	&#1575;&#1604;&#1571;&#1593;&#1590;&#1575;&#1569;&nbsp;&nbsp;","member_list.html",,"",1
,"&nbsp;&#1580;&#1583;&#1608;&#1604; &#1575;&#1604;&#1571;&#1581;&#1583;&#1575;&#1579; &#1575;&#1604;&#1607;&#1575;&#1605;&#1577;&nbsp;&nbsp;","calendar.html",,"Calendar of Events",1
,"&nbsp;&#1571;&#1582;&#1576;&#1575;&#1585;	&#1575;&#1604;&#1580;&#1605;&#1593;&#1610;&#1577;&nbsp;&nbsp;","show-menu=news",,"",1
,"&nbsp;&nbsp;&nbsp;&#1575;&#1604;&#1578;&#1576;&#1585;&#1593;&#1575;&#1578;&nbsp;","donations.html",,"",1
,"&nbsp;&nbsp;&#1604;&#1604;&#1575;&#1578;&#1589;&#1575;&#1604; &#1576;&#1606;&#1575;&nbsp;&nbsp;","feedback_form.html",,"How to Contact Us",1
])

	addmenu(menu=["about",
	,,225,1,"",style1,,"right",effect,,,,,,,,,,,,
	,"&#1581;&#1608;&#1604;	&#1575;&#1604;&#1580;&#1605;&#1593;&#1610;&#1577;","about.html",,,1
	,"&#1605;&#1607;&#1605;&#1578;&#1606;&#1575;","mission.html",,,1
	,"&#1575;&#1604;&#1593;&#1590;&#1608;&#1610;&#1577;","membership.html",,,1
	,"&#1583;&#1587;&#1578;&#1608;&#1585;	&#1575;&#1604;&#1580;&#1605;&#1593;&#1610;&#1577;","constitution.html",,,1
	,"&#1571;&#1593;&#1590;&#1575;&#1569; &#1605;&#1580;&#1604;&#1587; &#1575;&#1604;&#1573;&#1583;&#1575;&#1585;&#1577; &#1608; &#1575;&#1604;&#1605;&#1587;&#1574;&#1608;&#1604;&#1610;&#1606;","officers.html",,,1
	])


	addmenu(menu=["PWS",
	,,160,1,"",style1,,"right",effect,,,,,,,,,,,,
	,"&#1605;&#1575;&#1607;&#1608;	&#1576;&#1585;&#1575;&#1583;&#1585; &#1601;&#1610;&#1604;&#1604;&#1609;","what_is_pws.html",,,1
	,"&#1604;&#1593;&#1604;&#1575;&#1580; &#1605;&#1578;&#1604;&#1575;&#1586;&#1605;&#1577; &#1576;&#1585;&#1575;&#1583;&#1585; &#1601;&#1610;&#1604;&#1604;&#1609;","management_of_pws.html",,,1
	,"&#1604;&#1606;&#1588;&#1585;&#1575;&#1578;","publications.html",,,1
	,"&#1575;&#1585;&#1578;&#1576;&#1575;&#1591;&#1575;&#1578;","links.html",,,1
	])

	addmenu(menu=["news",
	,,160,1,"",style1,,"right",effect,,,,,,,,,,,,
	,"&#1589;&#1608;&#1585; &#1608;&#1578;&#1602;&#1575;&#1585;&#1610;&#1585;","conferencereports.html",,,1
	,"&#1585;&#1603;&#1606; &#1575;&#1604;&#1585;&#1574;&#1610;&#1587;","presidents_corner.html",,,1
	,"&#1578;&#1602;&#1575;&#1585;&#1610;&#1585;&#1591;&#1576;&#1610;&#1577;","medical_reports.html",,,1
	,"&#1605;&#1575; &#1607;&#1608;&#1575;&#1604;&#1580;&#1583;&#1610;&#1583;","whats_news.html",,,1
	])



dumpmenus()

