
//The following code is critical for menu operation, and MUST APPEAR ONLY ONCE. If there is more than one mainmenu.js file, rem out this line in subsequent files
menunum=0;
menus=new Array();
_d=document;

function addmenu(){
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus(){
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++){
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";
	_d.write(mt)
}

//Please leave the above lines intact.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above 
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=500			// 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

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.
"000000",			// Mouse Off Font Color
"FAFCAF",			// Mouse Off Background Color
"DD0000",			// Mouse On Font Color
"FCFC78",			// Mouse On Background Color
"FAFCAF",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial, Verdana",	// Font Name
3,					// Menu Item Padding
"arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar
"57F1EF",			// 3D High Color
"009C9C",			// 3D Low Color
,			// 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)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"FAFCAF",			// Menu Item Separator Color
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"automenu",			// Menu Name - This is needed in order for the menu to be called
181,					// Menu Top - The Top position of the menu in pixels
183,				// Menu Left - The Left position of the menu in pixels 
175,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
0,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",				// Alignment - sets the 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
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Overview","auto_overview.htm",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Spherical Joint System","exhaust_decoupler.htm",,,1
,"Static Flange Gaskets","flange_gasket.htm",,,1
,"Ring Gasket with Heat Shield","ring_gasket.htm",,,1
,"Exhaust Gaskets and Seals","exhaust_seal_gasket.htm",,,1
,"Air and Liquid Filters","auto_filters.htm",,,1
,"Noise Suppression","noise_suppression.htm",,,1
,"Shock and Vibration","shock_and_vibration.htm",,,1
,"Crankcase Ventilation","crankcase_ventilation.htm",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"genindmenu",			// Menu Name - This is needed in order for the menu to be called
181,					// Menu Top - The Top position of the menu in pixels
338,				// Menu Left - The Left position of the menu in pixels 
150,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
0,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",				// Alignment - sets the 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
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Overview","genind_overview.htm",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Gaskets & Seals","high_temperature_seal_gasket.htm",,,1
,"Air & Liquid Filters","high_temperature_filter.htm",,,1
,"Noise Suppression","pneumatic_tool_muffler.htm",,,1
,"Shock & Vibration","high_temperature_damper.htm",,,1
,"Crankcase Ventilation","engine_crankcase_breather.htm",,,1
,"Coated Catalysts","small_engine_catalyst.htm",,,1
,"Wire Mesh Separators","compressor_breather.htm",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"emirfimenu",			// Menu Name - This is needed in order for the menu to be called
181,					// Menu Top - The Top position of the menu in pixels
438,				// Menu Left - The Left position of the menu in pixels 
240,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
0,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",				// Alignment - sets the 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
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Overview","shielding_products.htm",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"EMI/RFI Theory","emirfi_theory.htm",,,1
,"Conductive Particle Filled Elastomers","emirfi_conductive_elastomers.htm",,,1
,"Fabric Over Foam","shielding_fabric_over_foam.htm",,,1
,"XYZ Conductive Foam","shielding_xyz_conductive_foam.htm",,,1
,"Finger Stock","shielding_finger_stock.htm",,,1
,"Braided Sleeving & Rope","braided_sleeving.htm",,,1
,"Shielding Tape","shielding_tape.htm",,,1
,"EMI Vent Panels","shielding_vent_panel.htm",,,1
,"Conductive Silicone Adhesive","shielding_adhesive.htm",,,1
,"Wire Mesh Gaskets","shielding_gasket.htm",,,1
,"Connector Gaskets","shielding_connector_gaskets.htm",,,1
,"Conductive Fabric","shielding_conductive_fabric.htm",,,1
,"Oriented Wire","shielding_pola.htm",,,1
,"Shielded Windows","shielding_windows.htm",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"procsepmenu",			// Menu Name - This is needed in order for the menu to be called
181,					// Menu Top - The Top position of the menu in pixels
582,				// Menu Left - The Left position of the menu in pixels 
150,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
0,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",				// Alignment - sets the 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
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Overview","procsep_overview.htm",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Mist Elimination","procsep_mistelim.htm",,,1
,"Tower Packing","procsep_tpack.htm",,,1
,"Wire Mesh Separators","procsep_meshsep.htm",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"bulkmeshmenu",			// Menu Name - This is needed in order for the menu to be called
181,					// Menu Top - The Top position of the menu in pixels
713,				// Menu Left - The Left position of the menu in pixels 
105,				// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
0,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",				// Alignment - sets the 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
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Blanket Mesh","bulkmesh_blanket.htm",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Copper Gauze","bulkmesh_copgauze.htm",,,1
])

dumpmenus()
