var timegap=500;
var followspeed=3;
var followrate=40;
var suboffset_top=10;
var suboffset_left=10;

var effect = "fade(duration=0.5);Shadow(color='#000000', Direction=135, Strength=0)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
	nwin.focus();
}

prop1=[						// prop1 is an array of properties you can have as many property arrays as you need
"ffffff",					// Off Font Color
"092C6D",					// Off Back Color
"ffffff",					// On Font Color
"3C90FC",					// On Back Color
"ffffff",					// Border Color
10,							// Font Size
"normal",					// Font Style 
"bold",						// Font Weight
"Verdana,Arial,Helvetica",	// Font
4,							// Padding
"images/sub_menu_arrow.gif",	// Sub Menu Image
1,							// 3D Border & Separator
"ffffff",					// 3D High Color
"FFFFFF",					// 3D Low Color
,					// Referer item Font Color (leave this blank to disable)
,					// Referer item Back Color (leave this blank to disable)
]

menu1=[				// This is the array that contains your menu properties and details
10,				    // Top
490,					// left
,					// Width
0,					// Border Width
"left",				// Screen Position - here you can use "center;middle;right"
prop1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time
"center",			// 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

"Home","index.htm",,"Home",1,// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"&nbsp; Corporate","show-menu4","#","Corporate",1,
"&nbsp; Quality","show-menu5","#","Quality",1,
"&nbsp; Mfr.Facilities","show-menu2","#","Mfr.Facilities",1,
"&nbsp; Mfr.Processes","show-menu3","#","Mfr.Processes",1,
"&nbsp; Contact us","contact.htm","#","Contact us",1
]

menu2=[
,,200,1,"",prop1,,"left",effect,,,,,,,
"Tooling department","tooling.htm",,"Tooling department",1,
"Motorcycle part department","motoparts.htm",,"Motorcycle part department",1,
"Plastic parts department","plasticdept.htm",,"Plastic parts department",1,
"Press department","pressdept.htm",,"Press department",1,
"Surface Treatment dept","surfacedept.htm",,"Surface Treatment dept",1,
"Slitting line dept","slittingedept.htm",,"Slitting line dept",1,
"Packing & Despatch dept","packingdept.htm",,"Packing & Despatch dept",1,
"Material Handling dept","materialdept.htm",,"Material Handling dept",1
]

menu3=[
,,150,1,"",prop1,,"left",effect,,,,,,,
"Rim mfr. Process","rimprocess.htm",,"Rim mfr. Process",1,
"Metal parts Mfr. process","metalprocess.htm",,"Metal parts Mfr. process",1
]

menu4=[
,,140,1,"",prop1,,"left",effect,,,,,,,
"About us ","aboutus.htm",,"About us",1,
"Vision & Mission","vision.htm",,"Vision & Mission",1,
"Why choose us ","whyus.htm",,"Why choose us",1,
"Contact information","contactinfo.htm",,"Contact information",1
]

menu5=[
,,170,1,"",prop1,,"left",effect,,,,,,,
"Quality systems","quality.htm",,"Quality systems",1,
"Training & Quality control","training.htm",,"Training & Quality control",1
]

