/***********************************************************************************
*	Script for Navigational Menu
*			
***********************************************************************************/

	var NoOffFirstLineMenus=6;			// Number of first level items
	var LowBgColor='white';			// Background color when mouse is not over
	var LowSubBgColor='white';			// Background color when mouse is not over on subs
	var HighBgColor='black';			// Background color when mouse is over
	var HighSubBgColor='black';			// Background color when mouse is over on subs
	var FontLowColor='black';			// Font color when mouse is not over
	var FontSubLowColor='black';			// Font color subs when mouse is not over
	var FontHighColor='white';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	var BorderColor='black';			// Border color
	var BorderSubColor='black';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="arial,comic sans ms,technical"	// Font family menu items
	var FontSize=9;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=0;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=500;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='MenuPos';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("Home","http://www.adifp.com","",0,20,138);

Menu2=new Array("About ADI","http://www.adifp.com/about.htm","",0,20,138);
	
Menu3=new Array("Products","","",16);
	Menu3_1=new Array("Hydraulic Pumps","","",4,20,150);
		Menu3_1_1=new Array("Gear Pumps","http://www.adifp.com/gearpumps.htm","",0,20,120);
		Menu3_1_2=new Array("Piston Pumps","http://www.adifp.com/pistonpumps.htm","",0,20,120);
		Menu3_1_3=new Array("Geroter Pumps","http://www.adifp.com/gpumps.htm","",0,20,120);
		Menu3_1_4=new Array("Hand Pumps","http://www.adifp.com/handpump.htm","",0,20,120);
	Menu3_2=new Array("Hydraulic Motors","","",4,20,150);
		Menu3_2_1=new Array("Gear Motors","http://www.adifp.com/gearpumps.htm","",0,20,100);
		Menu3_2_2=new Array("Piston Motors","http://www.adifp.com/pistonpumps.htm","",0,20,120);
		Menu3_2_3=new Array("Torqmotors","http://www.adifp.com/tmotors.htm","",0,20,100);
		Menu3_2_4=new Array("Geroter Motors","http://www.adifp.com/gmotors.htm","",0,20,120);
	Menu3_3=new Array("Hydraulic Valves","","",3,20,150);
		Menu3_3_1=new Array("Monoblock Control Valves","http://www.adifp.com/monovalves.htm","",0,20,180);
		Menu3_3_2=new Array("Stackable Control Valves","http://www.adifp.com/stackvalves.htm","",0,20,180);
		Menu3_3_3=new Array("Accessory Valves","http://www.adifp.com/accvalves.htm","",0,20,150);
	Menu3_4=new Array("Hydraulic Cylinders","http://www.adifp.com/cylinder.htm","",0);
	Menu3_5=new Array("Hydrostatics","http://www.adifp.com/hydrostat.htm","",0);
	Menu3_6=new Array("Power Units","http://www.adifp.com/spx.htm","",0);
	Menu3_7=new Array("Mobile Electronics","http://www.adifp.com/mobileelec.htm","",0);
	Menu3_8=new Array("Remote Controllers","http://www.adifp.com/controller.htm","",0);
	Menu3_9=new Array("Cables & Controls","http://www.adifp.com/morse.htm","",0);
	Menu3_10=new Array("Power Take-Offs","http://www.adifp.com/pto.htm","",0);
	Menu3_11=new Array("Wetline Kits","http://www.adifp.com/wetkit.htm","",0);
	Menu3_12=new Array("Clutch Pump Systems","http://www.adifp.com/clutchsys.htm","",0);
	Menu3_13=new Array("Hose/Adapters/Couplers","http://www.adifp.com/hoseends.htm","",0);
	Menu3_14=new Array("Filters, Gauges, etc","http://www.adifp.com/filter.htm","",0,20,180);
	Menu3_15=new Array("Accumulators","http://www.adifp.com/accumulators.htm","",0);
	Menu3_16=new Array("Planetary Gear Drives","http://www.adifp.com/geardrive.htm","",0);

	Menu4=new Array("Links","","",14);
	Menu4_1=new Array("Parker Gear Pumps/Motors","http://www.adifp.com/gearpumps.htm","",0,20,190);
	Menu4_2=new Array("Parker Piston Pumps","http://www.launchrun.com/hpd/=262","",0,20,150);
	Menu4_3=new Array("Parker Torqmotors","http://www.adifp.com/tmotors.htm","",0,20,150);
	Menu4_4=new Array("Parker Valve Division","http://www.adifp.com/stackvalves.htm","",0,20,150);
	Menu4_5=new Array("Parker Cylinder Division","http://www.adifp.com/cylinder.htm","",0,20,150)
	Menu4_6=new Array("Parker Accumulator Division","http://www.adifp.com/accumulators.htm","",0,20,150)
	Menu4_7=new Array("Parker Chelsea PTO Division","http://www.parker.com/chelsea/","",0,20,150);
	Menu4_8=new Array("Parker Hose Division","http://www.adifp.com/hoseends.htm","",0,20,150);
	Menu4_9=new Array("Teleflex-Morse","http://www.teleflexmorse.com","",0,20,150);
	Menu4_10=new Array("Cross Mfg","http://www.crossmfg.com","",0,20,150);
	
	Menu4_11=new Array("Thermal Transfer","http://www.ttpl.com/heat_exchangers/","",0,20,150);
	Menu4_12=new Array("Zinga Industries","http://www.zinga.com/","",0,20,150);
	Menu4_13=new Array("Eskridge Inc","http://eskridgeinc.com/index.html","",0,20,150);
	Menu4_14=new Array("CW Mill Clutch Mt Kits","http://www.cwkits.com","",0,20,150);

	Menu5=new Array("Fluid Power Tools","","",4);
	Menu5_1=new Array("Gear Pump Calculator","http://www.adifp.com/gearpumpcalc.htm","",0,20,180);
	Menu5_2=new Array("Gear Pump Rotation Chart","http://www.adifp.com/pumprotation.htm","",0,20,180);
	Menu5_3=new Array("Gear Pump Rotation Changes","http://www.adifp.com/rotchange.htm","",0,20,180);
	Menu5_4=new Array("Formulas & Equivalents","http://www.adifp.com/fpformulas.htm","",0,20,180);
	
	
Menu6=new Array("Contact Us","mailto:sales@adifp.com","",0);	