/*
	* DHTML Menu version 3.3.19
	* written by Andy Woolley
	* Copyright 2002 Andy Woolley. All Rights Reserved.
	*
	* Please feel free to use this code on your own website free of charge.
	* You can also distribute and modify this source code as long as this
	* Copyright notice remains intact and that you send me notice that you
	* intend to use this code on your website. 
	*
	* Limited support for this script is provided
	* Commercial licence agreements are available on request for use & full support.
	* You can send email to menu3@milonic.com 

	* Script featured on Dynamic Drive (http://www.dynamicdrive.com)
	*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.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 line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
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=100				// The time delay for menus to remain visible
followspeed=3			// Follow Scrolling speed
followrate=30			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=-2;		// 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.
"ffffff",					// Mouse Off Font Color
"ffffff",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
,						// Font Size in pixels
,				// Font Style (italic or normal)
,					// Font Weight (bold or normal)
,		// Font Name
0,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,				// 3D High Color
,				// 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)
,				// Menu Header Font Color (Leave blank if headers are not needed)
,				// 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.
"000000",				// Mouse Off Font Color
"AFBF9D",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"FAF396",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
11,				// Font Size in pixels
"normal",				// Font Style (italic or normal)
,				// Font Weight (bold or normal)
"Verdana, Arial",		             // Font Name
5,				// Menu Item Padding
"/images/arrow2.gif",			// Sub Menu Image (Leave this blank if not needed)
,				// 3D Border & Separator bar
,				// 3D High Color
,				// 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)
,				// Menu Header Font Color (Leave blank if headers are not needed)
,				// Menu Header Background Color (Leave blank if headers are not needed)
]

// note that the mouse over images need to be named with "_over"
addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
46,				// Menu Top - The Top position of the menu in pixels
172,				// Menu Left - The Left position of the menu in pixels
,					// 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
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// 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)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"<img src=/images/UI_design_03.gif border=0 width=114 height=31>","/index.html",,,1
,"<img src=/images/UI_design_04.gif border=0 width=114 height=31>","show-menu=0","/products.html",,1
,"<img src=/images/UI_design_05.gif border=0 width=114 height=31>","/pres.html",,,1
,"<img src=/images/UI_design_06.gif border=0 width=114 height=31>","/trinity/category.html?::category::trinity",,,1
,"<img src=/images/UI_design_07.gif border=0 width=114 height=31>","show-menu=3","/europe.html",,1
])

var catPage = "/category.html?::category::";
	addmenu(menu=["0",
	77,,225,1,"",style2,,"left",,,,,,,,,,,,,
	,"Synthetic Lubricants","show-menu=1","/products.html",,1
	,"Conventional Lubricants","/conventional.html",,,1
	,"Air & Ammonia Compressor Filters","show-menu=2","/filters.html",,1
	])

var catPage = "/category.html?::category::";
addmenu(menu=["1",
	77,,250,1,"",style2,,"left",,,,,,,,,,,,,
	,dataArray[0][1],"show-menu=1-1",catPage + dataArray[0][0],,1
	,dataArray[3][1],catPage + dataArray[3][0],,,1
	,dataArray[4][1],catPage + dataArray[4][0],,,1
	,dataArray[5][1],"show-menu=1-2",catPage + dataArray[5][0],,1
	,dataArray[7][1],"show-menu=1-3",catPage + dataArray[7][0],,1
	,dataArray[9][1],catPage + dataArray[9][0],,,1
	,dataArray[10][1],catPage + dataArray[10][0],,,1
	,dataArray[11][1],catPage + dataArray[11][0],,,1
	,dataArray[12][1],catPage + dataArray[12][0],,,1
	,dataArray[13][1],catPage + dataArray[13][0],,,1
	,dataArray[14][1],catPage + dataArray[14][0],,,1
	,dataArray[15][1],catPage + dataArray[15][0],,,1
	,dataArray[16][1],catPage + dataArray[16][0],,,1
	,dataArray[17][1],catPage + dataArray[17][0],,,1
	,dataArray[18][1],catPage + dataArray[18][0],,,1
	,dataArray[19][1],catPage + dataArray[19][0],,,1
	,dataArray[20][1],catPage + dataArray[20][0],,,1
	])

	addmenu(menu=["1-1",
	77,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,dataArray[0][1],catPage + dataArray[0][0],,,1
	,dataArray[1][1],catPage + dataArray[1][0],,,1
	,dataArray[2][1],catPage + dataArray[2][0],,,1
	])
	addmenu(menu=["1-2",
	147,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,dataArray[5][1],catPage + dataArray[5][0],,,1
	,dataArray[6][1],catPage + dataArray[6][0],,,1
	])
	addmenu(menu=["1-3",
	169,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,dataArray[7][1],catPage + dataArray[7][0],,,1
	,dataArray[8][1],catPage + dataArray[8][0],,,1
	])

	addmenu(menu=["2",
	101,,140,1,"",style2,,"left",,,,,,,,,,,,,
	,"Part Listing","/filter_partlist.html",,,1
	,"Cross Reference","/crossreference.html",,,1
	])
  
  var EuroCatPage = "/europe_category.html?::EuroCategory::";

	addmenu(menu=["3",
	77,,210,1,"",style2,,"left",,,,,,,,,,,,,
	,"Locations in Europe","show-menu=3-1","europe.html",,1
	,"Food Grade",EuroCatPage + "fg",,,1
	,"Bio-Degradable Environmental Marine Lubricants",EuroCatPage + "beml",,,1
	,"Environmentally Friendly",EuroCatPage + "ef",,,1
	,"Heat Transfer System Lubricants",EuroCatPage + "htsl",,,1
	,"Refrigeration Lubricants",EuroCatPage + "rl",,,1
	,"Gear Lubricants",EuroCatPage + "gl",,,1
	])

	addmenu(menu=["3-1",
	77,,80,1,"",style2,,"left",,,,,,,,,,,,,
	,"England","/england.html",,,1
	,"Ireland","/ireland.html",,,1
	])

dumpmenus()