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)
}

MenuEffect = "Fade(duration=0.8);Alpha(style=0,opacity=100)"
SubMenuEffect = "inset(duration=0.3);Alpha(style=0,opacity=100)"

timegap=500
followspeed=5
followrate=40
suboffset_top=0;
suboffset_left=-2;
closeOnClick=true


MenuStyle=[

"008BAE",											// Mouse Off Font Color
"F0F3F9",											// Mouse Off Background Color

"F0F3F9",											// Mouse On Font Color
"008BAE",											// Mouse On Background Color

"F0F3F9",											// Menu Border Color
11,													// Font Size in pixels
"normal",											// Font Style (italic or normal)
"normal",											// Font Weight (bold or normal)
"Verdana,Arial,Helvetica,Sans-serif",				// Font Name
5,													// Menu Item Padding
"graphics/menu_arrow.gif",							// ie: "/images/menu_arrow.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)
,													// ie: "/images/arrow_down.gif" - Top Bar image (Leave this blank to disable)
"ffffff",											// Menu Header Font Color (Leave blank if headers are not needed)
"005A9E",											// Menu Header Background Color (Leave blank if headers are not needed)
"B9D2D7",											// Menu Item Separator Color
]


SubMenuStyle=[

"008BAE",
"F0F3F9",

"F0F3F9",
"008BAE",

"B9D2D7",
11,
"normal",
"normal",
"Verdana,Arial,Helvetica,Sans-serif",
5,
,
,
,
,
,
,
,
,
,
"B9D2D7",
]


addmenu(menu=[
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
203,					// Menu Top - The Top position of the menu in pixels
3,						// Menu Left - The Left position of the menu in pixels
227,					// 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'
MenuStyle,				// 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
MenuEffect,				// 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)
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)
0,						// 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.
,						// Scrollable Menu
,						// Miscellaneous Menu Properties - Can add stylesheet properties here. (like: "margin=2;",)
,	
	//"<span style='padding:0px 0px 0px 0px; font-weight: bold;'>Menu</span>","# type=header;align=left;","","Menu",1 ,
	"Door Range","show-menu=m11887","","Door Range",1 ,
	"Window Range","show-menu=m16502","","Window Range",1 ,
	"Platinum Series","show-menu=m11885","","Platinum Series",1 ,
	"Shower Screens & Wardrobes","show-menu=m13759","","Shower Screens & Wardrobes",1 ,
	"Amplimesh Security Products","show-menu=m23024","","Amplimesh Security Products",1 ,
	"Glass Options","http://www.pilkington.com.au/","","Glass Options",1 ,
	"Roller Shutters","roller-shutters.asp","","Roller Shutters",1 ,
	"Image Gallery","gallery.asp","","Image Gallery",1 ,		
	"Commercial & Custom Windows","show-menu=m19023","","Commercial & Custom Windows",1 ,
	"Contact Us","contactus.asp","","Contact Us",1 ]);	
		
addmenu(menu=["m11887",,,170,1,"",SubMenuStyle,,"left",SubMenuEffect,0,0,0,,,0,0,,,,,,
	"Sliding Doors","sliding-doors.asp",,,1 ,
	"Multi-Stack Doors","multi-stack-doors.asp",,,1 ,
	"Bi-Fold Doors","bi-fold-doors.asp",,,1 ,
	"French Doors","french-doors.asp",,,1 ,
	"Entry Doors","entry-doors.asp",,,1  ]); 
addmenu(menu=["m16502",,,200,1,"",SubMenuStyle,,"left",SubMenuEffect,0,0,0,,,0,0,,,,,,
	"Sliding Windows","sliding-windows.asp",,,1 ,
	"Awning Windows","awning-windows.asp",,,1 ,
	"Double Hung Windows","double-hung-windows.asp",,,1 ,
	"Casement Windows","casement-windows.asp",,,1  ]); 
addmenu(menu=["m11885",,,200,1,"",SubMenuStyle,,"left",SubMenuEffect,0,0,0,,,0,0,,,,,,
	"Platinum Doors","platinum-doors.asp",,,1 ,
	"Platinum Windows","platinum-windows.asp",,,1 ,
	"Platinum Louvre Windows","platinum-louvre-windows.asp",,,1 ,
	"Platinum Images","gallery.asp?n=platinum",,,1  ]); 
addmenu(menu=["m13759",,,200,1,"",SubMenuStyle,,"left",SubMenuEffect,0,0,0,,,0,0,,,,,,
	"Ultima Shower Screens","ultima-shower-screens.asp",,,1 ,
	"Ultima Semi-Frameless Shower Screens","ultima-semi-frameless.asp",,,1 ,
	"Mirage Semi-Frameless Shower Screen","mirage-semi-frameless.asp",,,1 ,
	"Fully Frameless Shower Screen","fully-frameless-shower-screen.asp",,,1 ,	
	"Space Saver Wardrobe","space-saver-wardrobe.asp",,,1  ]); 
addmenu(menu=["m23024",,,215,1,"",SubMenuStyle,,"left",SubMenuEffect,0,0,0,,,0,0,,,,,,
	"Amplimesh Security Products","amplimesh-security-products.asp",,,1 ,
	"Clearguard Security","clearguard-security.asp",,,1 ,
	"Sharkurity Security","sharkurity-security.asp",,,1  ]); 
addmenu(menu=["m19023",,,215,1,"",SubMenuStyle,,"left",SubMenuEffect,0,0,0,,,0,0,,,,,,
	"Aneeta Sashless Windows","aneeta-sashless-windows.asp",,,1 ,
	"Louvre Windows","louvre-windows.asp",,,1 ,
	"Arch Head Windows","arch-head-windows.asp",,,1 ,	
	"Circular Windows","circular-windows.asp",,,1  ]); 

dumpmenus();

