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.5);Alpha(style=0,opacity=99);Shadow(color='#333333', Direction=135, Strength=5)"
	effectT = "Fade(duration=0.5);Alpha(style=0,opacity=99)"
	effectL = "Fade(duration=0.5);Alpha(style=0,opacity=99);Shadow(color='#333333', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#333333', Direction=135, Strength=5)"
	effectT = "Shadow(color='#333333', Direction=135, Strength=0)"
	effectL = "Shadow(color='#333333', Direction=135, Strength=5)"
}

timegap=300				// 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. You can have as many property arrays as you need.
"ffffff",				// Mouse Off Font Color
"1c166b",				// Mouse Off Background Color
"1c166b",				// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
3,						// Menu Item Padding
"../image/include/pyl-wit.gif",		// Sub Menu Image (Leave this blank if not needed)
"1c166b",						// 3D Border & Separator bar
"1c166b",				// 3D High Color
"1c166b",				// 3D Low Color
"ffffff",				// Current Page Item Font Color (leave this blank to disable)
"1c166b",				// 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.
"ffffff",				// Mouse Off Font Color
"1c166b",				// Mouse Off Background Color
"1c166b",				// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"1c166b",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
3,						// Menu Item Padding
"../image/include/pyl-wit.gif",		// Sub Menu Image (Leave this blank if not needed)
"1c166b",						// 3D Border & Separator bar
"1c166b",				// 3D High Color
"1c166b",				// 3D Low Color
"ffffff",				// Current Page Item Font Color (leave this blank to disable)
"1c166b",				// 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
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
66,					// Menu Top - The Top position of the menu in pixels
200,				// Menu Left - The Left position of the menu in pixels
100,					// 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"
style2,				// 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
effectT,				// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Company","show-menu=company","/company/aboutMMR.asp","",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Products","show-menu=products","/products/overview.asp","",1
,"Services","show-menu=services","/services/services.asp","",1
,"Members","show-menu=members","/member/mainmenu.asp","",1
,"News","show-menu=news","/news/latestnews.asp","",1
])

	addmenu(menu=["products",,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Product Overview","/products/overview.asp",,"",1
	,"&nbsp;VTD/Adular Web-To-Host","/products/adular.asp",,"",1
	,"&nbsp;VTD/Amaril Emulator","/products/amaril.asp",,"",1
	,"&nbsp;VTD/8 Communication Servers","/products/vtd8_Tori.asp",,"",1
	,"&nbsp;Virga Backup System","/products/virga.asp",,"",1
	])
	
	addmenu(menu=["services",,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Complete range of Services","/services/services.asp",,"",1
	,"&nbsp;Maintenance Contracts","/services/maintenancecontracts.asp",,"",1
	,"&nbsp;Support","/Services/Support.asp",,"",1
	,"&nbsp;On-Site Training","show-menu=training","/services/training.asp","",1
	])

		addmenu(menu=["training",,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"&nbsp;Training VTD/Adular","/Services/Training_Adular.asp",,"",1
		,"&nbsp;Training VTD/Amaril","/Services/Training_Amaril.asp",,"",1
		,"&nbsp;Training VTD/Amaril Admin.","/Services/Training_AmarilAdmin.asp",,"",1
		,"&nbsp;Training VTD/8 Gateway","/Services/Training_VTD8.asp",,"",1
		])

	addmenu(menu=["news",,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Latest News","/news/latestnews.asp",,"",1
	,"&nbsp;Newsletter Archive","/news/newsletter.asp",,"",1
	])
	
	addmenu(menu=["members",,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Log on to Main Menu","/member/mainmenu.asp",,"",1
	,"&nbsp;Password Forgotten ?", "/member/password_forgotten.asp",,"",1
	,"&nbsp;Change your Password", "/member/change_password.asp",,"",1
	,"&nbsp;What's new on MMR.BE ?", "/member/whatsnew.asp",,"",1
	])
	
	addmenu(menu=["company",,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Who are we ?","/company/aboutMMR.asp",,"",1
	,"&nbsp;Worldwide Presence","/company/worldwidepresence.asp",,"",1
	,"&nbsp;Partners &amp; Distributors","/company/partners.asp",,"",1
	,"&nbsp;Map and Directions","/company/directions.asp",,"",1
	,"&nbsp;Contact Us","/company/contact.asp",,"",1
	])
	
dumpmenus()
