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
"ffffff",					// Off Font Color
"999999",					// 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
114,				    // Top
50,					// 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; About Us","about_us.htm","#","About Us",1,
" &nbsp; Machine Categories","show-menu2","#","Machine Categories",1,
" &nbsp;Contact us","contact_us.htm","#","Contact us",1,
" &nbsp; Sitemap","sitemap.htm",,"Sitemap",1
]

menu2=[
,,170,1,"",prop1,,"left",effect,,,,,,,
"Knitting","show-menu3",,"Knitting",1,
"Weaving","weaving.htm",,"Weaving",1,
"Spinning","spinning.htm",,"Spinning",1,
"Dyeing & Processing","dyeing.htm",,"Dyeing & Processing",1,
"Whole Plants","whole.htm",,"Whole Plants",1,
"Others","other.htm",,"Others",1
]

menu3=[
,,170,1,"",prop1,,"left",effect,,,,,,,
"Circular Knitting","circular.htm",,"Circular Knitting",1,
"Flat Bed Knitting","flat.htm",,"Flat Bed Knitting",1,
"Warp Knitting","warp.htm",,"Warp Knitting",1,
"Socks Knitting","socks.htm",,"Socks Knitting",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
]
