var oM=new makeCM("oM")
oM.pxBetween=0 //Sets the amount of pixels between each menu item.
oM.fromTop=61 //Sets the distance the menu will sit from the top of the page.
oM.fromLeft=0 //Sets the distance the menu will sit from the left of the page.
oM.menuPlacement= "Left" //Sets the location of the menu.
oM.wait=200 //Sets the amount of timethe menu stays visible after mouse exits.
oM.zIndex=100 //Sets the z Index (How many layers the menu will sit above the page)
oM.resizeCheck=1 //Ser this to 1 to check if the window has been resized. Set it to 0 if you don't want the browser to check.
oM.zIndex=100 //Sets the z Index again after the resize check.  

oM.onshow="document.layers?document.layers.formLayer.visibility='hidden':document.getElementById('formDiv').style.visibility='hidden';"
oM.onhide="document.layers?document.layers.formLayer.visibility='visible':document.getElementById('formDiv').style.visibility='visible';"

//HREF locations
oM.onlineRoot=""
oM.offlineRoot="file:///C|/myfiles/"

//Menu Bar
oM.rows=1 //Set this is 0 for a Vertical menu. Set this to 1 for a Horizontal menu.			
oM.useBar=1	//Set this is 0 for a bar behind the menu. Set this to 1 for no bar behind the menu.
oM.barWidth=760 //Sets the width of the menu bar.
oM.barHeight="menu" //Sets the height of the menu bar.
oM.barX=0 //Sets the Horizontal position of the menu bar.
oM.barY="menu" //Sets the Vertical position of the menu bar.
oM.barBorderX=0 //Sets the size of the border along the top and bottom.
oM.barBorderY=0 //Sets the size of the border along the left and right.
//Menu Bar Styles
oM.barClass="clBar" //Sets the Style for the menu bar.
oM.barBorderClass="clB3" //Sets the Style for the menu bar border.

//First menu level
oM.level[0]=new cm_makeLevel()
oM.level[0].width=85
oM.level[0].height=59
oM.level[0].borderX=0
oM.level[0].borderY=0
oM.level[0].rows=0
oM.level[0].align="bottom"
oM.level[0].offsetX=0
oM.level[0].offsetY=0
oM.level[0].arrow=0
oM.level[0].arrowWidth=0
oM.level[0].arrowHeight=0
//First menu level Styles
oM.level[0].regClass="clT" 
oM.level[0].overClass="clTover" 
oM.level[0].borderClass="clB2"  			

//Second menu level
oM.level[1]=new cm_makeLevel()
oM.level[1].width=200
oM.level[1].height=20
oM.level[1].borderX=1
oM.level[1].borderY=1
oM.level[1].align="right"
oM.level[1].rows=0
oM.level[1].arrow="images/menu_arrow.gif"
oM.level[1].arrowWidth=10
oM.level[1].arrowHeight=10
//Second menu level Styles
oM.level[1].regClass="clS" 
oM.level[1].overClass="clSover" 
oM.level[1].borderClass="clB1"

//Third menu level
oM.level[2]=new cm_makeLevel()
oM.level[2].width=200
oM.level[2].height=20
oM.level[2].borderX=1
oM.level[2].borderY=1
oM.level[2].rows=1
oM.level[2].offsetX=0
oM.level[2].offsetY=0
//Third menu level Styles
oM.level[2].regClass="clS" 
oM.level[2].overClass="clSover"
oM.level[2].borderClass="clB1"

//Menu Item Hierarchy
oM.makeMenu(/*name=*/'top0',/*Parent=*/'',/*Text=*/'Home',/*URL=*/'index.php?parentid=products&option=products',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/products_up.gif',/*Rollover Image=*/'images/products_over.gif','','',"bottom")
	oM.makeMenu(/*name=*/'0sub10',/*Parent=*/'top0',/*Text=*/'Select By Car',/*URL=*/'index.php?parentid=select_by_car&option=select_by_car',/*target=*/'',/*width=*/0,/*height=*/20,'images/selectbycar_submenu_up.gif','images/selectbycar_submenu_over.gif')
	oM.makeMenu(/*name=*/'0sub11',/*Parent=*/'top0',/*Text=*/'Blow-off valves',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs',/*target=*/'',/*width=*/0,/*height=*/20,'images/bovs_submenu_up.gif','images/bovs_submenu_over.gif')
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'Deceptor Pro',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=deceptor_pro',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'Stealth FX',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=stealth_fx',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'Mach 1',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=mach_1',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'Plumback',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=plumb_back',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'Hybrid',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=hybrid',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'Basic',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=basic',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'Bovus Maximus',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=bovus_maximus',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'WRX Hybrid',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=wrx_hybrid',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'GT Hybrid Bolt-On Kits',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=gt_hybrid',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub11',/*Text=*/'SV45',/*URL=*/'index.php?parentid=products&option=products&sub_option=bovs&sub_sub_option=sv45',/*target=*/'',/*width=*/0,/*height=*/20)
	oM.makeMenu(/*name=*/'0sub12',/*Parent=*/'top0',/*Text=*/'Adaptors',/*URL=*/'index.php?parentid=products&option=products&sub_option=adapters',/*target=*/'',/*width=*/0,/*height=*/20,'images/adapters_submenu_up.gif','images/adapters_submenu_over.gif')
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub12',/*Text=*/'Base adaptors',/*URL=*/'index.php?parentid=products&option=products&sub_option=adapters&sub_sub_option=base_adapters',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub12',/*Text=*/'Vehicle specific adaptors',/*URL=*/'index.php?parentid=products&option=products&sub_option=adapters&sub_sub_option=flange_adapters',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub12',/*Text=*/'Plumb back adaptors',/*URL=*/'index.php?parentid=products&option=products&sub_option=adapters&sub_sub_option=plumbback_adapters',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub12',/*Text=*/'Hose plugs',/*URL=*/'index.php?parentid=products&option=products&sub_option=adapters&sub_sub_option=hoseplugs',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub12',/*Text=*/'Weld-on pipes',/*URL=*/'index.php?parentid=products&option=products&sub_option=adapters&sub_sub_option=weldon_pipes',/*target=*/'',/*width=*/0,/*height=*/20)
	oM.makeMenu(/*name=*/'0sub13',/*Parent=*/'top0',/*Text=*/'Pulley Kits',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits',/*target=*/'',/*width=*/0,/*height=*/20,'images/pulley_kits_submenu_up.gif','images/pulley_kits_submenu_over.gif')
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'WRX (All) 2-pulley kit',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2001',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'WRX MY99-00 3-pulley kit',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2002',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'WRX MY94-98 3-pulley kit',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2003',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'200SX crank pulley',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2005',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'300ZX crank pulley',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2006',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'Pulsar SSS crank pulley',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2007',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'Honda B16A crank pulley',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2008',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'WRX stealth crank pulley',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2009',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'WRX MY03-current 3-pulley kit',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2010',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'Mitsubishi EVO Pulley Kit',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2011',/*target=*/'',/*width=*/0,/*height=*/20)
	    oM.makeMenu(/*name=*/'',/*Parent=*/'0sub13',/*Text=*/'Mazda Rotary alternator twin-pulley',/*URL=*/'index.php?parentid=products&option=products&sub_option=pulley_kits&sub_sub_option=2215',/*target=*/'',/*width=*/0,/*height=*/20)
	oM.makeMenu(/*name=*/'0sub14',/*Parent=*/'top0',/*Text=*/'Boost controllers',/*URL=*/'index.php?parentid=products&option=products&sub_option=boost_controllers',/*target=*/'',/*width=*/0,/*height=*/20,'images/boost_control_submenu_up.gif','images/bst_control_submenu_over.gif')
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub14',/*Text=*/'Turbo Fuse',/*URL=*/'index.php?parentid=products&option=products&sub_option=boost_controllers&sub_sub_option=turbofuse',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub14',/*Text=*/'Atomic',/*URL=*/'index.php?parentid=products&option=products&sub_option=boost_controllers&sub_sub_option=atomic',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub14',/*Text=*/'Reactor',/*URL=*/'index.php?parentid=products&option=products&sub_option=boost_controllers&sub_sub_option=reactor',/*target=*/'',/*width=*/0,/*height=*/20)
	oM.makeMenu(/*name=*/'0sub15',/*Parent=*/'top0',/*Text=*/'Wastegates',/*URL=*/'index.php?parentid=products&option=products&sub_option=wastegates',/*target=*/'',/*width=*/'',/*height=*/20,'images/wastegates_submenu_up.gif','images/wastegates_submenu_over.gif')
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub15',/*Text=*/'EX50 Wastegate',/*URL=*/'index.php?parentid=products&option=products&sub_option=wastegates&sub_sub_option=ex50',/*target=*/'',/*width=*/0,/*height=*/20)
	oM.makeMenu(/*name=*/'0sub16',/*Parent=*/'top0',/*Text=*/'Short Shift Kits',/*URL=*/'index.php?parentid=products&option=products&sub_option=shifters',/*target=*/'',/*width=*/0,/*height=*/20,'images/ssk_submenu_up.gif','images/ssk_submenu_over.gif')
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub16',/*Text=*/'WRX (5 sp) Short Shift Kit',/*URL=*/'index.php?parentid=products&option=products&sub_option=shifters&sub_sub_option=wrx ssk',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub16',/*Text=*/'STi (6 sp) Short Shift Kit',/*URL=*/'index.php?parentid=products&option=products&sub_option=shifters&sub_sub_option=sti ssk',/*target=*/'',/*width=*/0,/*height=*/20)
	oM.makeMenu(/*name=*/'0sub17',/*Parent=*/'top0',/*Text=*/'Accessories',/*URL=*/'index.php?parentid=products&option=products&sub_option=accessories',/*target=*/'',/*width=*/'',/*height=*/20,'images/accessories_submenu_up.gif','images/accessories_submenu_over.gif')
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub17',/*Text=*/'Whistling Trumpet',/*URL=*/'index.php?parentid=products&option=products&sub_option=accessories&sub_sub_option=whistling_trumpet',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub17',/*Text=*/'GFB Sticker',/*URL=*/'index.php?parentid=products&option=products&sub_option=accessories&sub_sub_option=sticker',/*target=*/'',/*width=*/0,/*height=*/20)
		oM.makeMenu(/*name=*/'',/*Parent=*/'0sub17',/*Text=*/'Screw-in Plug',/*URL=*/'index.php?parentid=products&option=products&sub_option=accessories&sub_sub_option=screwin_plug',/*target=*/'',/*width=*/0,/*height=*/20)

oM.makeMenu(/*name=*/'top1',/*Parent=*/'',/*Text=*/'Navigation1',/*URL=*/'index.php?parentid=sounds&option=sounds',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/sounds_up.gif',/*Rollover Image=*/'images/sounds_over.gif','','',"bottom")

oM.makeMenu(/*name=*/'top2',/*Parent=*/'',/*Text=*/'Navigation2',/*URL=*/'forum/',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/forum_up.gif',/*Rollover Image=*/'images/forum_over.gif','','',"bottom")
	
oM.makeMenu(/*name=*/'top3',/*Parent=*/'',/*Text=*/'Navigation2',/*URL=*/'index.php?parentid=troubleshooting&option=troubleshooting',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/troubleshooting_up.gif',/*Rollover Image=*/'images/troubleshooting_over.gif','','',"bottom")
	
oM.makeMenu(/*name=*/'top4',/*Parent=*/'',/*Text=*/'Navigation3',/*URL=*/'index.php?parentid=dyno_proof&option=dyno_proof',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/dyno_proof_up.gif',/*Rollover Image=*/'images/dyno_proof_over.gif','','',"bottom")

oM.makeMenu(/*name=*/'top5',/*Parent=*/'',/*Text=*/'Navigation5',/*URL=*/'index.php?parentid=faqs&option=faqs',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/faqs_up.gif',/*Rollover Image=*/'images/faqs_over.gif','','',"bottom")
	oM.makeMenu(/*name=*/'5sub10',/*Parent=*/'top5',/*Text=*/'Blow-off valves',/*URL=*/'index.php?parentid=faqs&option=faqs&sub_option=faqs_bovs',/*target=*/'',/*width=*/0,/*height=*/20,'images/bovs_submenu_up.gif','images/bovs_submenu_over.gif')
	oM.makeMenu(/*name=*/'5sub11',/*Parent=*/'top5',/*Text=*/'Adapters',/*URL=*/'index.php?parentid=faqs&option=faqs&sub_option=faqs_adapters',/*target=*/'',/*width=*/0,/*height=*/20,'images/adapters_submenu_up.gif','images/adapters_submenu_over.gif')
	oM.makeMenu(/*name=*/'5sub12',/*Parent=*/'top5',/*Text=*/'Pulley Kits',/*URL=*/'index.php?parentid=faqs&option=faqs&sub_option=faqs_pulley_kits',/*target=*/'',/*width=*/0,/*height=*/20,'images/pulley_kits_submenu_up.gif','images/pulley_kits_submenu_over.gif')
	oM.makeMenu(/*name=*/'5sub13',/*Parent=*/'top5',/*Text=*/'Boost controllers',/*URL=*/'index.php?parentid=faqs&option=faqs&sub_option=faqs_boost_controllers',/*target=*/'',/*width=*/0,/*height=*/20,'images/boost_control_submenu_up.gif','images/bst_control_submenu_over.gif')
	oM.makeMenu(/*name=*/'5sub14',/*Parent=*/'top5',/*Text=*/'Short Shift Kits',/*URL=*/'index.php?parentid=faqs&option=faqs&sub_option=faqs_ssk',/*target=*/'',/*width=*/0,/*height=*/20,'images/ssk_submenu_up.gif','images/ssk_submenu_over.gif')
	oM.makeMenu(/*name=*/'5sub15',/*Parent=*/'top5',/*Text=*/'Accessories',/*URL=*/'index.php?parentid=faqs&option=faqs&sub_option=faqs_accessories',/*target=*/'',/*width=*/0,/*height=*/20,'images/accessories_submenu_up.gif','images/accessories_submenu_over.gif')

oM.makeMenu(/*name=*/'top6',/*Parent=*/'',/*Text=*/'Navigation6',/*URL=*/'index.php?parentid=retailers&option=retailers',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/retailers_up.gif',/*Rollover Image=*/'images/retailers_over.gif','','',"bottom")

if (location.hostname != 'www.gofastbits.co.nz'){
	oM.makeMenu(/*name=*/'6sub10',/*Parent=*/'top6',/*Text=*/'Africa',/*URL=*/'index.php?parentid=retailers&option=retailers&sub_option=africa',/*target=*/'',/*width=*/0,/*height=*/20,/*Image=*/'images/africa_submenu_up.gif',/*Rollover Image=*/'images/africa_submenu_over.gif')
	oM.makeMenu(/*name=*/'6sub11',/*Parent=*/'top6',/*Text=*/'Asia/Pacific',/*URL=*/'index.php?parentid=retailers&option=retailers&sub_option=asia_pacific',/*target=*/'',/*width=*/0,/*height=*/20,/*Image=*/'images/asia_pac_submenu_up.gif',/*Rollover Image=*/'images/asia_pac_submenu_over.gif')
	oM.makeMenu(/*name=*/'6sub12',/*Parent=*/'top6',/*Text=*/'Australia',/*URL=*/'index.php?parentid=retailers&option=retailers&sub_option=australia',/*target=*/'',/*width=*/0,/*height=*/20,/*Image=*/'images/australia_submenu_up.gif',/*Rollover Image=*/'images/australia_submenu_over.gif')
	oM.makeMenu(/*name=*/'6sub13',/*Parent=*/'top6',/*Text=*/'South America/Caribbean',/*URL=*/'index.php?parentid=retailers&option=retailers&sub_option=caribbean',/*target=*/'',/*width=*/0,/*height=*/20,/*Image=*/'images/caribbean_submenu_up.gif',/*Rollover Image=*/'images/caribbean_submenu_over.gif')
	oM.makeMenu(/*name=*/'6sub14',/*Parent=*/'top6',/*Text=*/'Europe',/*URL=*/'index.php?parentid=retailers&option=retailers&sub_option=europe',/*target=*/'',/*width=*/0,/*height=*/20,/*Image=*/'images/europe_submenu_up.gif',/*Rollover Image=*/'images/europe_submenu_over.gif')
	oM.makeMenu(/*name=*/'6sub15',/*Parent=*/'top6',/*Text=*/'North America',/*URL=*/'index.php?parentid=retailers&option=retailers&sub_option=north_america',/*target=*/'',/*width=*/0,/*height=*/20,/*Image=*/'images/nth_america_submenu_up.gif',/*Rollover Image=*/'images/nth_america_submenu_over.gif')
}
	oM.makeMenu(/*name=*/'6sub16',/*Parent=*/'top6',/*Text=*/'New Zealand',/*URL=*/'index.php?parentid=retailers&option=retailers&sub_option=new_zealand',/*target=*/'',/*width=*/0,/*height=*/20,/*Image=*/'images/nz_submenu_up.gif',/*Rollover Image=*/'images/nz_submenu_over.gif')

oM.makeMenu(/*name=*/'top7',/*Parent=*/'',/*Text=*/'Navigation7',/*URL=*/'index.php?parentid=contact&option=contact',/*target=*/'',/*width=*/'',/*height=*/'',/*Image=*/'images/contact_us_up.gif',/*Rollover Image=*/'images/contact_us_over.gif','','',"bottom")

if (location.hostname != 'www.gofastbits.co.nz'){
oM.makeMenu(/*name=*/'top8',/*Parent=*/'',/*Text=*/'Navigation8',/*URL=*/'http://store.autospeed.com/Store/Search.aspx?key=Go%20Fast%20Bits',/*target=*/'_blank',/*width=*/'',/*height=*/'',/*Image=*/'images/order_online_up.gif',/*Rollover Image=*/'images/order_online_over.gif','','',"bottom")
}
								
oM.construct() //Constructs the menu system.			
