// Milonic DHTML Menu
// please note that major changes to this file have been made.
//
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you to remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// 
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish.



// 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 lang" + "uage=jav" + "asc" + "ript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr" + "ipt>";_d.write(mt)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0) {
//	effect = "Fade(duration=0.3);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
	effect = "gradientwipe(size=1.00, wipestyle=1, motion=Forward, duration=0.5);Alpha(style=0,opacity=97);Shadow(color='#777777', Direction=135, Strength=5)"
	effect2 = "gradientwipe(size=1.00, wipestyle=1, motion=Forward, duration=0.5);Alpha(style=0,opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"
} else {
	effect = "Shadow(color='#777777', Direction=135, Strength=5);"
	effect2 = "Shadow(color='#777777', Direction=135, Strength=5);"
}


timegap=500					// The time delay for menus to remain visible
followspeed=10				// Follow Scrolling speed
followrate=40				// Follow Scrolling Rate
suboffset_top=0;			// Sub menu offset Top position 
suboffset_left=-5;			// Sub menu offset Left position


style_main=[				// Menu Properties Array
"#504C4C",						// Off Font Color
"#FFFFFF",					// Off Back Color
"#FFFFFF",					// On Font Color
"#6F6C6C",					// On Back Color
"#FFFFFF",					// Border Color
10,							// Font Size
"normal",					// Font Style
"normal",						// Font Weight
"MS Sans Serif, Arial, Verdana, Helvetica",	// Font
0,							// Padding
"/images/navbar/green_arrow.gif"			// Sub Menu Image
,							// 3D Border & Separator
,"66ccff"					// 3D High Color
,"000099"					// 3D Low Color
]

style_sub=[				// Menu Properties Array
"#504C4C",						// Off Font Color
"#DAD8D8",					// Off Back Color
"#FFFFFF",					// On Font Color
"#6F6C6C",					// On Back Color
"#FFFFFF",					// Border Color
10,							// Font Size
"normal",					// Font Style
"normal",						// Font Weight
"MS Sans Serif, Arial, Verdana, Helvetica",	// Font
0,							// Padding
"/images/navbar/red_arrow.gif"			// Sub Menu Image
,							// 3D Border & Separator
,"66ccff"					// 3D High Color
,"000099"					// 3D Low Color
]

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.
"white",					// Mouse Off Font Color
"BEBE78",					// Mouse Off Background Color
"A2A459",					// Mouse On Font Color
"C9C88F",				// Mouse On Background Color
"8D8F55",					// Menu Border Color 
10,							// 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)
"Verdana, Tahoma, Arial, Helvetica, sans-serif",	// Font Name
3,							// Menu Item Padding
"../include/header/images/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,							// 3D Border & Separator bar
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
"Purple",					// Current Page Item Font Color (leave this blank to disable)
"pink",						// Current Page Item Background Color (leave this blank to disable)
"/menu/images/3darrow_down.gif",	// Top Bar image (Leave this blank to disable)
"ffffff",					// Menu Header Font Color (Leave blank if headers are not needed)
"000099",					// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[					// 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.
"white",					// Mouse Off Font Color
"C9C88F",					// Mouse Off Background Color
"A2A459",					// Mouse On Font Color
"BEBE78",					// Mouse On Background Color
"8D8F55",					// Menu Border Color 
10,							// 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)
"Verdana, Tahoma, Arial, Helvetica, sans-serif",	// Font Name
3,							// Menu Item Padding
"../include/header/images/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
1,							// 3D Border & Separator bar
"BBBB7D",					// 3D High Color
"A1A173",					// 3D Low Color
"Purple",					// Current Page Item Font Color (leave this blank to disable)
"pink",						// Current Page Item Background Color (leave this blank to disable)
"",							// Top Bar image (Leave this blank to disable)
"ffffff",					// Menu Header Font Color (Leave blank if headers are not needed)
"000099",					// Menu Header Background Color (Leave blank if headers are not needed)
]

style_blank=[					// 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.
"#504C4C",						// Off Font Color
"",					// Off Back Color
"#FFFFFF",					// On Font Color
"",					// On Back Color
"#FFFFFF",					// Border Color
10,							// Font Size
"normal",					// Font Style
"normal",						// Font Weight
"MS Sans Serif, Arial, Verdana, Helvetica",	// Font
0,							// Padding
"/images/navbar/green_arrow.gif"			// Sub Menu Image
,							// 3D Border & Separator
,"66ccff"					// 3D High Color
,"000099"					// 3D Low Color
]





addmenu(menu=[				// This is the array that contains your menu properties and details
"SCT MENU",				// Menu items Name
64,							// Top
0,							// left
,							// Width
0,							// Border Width
"center",							// Screen Position - here you can use "center;left;right;middle;top;bottom"
style_main,					// Properties Array - this is set higher up, as above
1,							// Always Visible - allows the menu item to be visible at all time
"left",						// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,							// Filter - Text variable for setting transitional effects on menu activation
,							// Follow Scrolling - Tells the menu item to follow the user down the screen
1, 							// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,							// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,							// Position of sub image left:center:right:middle:top:bottom
,							// Show an image on top menu bars indicating a sub menu exists below
,							// Reserved for future use
,							// Reserved for future use
,							// Reserved for future use
,
,
,
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=/images/navbar/logo_left_menu.jpg width=185 height=20 alt='SCTtrading' border=0>","",,"SCTtrading",0
,"<img src=/images/navbar/home_menu.gif width=60 height=20 alt='Home' border=0>","/ swapimage=/images/navbar/home_bl_menu.gif",,"HOME",0
,"<img src=/images/navbar/about_menu.gif width=84 height=20 alt='About SCT' border=0>","show-menu=aboutus","/aboutus/about.aspx swapimage=/images/navbar/about_bl_menu.gif","ABOUT US",0
,"<img src=/images/navbar/news_menu.gif width=57 height=20 alt='News' border=0>","show-menu=news","/news/default.aspx?NTYPE=3 swapimage=/images/navbar/news_bl_menu.gif","NEWS",0
,"<img src=/images/navbar/product_menu.gif width=144 height=20 alt='Product & Services' border=0>","show-menu=product","/product/product_services.aspx swapimage=/images/navbar/product_bl_menu.gif","PRODUCT & SERVICE",0
,"<img src=/images/navbar/network_menu.gif width=75 height=20 alt='Network' border=0>","show-menu=network","/network/default.aspx swapimage=/images/navbar/network_bl_menu.gif","NETWORK",0
,"<img src=/images/navbar/contact_menu.gif width=91 height=20 alt='Contact Us' border=0>","show-menu=contact","/contactus/rfqselect.aspx swapimage=/images/navbar/contact_bl_menu.gif","CONTACT US",0
,"<img src=/images/navbar/search_menu.gif width=76 height=20 alt='Search' border=0>","/search/search.aspx  swapimage=/images/navbar/search_bl_menu.gif",,"SEARCH",0
])

addmenu(menu=["aboutus",,,90,1,"",style_sub,,,effect,,,,,,,,"form1",,,,
,"&nbsp;&nbsp;What we do", "/aboutus/about.aspx",,"What we do",1
,"&nbsp;&nbsp;Philosophy", "/aboutus/philosophy.aspx",,"Philosophy",1
,"&nbsp;&nbsp;Management", "/aboutus/org.aspx",,"Management",1
,"&nbsp;&nbsp;History", "/aboutus/history.aspx",,"History",1
,"&nbsp;&nbsp;Awards", "/aboutus/awards.aspx",,"Awards",1
])

addmenu(menu=["news",,,90,1,"",style_sub,,,effect,,,,,,,,"form1",,,,
,"&nbsp;&nbsp;Event", "/news/default.aspx?NTYPE=3",,"Event",1
,"&nbsp;&nbsp;Press Release", "/news/default.aspx?NTYPE=1",,"Press Release",1
,"&nbsp;&nbsp;Newsletter", "/news/newsletter.aspx",,"Newsletter",1
])

addmenu(menu=["network",,,130,1,"",style_sub,,,effect,,,,,,,,"form1",,,,
,"&nbsp;&nbsp;Branches and Affiliated", "/network/default.aspx",,"Branches and Affiliated Offices",1
])

addmenu(menu=["contact",,,130,1,"",style_sub,,,effect,,,,,,,,"form1",,,,
,"&nbsp;&nbsp;Request for Quotation", "/contactus/rfqselect.aspx",,"Request for Quotation",1
,"&nbsp;&nbsp;Supplier Opportunities", "/contactus/supplier.aspx",,"Supplier Opportunities",1
,"&nbsp;&nbsp;Customer Feedback", "/contactus/general.aspx",,"General Feedback",1
])

//dumpmenus()