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)}

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.9);Gradient(gradientType=0,startColorStr=#ff00ff,endColorStr=#00ff99);"
	//Shadow(color='#999999', Direction=135, Strength=5);
}
else
{
	effect = "Fade(duration=0.9);Gradient(gradientType=0,startColorStr=#ff00ff,endColorStr=#00ff99);" // Stop IE5.5 bug when using more than one filter
	//Shadow(color='#999999', Direction=135, Strength=5);
}
timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=9;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

style1=[				// style1 is an array of Header properties.
"white",				// Mouse Off Font Color
"#004D84",				// Mouse Off Background Color
"black",				// Mouse On Font Color
"#ccccff",				// Mouse On Background Color
"",			// Menu Border Color 
12,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana,Tahoma,Microsoft Sans Serif,Trebuchet MS,Arial",		// Font Name
3,						// Menu Item Padding
"images/arrow10.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=[				// style2 is an array of Dropdown properties.
"black",				// Mouse Off Font Color
"#ffffff",				// Mouse Off Background Color gray is d4d0c8
"white",				// Mouse On Font Color
"transparent",				// Mouse On Background Color
"transparent",			// Menu Border Color 
11,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Tahoma,Microsoft Sans Serif,Verdana,Trebuchet MS,Arial",		// Font Name
3,						// Menu Item Padding
"images/arrow10.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 (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)
]

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
80,					// Menu Top - The Top position of the menu in pixels
118,					// Menu Left - The Left position of the menu in pixels
113,					// 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"
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
0,					// 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 (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
//,"Home","menu.htm",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"History","history.htm",,"A brief history",1
,"Seaboard Tour","show-menu=seaboardtour",,"Seaboard Tour",1
//,"&nbsp;&nbsp;Vessel Schedule&nbsp;&nbsp;","show-menu=vesselschedule",,"Vessel schedule",1
,"Contact Us","contact.htm",,"Contact Us",1
//,"&nbsp;&nbsp;Golf Tournament&nbsp;&nbsp;","show-menu=golftournament",,"Golf Tournament",1
//,"&nbsp;&nbsp;Booking Inquiry&nbsp;&nbsp;","under_construction.htm",,"",1
,"<IMG src='images/1x1.gif' width=1 height=14 border=0>","",,"",1

])

// seaboardtour	
	addmenu(menu=["seaboardtour",
	,,121,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Ro / Ro","ro-ro.htm",,,1
	,"&nbsp;Alliances","alliances.htm",,,1
	])

// vesselschedule	
//	addmenu(menu=["vesselschedule",
//	,,131,1,"",style2,,"left",effect,,,,,,,,,,,,
//	,"&nbsp;Japan","under_construction.htm",,,1
//	,"&nbsp;MED. & Misc","under_construction.htm",,,1
//	,"&nbsp;UK Continent","under_construction.htm",,,1
//	])

// golftournament	
	addmenu(menu=["golftournament",
	,,135,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"&nbsp;2002 Tournament","golftour.htm",,,1
	,"&nbsp;2003 Tournament","golftour03.htm",,,1
	,"&nbsp;2004 Tournament","golftour04.htm",,,1
	])

dumpmenus()



//----------------------- buttons colors -------------------------------
function changebg(Color){
var el=event.srcElement
if (el.type=="reset" || el.type=="submit" || el.type=="button")
event.srcElement.style.backgroundColor=Color
event.srcElement.style.borderBottomColor=Color
event.srcElement.style.borderLeftColor=Color
event.srcElement.style.borderRightColor=Color
event.srcElement.style.borderTopColor=Color
}
function changebd(color){
var el=event.srcElement
if (el.type=="text" || el.type=="password" || el.type=="textarea")
event.srcElement.style.borderBottomColor="#7e3517"
event.srcElement.style.borderLeftColor="#fbb917"
event.srcElement.style.borderRightColor="#7e3517"
event.srcElement.style.borderTopColor="#fbb917"
event.srcElement.style.borderWidth=2
}
function changebw(width){
var el=event.srcElement
if (el.type=="text" || el.type=="password" || el.type=="textarea")
event.srcElement.style.borderWidth=1
event.srcElement.style.borderBottomColor=""
event.srcElement.style.borderLeftColor=""
event.srcElement.style.borderRightColor=""
event.srcElement.style.borderTopColor=""

}

browser_version = parseInt(navigator.appVersion);
browser_type = navigator.appName;

if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='Stylesheets/stylesheetIEmenu.css' TYPE='text/css'>");
} 

else if (browser_type == "Netscape" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='Stylesheets/stylesheetNS.css' TYPE='text/css'>");
}