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)}

effect = "gradientwipe(size=1.00, wipestyle=1, motion=forward, duration=.5);Alpha(style=0,opacity=90);Shadow(color='C8C8C8', Direction=145, Strength=60)"

function add_to_favorites(fav_url,fav_text) 
{ 
  var fav_url ="http://www.mobilemarineuk.co.uk";
  var fav_text = "Mobile Marine";
  if (document.all) window.external.AddFavorite(fav_url, fav_text) 
} 
 
 


timegap=100	// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=0;	// 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.
"#FF0000",			// Mouse Off Font Color
"#C8C8C8",			// Mouse Off Background Color
"#000000",			// Mouse On Font Color
"#FF0000",			// Mouse On Background Color
"#FF0000",			// Menu Border Color 
13,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Verdana, Arial, Helvetica, sans-serif",	// Font Name
0,					// Menu Item Padding
,		            // 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=[		// 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
,					// Menu Top - The Top position of the menu in pixels
,   			    // Menu Left - The Left position of the menu in pixels
130,				// 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 "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
"gradientwipe(size=1.00, wipestyle=0, motion=forward, duration=1.0)",// 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)
0, 					// 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)
0,					// 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.
0,					// Scrollable Menu
,					// Reserved for future use
,"Home","show-menu=aboutUs","/index.html",,1
,"Services","/services.html",,,1
,"Engines Outboard","show-menu=enginsoutboard",,,1
,"Engines Inboard","show-menu=enginsinboard",,,1
,"Inflatables","show-menu=inflatables",,,1
,"Boats","show-menu=boats",,,1
,"Accessories","show-menu=accessories",,,1
,"Trailers","/record.php?topcatid=6",,,1
,"Brokerage Boats","/record.php?topcatid=7",,,1
,"Contact Us","/contactUs.html",,,1




])
    addmenu(menu=["aboutUs",
	,,115,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Bookmark","javascript:add_to_favorites(\"\")",,,1
	
	,"Directions", "http://www.multimap.com/maps/?qs=ex13%208tn&countryCode=GB#map=50.76659,-2.99442|16|4&bd=useful_information&loc=GB:50.76783:-2.99485:16|ex13%208tn| target=_blank",,,1
	

	
	])
addmenu(menu=["enginsoutboard",
	,,115,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Mercury","show-menu=other",,,1
	,"Suzuki","/record.php?topcatid=1&subcatid=5",,,1
	
	
						])
							addmenu(menu=["other",
							    ,,95,1,"",style1,,"center",effect,,,,,,,,,,,,
								,"4 Stroke","/record.php?topcatid=1&subcatid=6",,,0
								,"Optimax","/record.php?topcatid=1&subcatid=20",,,0
								,"Verado","/record.php?topcatid=1&subcatid=21",,,0
	

])

	addmenu(menu=["enginsinboard",
	,,115,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Mercruiser","/record.php?topcatid=1&subcatid=4",,,1
	,"Yanmar","/record.php?topcatid=2&subcatid=7",,,1
	,"Beta","/record.php?topcatid=2&subcatid=8",,,1
	,"HMI Sole Diesel","/record.php?topcatid=2&subcatid=9",,,1
	,"Volkswagen Marine","/record.php?topcatid=2&subcatid=10",,,1

])

	addmenu(menu=["inflatables",
	,,115,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Other","/record.php?topcatid=3&subcatid=12",,,1
	,"Sunsport","/record.php?topcatid=3&subcatid=13",,,1
	,"Excel Inflatables","/record3.php?topcatid=3&subcatid=14",,,1
	
	
	])

	addmenu(menu=["boats",
	,,115,1,"",style1,,"center",effect,,,,,,,,,,,,
	,"Stingher Ribs","/record.php?topcatid=4&subcatid=15",,,1
	,"Predator Ribs","/record.php?topcatid=4&subcatid=16",,,1

	])
	
	addmenu(menu=["accessories",
	,,115,1,,style1,,"center",effect,0,,,,,,,,,,,
	,"Electronics","/record.php?topcatid=5&subcatid=17",,,1
	,"Chandlery","/record.php?topcatid=5&subcatid=18",,,1
	,"Security","/record.php?topcatid=5&subcatid=19",,,1

	])
	
	addmenu(menu=["contact"
	,,,115,1,"",style1,,effect,,,,,,,,,,,,
	
	])
	
	
	

dumpmenus()