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.4);Alpha(style=0,opacity=100)"
}
else
{
effect = ""			// 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=100;	// Sub menu offset Left position
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
"045095",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"orange",			// Mouse On Background Color
"000040",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial,Helvetica,sans-serif",			// Font Name
"3",					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
"0",					// 3D Border & Separator bar
"000040",			// 3D High Color
"000040",			// 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)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000040",			// Menu Header Background Color (Leave blank if headers are not needed)
"000040",			// 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.
"FFFFFF",			// Mouse Off Font Color
"045095",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"orange",			// Mouse On Background Color
"000040",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial,Helvetica,sans-serif",			// Font Name
"3",					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
"0",					// 3D Border & Separator bar
"000040",			// 3D High Color
"000040",			// 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)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000040",			// Menu Header Background Color (Leave blank if headers are not needed)
"000040",			// 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
102,					// Menu Top - The Top position of the menu in pixels
"",					// Menu Left - The Left position of the menu in pixels
,						// Menu Width - Menus width in pixels
0,						// Menu Border Width 
"center",				// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of
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
effect,				// 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;Home&nbsp;","/ema/",,"Home",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar" 
,"|&nbsp;&nbsp;About&nbsp;EMA&nbsp;","show-menu=AboutEMA",,,0
,"|&nbsp;&nbsp;Membership&nbsp;","show-menu=Membership",,,0
,"|&nbsp;&nbsp;Constitution&nbsp;and&nbsp;Bye&nbsp;Laws&nbsp;","/ema/30Constitution_and_Bye_Laws/",,,0
,"|&nbsp;&nbsp;EU&nbsp;","show-menu=EU",,,0
,"|&nbsp;&nbsp;News&nbsp;and&nbsp;Activities&nbsp;","show-menu=NewsandActivities",,,0
,"|&nbsp;&nbsp;Position&nbsp;Papers&nbsp;","show-menu=PositionPapers",,,0
,"|&nbsp;&nbsp;Links&nbsp;","show-menu=Links",,,0
,"|&nbsp;&nbsp;Members&nbsp;","/ema/90Members/",,,0
])
addmenu(menu=["AboutEMA",,,,1,"",style2,,"left",effect,,,,,,,,,,,,
,"&nbsp;PRESIDENTS&nbsp;MESSAGE&nbsp;","/ema/10About_EMA/05PRESIDENTS_MESSAGE/","PRESIDENTS&nbsp;MESSAGE",,0
,"&nbsp;EMA&nbsp;BOARD&nbsp;","/ema/10About_EMA/10EMA_BOARD/","EMA&nbsp;BOARD",,0
,"&nbsp;AIMS&nbsp;AND&nbsp;OBJECTIVES&nbsp;","/ema/10About_EMA/20AIMS_AND_OBJECTIVES/","AIMS&nbsp;AND&nbsp;OBJECTIVES",,0
,"&nbsp;STRATEGIC&nbsp;PLAN&nbsp;","/ema/10About_EMA/30STRATEGIC_PLAN/","STRATEGIC&nbsp;PLAN",,0
,"&nbsp;CONTACT&nbsp;","/ema/10About_EMA/40CONTACT/","CONTACT",,0
])
addmenu(menu=["Membership",,,,1,"",style2,,"left",effect,,,,,,,,,,,,
,"&nbsp;TYPES&nbsp;OF&nbsp;MEMBERSHIP&nbsp;","/ema/20Membership/10TYPES_OF_MEMBERSHIP/","TYPES&nbsp;OF&nbsp;MEMBERSHIP",,0
,"&nbsp;EU&nbsp;MEMBERSHIP&nbsp;","/ema/20Membership/11EU_MEMBERSHIP/","EU&nbsp;MEMBERSHIP",,0
,"&nbsp;EMA&nbsp;MEMBERS&nbsp;","/ema/20Membership/20EMA_MEMBERS/","EMA&nbsp;MEMBERS",,0
,"&nbsp;APPLICATION&nbsp;FOR&nbsp;MEMBERSHIP&nbsp;","/ema/20Membership/30APPLICATION_FOR_MEMBERSHIP/","APPLICATION&nbsp;FOR&nbsp;MEMBERSHIP",,0
])
addmenu(menu=["EU",,,,1,"",style2,,"left",effect,,,,,,,,,,,,
,"&nbsp;EU&nbsp;LEGISLATION&nbsp;","/ema/40EU/01EU_LEGISLATION/","EU&nbsp;LEGISLATION",,0
,"&nbsp;EU&nbsp;EDUCATION&nbsp;","/ema/40EU/02EU_EDUCATION/","EU&nbsp;EDUCATION",,0
,"&nbsp;EU&nbsp;HEALTH&nbsp;POLICY&nbsp;","/ema/40EU/03EU_HEALTH_POLICY/","EU&nbsp;HEALTH&nbsp;POLICY",,0
,"&nbsp;EU&nbsp;DG&nbsp;SANCO&nbsp;","/ema/40EU/04EU_DG_SANCO/","EU&nbsp;DG&nbsp;SANCO",,0
,"&nbsp;TAIEX&nbsp;","/ema/40EU/05TAIEX/","TAIEX",,0
])
addmenu(menu=["NewsandActivities",,,,1,"",style2,,"left",effect,,,,,,,,,,,,
,"&nbsp;EMA&nbsp;NEWSLETTERS&nbsp;","/ema/50News_and_Activities/01EMA_NEWSLETTERS/","EMA&nbsp;NEWSLETTERS",,0
,"&nbsp;EMA&nbsp;PRESS&nbsp;RELEASE&nbsp;","/ema/50News_and_Activities/02EMA_PRESS_RELEASE/","EMA&nbsp;PRESS&nbsp;RELEASE",,0
,"&nbsp;BOARD&nbsp;MEMBERS&nbsp;ACTIVITIES&nbsp;2008&nbsp;","/ema/50News_and_Activities/03BOARD_MEMBERS_ACTIVITIES_2008/","BOARD&nbsp;MEMBERS&nbsp;ACTIVITIES&nbsp;2008",,0
,"&nbsp;EMA&nbsp;EDUCATION&nbsp;CONFERENCES&nbsp;","/ema/50News_and_Activities/04EMA_EDUCATION_CONFERENCES/","EMA&nbsp;EDUCATION&nbsp;CONFERENCES",,0
,"&nbsp;CONFERENCES&nbsp;","/ema/50News_and_Activities/05CONFERENCES/","CONFERENCES",,0
,"&nbsp;ALCOHOL&nbsp;AND&nbsp;HEALTH&nbsp;FORUM&nbsp;","/ema/50News_and_Activities/06ALCOHOL_AND_HEALTH_FORUM/","ALCOHOL&nbsp;AND&nbsp;HEALTH&nbsp;FORUM",,0
])
addmenu(menu=["PositionPapers",,,,1,"",style2,,"left",effect,,,,,,,,,,,,
,"&nbsp;REPRODUCTIVE&nbsp;AND&nbsp;SEXUAL&nbsp;HEALTH&nbsp;","/ema/60Position_Papers/04REPRODUCTIVE_AND_SEXUAL_HEALTH/","REPRODUCTIVE&nbsp;AND&nbsp;SEXUAL&nbsp;HEALTH",,0
,"&nbsp;ALCOHOL&nbsp;","/ema/60Position_Papers/ALCOHOL/","ALCOHOL",,0
,"&nbsp;ANTENATAL&nbsp;CARE&nbsp;","/ema/60Position_Papers/ANTENATAL_CARE/","ANTENATAL&nbsp;CARE",,0
])
addmenu(menu=["Links",,,,1,"",style2,,"left",effect,,,,,,,,,,,,
,"&nbsp;MAILING&nbsp;LISTS&nbsp;","/ema/70Links/01MAILING_LISTS/","MAILING&nbsp;LISTS",,0
,"&nbsp;INTERNATIONAL&nbsp;","/ema/70Links/02INTERNATIONAL/","INTERNATIONAL",,0
,"&nbsp;EU-EC&nbsp;","/ema/70Links/03EU-EC/","EU-EC",,0
,"&nbsp;PROFESSIONAL&nbsp;","/ema/70Links/04PROFESSIONAL/","PROFESSIONAL",,0
,"&nbsp;WOMEN&nbsp;HEALTH&nbsp;","/ema/70Links/05WOMEN_HEALTH/","WOMEN&nbsp;HEALTH",,0
])
dumpmenus()
