function init(){
if(!window.standards) return;
if(window.inited) return;
//////////////////////////////////  GLOBAL OFFSET VARIABLES //////////////////////////////	
	if(bw.wIE || bw.ns){
		menuOffsetTop = 3; // first level menu. smaller number is more up
		menuOffsetLeft = 2; // first level menu. smaller number is more right.
	}
	else if(bw.mIE){
		menuOffsetTop = -1; // first level menu. smaller number is more right
		menuOffsetLeft = -6; // first level menu. smaller number is more right
	}
	submenuOffsetTop = -14 ;// smaller number is closer to top

	if(bw.wIE) submenuOffsetLeft = -12; // left-side menu. smaller number is closer to menu
	else if(bw.mIE) submenuOffsetLeft = -4; // left-side menu. smaller number is closer to menu

	submenuOffsetRight = 0;// right-side menu.  smaller number is closer to menu.
//////////////////////////////////  GLOBAL OFFSET VARIABLES //////////////////////////////	


	var uiMenubar = new Menubar();

	var stbMenu = new Menu('Home','http://www.koolrides.biz');
	stbMenu.add(new MenuItem('Welcome to KOOL Rides ','http://www.koolrides.biz'));
		
	uiMenubar.add(stbMenu);
	


	var stbMenu2 = new Menu('Schedule','http://www.koolrides.biz/schedule.html');
	stbMenu2.add(new MenuItem('Location and Time','http://www.koolrides.biz/schedule1.html'));
	
	uiMenubar.add(stbMenu2);



	var stbMenu3 = new Menu('Accessories','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59');
	
	stbMenu3.add(new MenuItem('Accessories','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59'));
	stbMenu3.add(new MenuItem('Air Cleaners','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_61'));
	stbMenu3.add(new MenuItem('Door Knob Pulls','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_60'));

	stbMenu3.add(new MenuItem('Electric Wiper Motors','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_64'));
	stbMenu3.add(new MenuItem('Gear Shift Knobs','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_77'));	
	stbMenu3.add(new MenuItem('Head Light Covers','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_79'));		
	stbMenu3.add(new MenuItem('Heat & Noise Insulation','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_76'));		
	stbMenu3.add(new MenuItem('Hood Props','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_62'));			
	stbMenu3.add(new MenuItem('LED Light Bulbs','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_74'));				
	stbMenu3.add(new MenuItem('License Plate Fasteners','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_54'));	
	stbMenu3.add(new MenuItem('Third Brake Light','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_73'));		
	stbMenu3.add(new MenuItem('Traffic Light Viewer','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=52'));
	stbMenu3.add(new MenuItem('Valve Caps','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_55'));		
	stbMenu3.add(new MenuItem('Wiper Parts','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_64'));			
	stbMenu3.add(new MenuItem('Universal Mirrors','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=72'));	
										
	uiMenubar.add(stbMenu3);


	var stbMenu4 = new Menu('Head Lights','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=75');
	
	stbMenu4.add(new MenuItem('Head Lights','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=75'));	
	stbMenu4.add(new MenuItem('Hot Rod Lights','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=67'));
	
	uiMenubar.add(stbMenu4);


	var stbMenu5 = new Menu('Tail Lights','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=2');
	
	stbMenu5.add(new MenuItem('1959 Cadillac Tail Light Assembly','https://koolrides.hosting-advantage.com/catalog/product_info.php?products_id=62'));
	stbMenu5.add(new MenuItem('Parking Light / Turn Signal','https://koolrides.hosting-advantage.com/catalog/product_info.php?products_id=64'));
	stbMenu5.add(new MenuItem('Tail Lights','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=2'));
	stbMenu5.add(new MenuItem('Tail Light Lens','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=2_42'));
	stbMenu5.add(new MenuItem('LED Tail Light Lens','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=2_87'));
	stbMenu5.add(new MenuItem('LEE Lens','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=2_80'));
		
	uiMenubar.add(stbMenu5);




		var stbMenu7 = new Menu('Custom','http://www.koolrides.biz/catalog');
		
	stbMenu7.add(new MenuItem('AutoLoc','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=88'));
	stbMenu7.add(new MenuItem('Frenching Kits','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=21'));
	stbMenu7.add(new MenuItem('MOON EYES','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=95'));
	stbMenu7.add(new MenuItem('Speedway','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=94'));
	stbMenu7.add(new MenuItem('Beauty Rings','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=45'));	
	stbMenu7.add(new MenuItem('Exhaust Tips','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=24'));
	stbMenu7.add(new MenuItem('Fender Skirts','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=46_49'));
	stbMenu7.add(new MenuItem('Flame Thrower','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=25'));
	stbMenu7.add(new MenuItem('Headlight Covers','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=59_79'));
	stbMenu7.add(new MenuItem('Hub Caps','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=44'));
	stbMenu7.add(new MenuItem('Lake Pipes','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=26g'));
	stbMenu7.add(new MenuItem('Radiator Water Overflow Tanks','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=51'));
	stbMenu7.add(new MenuItem('Spider Hub/Nut Cover','https://koolrides.hosting-advantage.com/catalog/product_info.php?products_id=80'));		
	
	uiMenubar.add(stbMenu7);


		var stbMenu8= new Menu('Model A','http://www.koolrides.biz/contactus');
	stbMenu8.add(new MenuItem('Clutch and Brake Pads','https://koolrides.hosting-advantage.com/catalog/product_info.php?cPath=27&products_id=41'));
	stbMenu8.add(new MenuItem('Door Sill Plates','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=27'));	
	stbMenu8.add(new MenuItem('Headlight & Horn Conduit Set','https://koolrides.hosting-advantage.com/catalog/product_info.php?cPath=27&products_id=53'));
	stbMenu8.add(new MenuItem('Head Light Bar Pad','https://koolrides.hosting-advantage.com/catalog/product_info.php?cPath=27&products_id=50'));
	stbMenu8.add(new MenuItem('Instruments Panels','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=27'));
	stbMenu8.add(new MenuItem('Stainless Steel Dropped Headlight','https://koolrides.hosting-advantage.com/catalog/product_info.php?products_id=49'));
	stbMenu8.add(new MenuItem('Tail Light Brackets','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=27'));
	stbMenu8.add(new MenuItem('Rear License Plate Bracket','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=27'));
	stbMenu8.add(new MenuItem('Radiator Shell Emblems','https://koolrides.hosting-advantage.com/catalog/index.php?cPath=27'));
	
	uiMenubar.add(stbMenu8);


	
			var stbMenu9= new Menu('Policy','http://www.koolrides.biz/policy.html');
	
	stbMenu9.add(new MenuItem('Sales Policy','http://www.koolrides.biz/policy.html'));

	uiMenubar.add(stbMenu9);

	
			var stbMenu10= new Menu('Contact Us','http://www.koolrides.biz/contactus');
	
	stbMenu10.add(new MenuItem('Contact Information','http://www.koolrides.biz/contactinfo.html'));
	stbMenu10.add(new MenuItem('Online Form','http://www.koolrides.biz/contactus.html'));
	
	uiMenubar.add(stbMenu10);

	
	uiMenubar.useMouseOver();
	document.body.appendChild(uiMenubar);
	
	// setWidth method added april 2, 2002.
	uiMenubar.setWidth("auto",0);
	
	window.inited = true;
}