// PREVIEW MENU

/*
	 Milonic DHTML Website Navigation Menu
	 Written by Andy Woolley - Copyright 2003 (c) Milonic Solutions Limited. All Rights Reserved
	 Please visit http://www.milonic.co.uk/ for more information

	 Although this software may have been freely downloaded, you must obtain a license before using it in any production environment
	 The free use of this menu is only available to Non-Profit, Educational & Personal Web Sites who have obtained a license to use 
	 
	 Free, Commercial and Corporate Licenses are available from our website at http://www.milonic.co.uk/menu/supportcontracts.php
	 You also need to include a link back to http://www.milonic.co.uk/ if you use the free license
	 
	 All Copyright notices MUST remain in place at ALL times
	 if you cannot comply with all of the above requirements, please contact us to arrange a license waiver
*/



//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=700                   // 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



PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"white",                      // Mouse Off Font Color
"BB0000",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"black",                        // Mouse On Font Color
"BB0000",                     // Mouse On Background Color
,		                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"'Trebuchet MS', Geneva",		// Font Name
2,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
,                            // 3D Border & Separator bar
"66ffff",                     // 3D High Color
"000099",                     // 3D Low Color
"black",                     // 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
]




SecondLevel=[                  // SecondLevel is an array of properties. You can have as many property arrays as you need
"white",                      // Mouse Off Font Color
"757575",                      // Mouse Off Background Color (use zero for transparent in Netscape 6)
"white",                        // Mouse On Font Color
"BB0000",                     // Mouse On Background Color
"black",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"'Trebuchet MS', Geneva",          // Font Name
4,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
,                            // 3D Border & Separator bar
,                     // 3D High Color
,                     // 3D Low Color
"white",                     // Current Page Item Font Color (leave this blank to disable)
"757575",                       // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
"000000",                     // Menu Header Font Color (Leave blank if headers are not needed)
"ffffff",                     // Menu Header Background Color (Leave blank if headers are not needed)
"000000",                     // Menu Item Separator Color
]


addmenu(menu=[
"Mainmenu",                   // Menu Name - This is needed in order for this menu to be called
214,                          // Menu Top - The Top position of this menu in pixels
"offset=+70",                          // Menu Left - The Left position of this menu in pixels
,                          // Menu Width - Menus width in pixels
,                            // Menu Border Width
"center",                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"center",                             // Alignment - sets this 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 Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Home&nbsp;&nbsp;&nbsp;","./",,,1
,"Company&nbsp;Profile&nbsp;&nbsp;&nbsp;","show-menu=profile","advantages.html",,1
,"Our&nbsp;Processes&nbsp;&nbsp;&nbsp;","show-menu=process","quality.html",,1
,"Stock&nbsp;Inventory&nbsp;&nbsp;&nbsp;","show-menu=inventory","search.cfm",,1
,"Quote&nbsp;&nbsp;&nbsp;","quote.cfm","#",,1
,"ISO&nbsp;Certification&nbsp;&nbsp;&nbsp;","iso.html","#",,1
,"Contact&nbsp;&nbsp;&nbsp;","contact.cfm","#",,1
])



		addmenu(menu=[
		"profile",,,130,1,,SecondLevel,0,,
		"Alpha(style=0,opacity=100);Shadow(color=777777, Direction=135, Strength=5)",
		0,0,0,,,0,0,,,0,,
		,"&nbsp;&nbsp;Advantages","advantages.html",,,1
//		,"&nbsp;&nbsp;About Us","profile.html",,,1
//		,"&nbsp;&nbsp;Contact Us","contact.cfm",,,1
		,"&nbsp;&nbsp;Alloys Poured","alloys.html",,,1
		])


		addmenu(menu=[
		"process",,,130,1,,SecondLevel,0,,
		"Alpha(style=0,opacity=100);Shadow(color=777777, Direction=135, Strength=5)",
		0,0,0,,,0,0,,,0,,
		,"&nbsp;&nbsp;Quality","quality.html",,,1
		,"&nbsp;&nbsp;Foundry","foundry.html",,,1
		,"&nbsp;&nbsp;Heat Treating and<br>&nbsp;&nbsp;Saw Cutting","heat.html",,,1
		,"&nbsp;&nbsp;Machining","machining.html",,,1
		])
		
		addmenu(menu=[
		"inventory",,,130,1,,SecondLevel,0,,
		"Alpha(style=0,opacity=100);Shadow(color=777777, Direction=135, Strength=5)",
		0,0,0,,,0,0,,,0,,
		,"&nbsp;&nbsp;Sizes","sizes.html",,,1
		,"&nbsp;&nbsp;Search Inventory","search.cfm",,,1
		])


	

dumpmenus();
	
