
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 = "Fade(duration=0);Alpha(style=0,opacity=100);Shadow(color='#999999', Direction=135, Strength=0)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect2= "Fade(duration=1);Alpha(style=0,opacity=100);Shadow(color='#999999', Direction=135, Strength=0)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=no,location=no,status=no,menubar=no,");
	nwin.focus();
}

timegap=500			// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=3;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

menutop=320
if((navigator.userAgent.indexOf("Firefox")!=-1))menutop=menutop-5 // tweek vertical position for Firefox

horiadj="offset=+1"
if((navigator.userAgent.indexOf("Firefox")!=-1))horiadj="offset=+0" // tweek horizontal offset for Firefox

menuwidth=141
if((navigator.userAgent.indexOf("Firefox")!=-1))menuwidth=menuwidth-16 // tweek menu width for Firefox


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.
"dddddd",			// Mouse Off Font Color
"0055AA",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"0066bb",			// Mouse On Background Color
"dddddd",			// Menu Border Color 
13,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial, Verdana,",		// Font Name
8,				// Menu Item Padding
,				// 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)
]
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
menutop,			// See Tweek avove
horiadj,	   		// See Tweek avove
menuwidth,			// See Tweek avove
,				// Menu Border Width 
"center",			// 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
effect,				
,				// 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)
,				
,				
,				
,				
,				
,				
,				
,				
,				
," <img src=images/bullit.gif  height=10 border=0> Home","index.htm",," ",
," <img src=images/bullit.gif border=0> Pools","show-menu=pools",," ",
," <img src=images/bullit.gif border=0> Spas","show-menu=spas",," ",
," <img src=images/bullit.gif border=0> Beach Huts","buildings.htm",," ",
," <img src=images/bullit.gif border=0> Saunas","saunas.htm",," ",
//," <img src=images/bullit.gif border=0> Services","services.htm",," ",
," <img src=images/bullit.gif border=0> Contact","contact.htm",," ",

])

addmenu(menu=["pools",
		,,200,,,style1,0,"left","fade(duration=0);Alpha(style=0,opacity=100);Shadow(color='#999999', Direction=135, Strength=0)",0,,,,,,,,,,,
		," <img src=images/bullit.gif border=0> Sunsoka Pools","pools.htm",," ",
		," <img src=images/bullit.gif border=0> Sunsoka Deluxe Pools","pools2.htm",," ",
		
		])
		
addmenu(menu=["spas",
		,,250,,,style1,0,"left","fade(duration=0);Alpha(style=0,opacity=100);Shadow(color='#999999', Direction=135, Strength=0)",0,,,,,,,,,,,
		," <img src=images/bullit.gif border=0> South Seas Deluxe Spa Range","spas.htm",," ",
		," <img src=images/bullit.gif border=0> Features, benefits & upgrades","spas-features.htm",," ",
		
		])

dumpmenus()
