    var linkplacement = "";
    var i;
    for ( i = 0; i < ll; i++ ) {
      linkplacement = linkplacement + "../";
    }

	var NoOffFirstLineMenus=7;			// Number of first level items
	var LowBgColor='#2E073F';			// Background color when mouse is not over
	var LowSubBgColor='#685C6D';			// Background color when mouse is not over on subs
	var HighBgColor='#990000';			// Background color when mouse is over
	var HighSubBgColor='#2E073F';			// Background color when mouse is over on subs
	var FontLowColor='#7E7084';			// Font color when mouse is not over
	var FontSubLowColor='#ffffff';			// Font color subs when mouse is not over
	var FontHighColor='#FFFFC6';			// Font color when mouse is over
	var FontSubHighColor='#ffffff';			// Font color subs when mouse is over
	var BorderColor='#2E073F';			// Border color
	var BorderSubColor='#2E073F';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="verdana, arial, times"	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=0;				// 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=61;				// Menu offset x coordinate
	var StartLeft=100;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=4;				// Left padding
	var TopPaddng=4;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// 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='';				// 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 highlighted
	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"

// HOME
Menu1=new Array("rollover:"+linkplacement+"images/menu/menu_home.gif:"+linkplacement+"images/menu/menu_home_over.gif",linkplacement+"index.html","",0,20,81);

// NEWS
Menu2=new Array("rollover:"+linkplacement+"images/menu/menu_news.gif:"+linkplacement+"images/menu/menu_news_over.gif",linkplacement+"News/TechWorks_Engineering.htm","",2,20,80);
	Menu2_1=new Array("Press Releases",linkplacement+"News/TechWorks_Engineering.htm","",9,20,120);
		Menu2_1_1=new Array("02-15-05 New Stainless Steel Header",linkplacement+"News/Releases/02-15-05.html","",0,20,230);
		Menu2_1_2=new Array("02-01-05 New Piston Forgings and New STi Piston Design",linkplacement+"News/Releases/02-01-05.html","",0,20,230);
		Menu2_1_3=new Array("09-01-03 New High Compression SOHC Piston",linkplacement+"News/Releases/09-01-03.html","",0,20,230);
		Menu2_1_4=new Array("08-01-03 New Valvesprings and Titanium Retainers",linkplacement+"News/Releases/08-01-03.html","",0,20,230);
		Menu2_1_5=new Array("04-23-03 New Exhaust Manifold Releases",linkplacement+"News/Releases/04-23-03.html","",0,20,230);
		Menu2_1_6=new Array("04-15-03 Racing Partnership Formed",linkplacement+"News/Releases/04-15-03.html","",0,20,230);
		Menu2_1_7=new Array("03-05-03 Piston Production Ramped Up",linkplacement+"News/Releases/03-05-03.html","",0,20,230);
		Menu2_1_8=new Array("11-25-02 New Ceramic Coatings",linkplacement+"News/Releases/11-25-02.html","",0,20,230);
		Menu2_1_9=new Array("07-18-02 TechWorks Ramps Up Production",linkplacement+"News/Releases/07-18-02.html","",0,20,230);
		
	Menu2_2=new Array("Updates",linkplacement+"News/TechWorks_Engineering.htm","",5,20,120);
		Menu2_2_1=new Array("February 7, 2005: Full TechWorks Exhaust Dyno Test",linkplacement+"News/Releases/nadynotest.html","",0,20,260);
		Menu2_2_2=new Array("December 25, 2004: Season's Greetings, More Website Changes and More products",linkplacement+"News/Releases/12-25-04.html","",0,20,260);
		Menu2_2_3=new Array("May 12, 2004: Website Changes, product updates, and packages",linkplacement+"News/Releases/05-12-04.html","",0,20,260);
		Menu2_2_4=new Array("Testimonial: 1/4 Mile Time for TWE Exhaust, Cams, and Porting",linkplacement+"News/Releases/testimonial01.html","",0,20,260);
		Menu2_2_5=new Array("First TWE Header Dyno Test on RS-Turbo",linkplacement+"News/Releases/dynotest.html","",0,20,260);

// PRODUCTS
Menu3=new Array("rollover:"+linkplacement+"images/menu/menu_products.gif:"+linkplacement+"images/menu/menu_products_over.gif",linkplacement+"Products/Subaru_Accessories.htm","",5,20,105);
	Menu3_1=new Array("Packages",linkplacement+"Products/Subaru_Packages.htm","",0,20,120);
	Menu3_2=new Array("Exhaust Systems",linkplacement+"Products/Subaru_Performance_Exhaust.htm","",9);
		Menu3_2_1=new Array("Subaru Performance Exhaust",linkplacement+"Products/Subaru_Performance_Exhaust.htm#subaruimpezaexhaust","",0,20,230);
		Menu3_2_2=new Array("Subaru Header",linkplacement+"Products/Subaru_Performance_Exhaust.htm#headers","",0,20,230);
		Menu3_2_3=new Array("Subaru Catalytic Convertor",linkplacement+"Products/Subaru_Performance_Exhaust.htm#cats","",0,20,230);
		Menu3_2_4=new Array("Subaru Cat-Back, Mid-Pipe, Muffler",linkplacement+"Products/Subaru_Performance_Exhaust.htm#mufflers","",0,20,230);
		Menu3_2_5=new Array("Subaru WRX 3.0 Cat-Back",linkplacement+"Products/Subaru_Performance_Exhaust.htm#wrxcatback1","",0,20,230);
		Menu3_2_6=new Array("Subaru RS 2.5 Super Stock",linkplacement+"Products/Subaru_Performance_Exhaust.htm#subarusuper","",0,20,230);
		Menu3_2_7=new Array("Subaru RS 2.5 High Output",linkplacement+"Products/Subaru_Performance_Exhaust.htm#highexh","",0,20,230);
		Menu3_2_8=new Array("Universal Carbon Fiber Mufflers",linkplacement+"Products/Subaru_Performance_Exhaust.htm#universalmufflers","",0,20,230);
		Menu3_2_9=new Array("Universal Carbon Fiber Muffler Tips",linkplacement+"Products/Subaru_Performance_Exhaust.htm#carbontips","",0,20,230);
		
	Menu3_3=new Array("Intake Systems",linkplacement+"Products/Subaru_Cold_Air_Intakes.htm","",2);
		Menu3_3_1=new Array("Stainless Steel Intake Kits",linkplacement+"Products/Subaru_Cold_Air_Intakes.htm#intakekits","",0,20,230);
		Menu3_3_2=new Array("Carbon Fiber Ram Air Scoop & Air Box",linkplacement+"Products/Subaru_Cold_Air_Intakes.htm#carbonfiber","",0,20,230);
	Menu3_4=new Array("Valvetrain Systems",linkplacement+"Products/Subaru_Engine_Cams.htm","",5);
		Menu3_4_1=new Array("Subaru Stage II SOHC Cams",linkplacement+"Products/Subaru_Engine_Cams.htm#subarustage2","",0,20,325);
		Menu3_4_2=new Array("Subaru Stage I DOHC Normally Aspirated Turbo Cams",linkplacement+"Products/Subaru_Engine_Cams.htm#turbocams","",0,20,325);
		Menu3_4_3=new Array("Subaru Stage III DOHC Racing Cams",linkplacement+"Products/Subaru_Engine_Cams.htm#racingcams","",0,20,325);
		Menu3_4_4=new Array("Subaru Valve Spring/Titanium Retainer Kit",linkplacement+"Products/Subaru_Engine_Cams.htm#valveretainer","",0,20,325);
		Menu3_4_5=new Array("Subaru Shim Under Bucket Conversion Kit DOHC",linkplacement+"Products/Subaru_Engine_Cams.htm#shimbucketkit","",0,20,325);
	Menu3_5=new Array("Pistons",linkplacement+"Products/Subaru_Forged_Pistons.htm","",4);
		Menu3_5_1=new Array("Subaru STi and WRX Pistons",linkplacement+"Products/Subaru_Forged_Pistons.htm#sti_wrxpistons","",0,20,230);
		Menu3_5_2=new Array("Subaru EJ25 SOHC Pistons",linkplacement+"Products/Subaru_Forged_Pistons.htm#ej25sohcpistons","",0,20,230);
		Menu3_5_3=new Array("Subaru EJ25 DOHC Pistons",linkplacement+"Products/Subaru_Forged_Pistons.htm#ej25dohcpistons","",0,20,230);
		Menu3_5_4=new Array("Subaru EJ25 DOHC Racing Piston Kit",linkplacement+"Products/Subaru_Forged_Pistons.htm#racepiston","",0,20,230);

// SERVICES
Menu4=new Array("rollover:"+linkplacement+"images/menu/menu_services.gif:"+linkplacement+"images/menu/menu_services_over.gif",linkplacement+"Services/Subaru_Performance.htm","",5,20,103);
	Menu4_1=new Array("Cylinder Head Porting",linkplacement+"Services/Cylinder_Head_Porting.htm","",0,20,140);
	Menu4_2=new Array("Valve Seat Machining",linkplacement+"Services/Valve_Seat_Machining.htm","",2);
		Menu4_2_1=new Array("Super Street Valve Seat Machining",linkplacement+"Services/Valve_Seat_Machining.htm#superstreetmachining","",0,20,230);
		Menu4_2_2=new Array("High Output Valve Seat Machining",linkplacement+"Services/Valve_Seat_Machining.htm#highoutput","",0,20,230);
	Menu4_3=new Array("Throttle Body Boring",linkplacement+"Services/Throttle_Body_Boring.htm","",0);
	Menu4_4=new Array("Cryogenic Tempering",linkplacement+"Services/Cryogenic_Tempering.htm","",1);
		Menu4_4_1=new Array("Subaru Transmision Cryo-Treatment Service",linkplacement+"Services/Cryogenic_Tempering.htm#cryotreatment","",0,20,230);	
	Menu4_5=new Array("Race Engine Design",linkplacement+"Services/Race_Engine_Design_Building.htm","",0);		

// RACING
Menu5=new Array("rollover:"+linkplacement+"images/menu/menu_racing.gif:"+linkplacement+"images/menu/menu_racing_over.gif",linkplacement+"Racing/Subaru_Racing.htm","",0,20,92);

// CUSTOMER RIDES
Menu6=new Array("rollover:"+linkplacement+"images/menu/menu_custrides.gif:"+linkplacement+"images/menu/menu_custrides_over.gif",linkplacement+"Gallery/Customer_Rides.htm","",0,20,159);

// ABOUT US
Menu7=new Array("rollover:"+linkplacement+"images/menu/menu_aboutus.gif:"+linkplacement+"images/menu/menu_aboutus_over.gif",linkplacement+"About_Us/TechWorks_Engineering.htm","",0,20,108);

