timegap=500;
var followspeed=5;
var followrate=40;
var suboffset_top=20;
var suboffset_left=10;

var effect = "fade(duration=.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
"476687",					// Off Font Color
"F6F6F6",					// Off Back Color
"ffffff",					// On Font Color
"476687",					// On Back Color
"FFFFFF",					// Border Color
11,							// Font Size
"normal",					// Font Style 
"bold",						// Font Weight
"Verdana,Arial,Helvetica",	// Font
2,							// 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
253,				    // Top
199,					// 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; &nbsp; About Us","about_us.htm","#","About Us",1,
"&nbsp; &nbsp; Products","show-menu2","#","Products",1,
"&nbsp; &nbsp; Production Facilities","production_facilities.htm","#","Production Facilities",1,
"&nbsp; &nbsp; Quality","quality.htm","#","Quality",1,
"&nbsp; &nbsp; Clients","clients.htm","#","Clients",1,
"&nbsp; &nbsp; Jobs","jobs.htm","#","Jobs",1,
"&nbsp; &nbsp; Contact Us","contact_us.htm","#","Contact Us",1,
"&nbsp; &nbsp; Sitemap","sitemap.htm",,"Sitemap",1

]

menu2=[
,,200,1,"",prop1,,"left",effect,,,,,,,
"Hydraulic Fittings","hydraulic_adapotor.htm",,"Hydraulic Fittings",1,
"Auto Parts","auto_parts.htm",,"Auto Parts",1,
"Earthmoving Products","earthmoving_products.htm",,"Earthmoving Products",1,
"Oil exploration equipment Parts","oil_exploration_equipment_parts.htm",,"Oil exploration equipment Parts",1
]

menu3=[
,,200,1,"",prop1,,"left",effect,,,,,,,
"Auto Parts","auto_parts.htm",,"Auto Parts",1,
"Defence Components","defence.htm",,"Defence Components",1,
"Gaskets","gasket.htm",,"Gaskets",1,
"Shafts","shafts.htm",,"Shafts",1
]

menu4=[
,,100,1,"",prop1,,"left",effect,,,,,,,
"Contact us","contact_us.htm",,"Quality",1,
"Sitemap","sitemap.htm",,"Sitemap",1
]

menu5=[
,,200,1,"",prop1,,"left",effect,,,,,,,
"Housing","housing.html",,"Housing",1,
"Commercial","show-menu6",,"Commercial",1
]

menu6=[
,,200,1,"",prop1,,"left",effect,,,,,,,
"City centre","commercial.html",,"City centre",1,
"Mega mall","megamall.html",,"Mega mall",1
]