//<!--
/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

MOD_REWRITE_BASE_PATH = "";


//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=5
oCMenu.fromLeft=20 
oCMenu.fromTop=259
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=800 
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=75
oCMenu.level[0].height=25
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=MOD_REWRITE_BASE_PATH + "images/down_arrow.gif"
oCMenu.level[0].arrowWidth=9
oCMenu.level[0].arrowHeight=5
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].align="right"
oCMenu.level[1].arrow=MOD_REWRITE_BASE_PATH + "images/right_arrow.gif"
oCMenu.level[1].arrowWidth=5
oCMenu.level[1].arrowHeight=9
oCMenu.level[1].width=164
oCMenu.level[1].height=25

oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].align="right"
oCMenu.level[2].arrow=MOD_REWRITE_BASE_PATH + "images/right_arrow.gif"
oCMenu.level[2].arrowWidth=5
oCMenu.level[2].arrowHeight=9
oCMenu.level[2].width=90
oCMenu.level[2].height=23

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','Home',MOD_REWRITE_BASE_PATH + 'index.php','', 65)
  oCMenu.makeMenu('sub00','top0','About Us', MOD_REWRITE_BASE_PATH + 'about.php','', 90)
  oCMenu.makeMenu('sub01','top0','Contact Us', MOD_REWRITE_BASE_PATH + 'contact.php','',90)
	
oCMenu.makeMenu('top1','','Products',MOD_REWRITE_BASE_PATH + 'products.php?id=options', '', 85)
	oCMenu.makeMenu('sub10','top1','Speaker Adapters',MOD_REWRITE_BASE_PATH + 'products.php?id=adapter', '', 180)
		oCMenu.makeMenu('sub100', 'sub10', 'Search By Vehicle', MOD_REWRITE_BASE_PATH + 'products.php?id=adapter_search_consumer', '', 175)
		oCMenu.makeMenu('sub101', 'sub10', 'Search By Adapter Model Number', MOD_REWRITE_BASE_PATH + 'products.php?id=adapter_search_adapter', '', 175)
		oCMenu.makeMenu('sub102', 'sub10', 'Compatability Trees', MOD_REWRITE_BASE_PATH + 'products.php?id=adapter', '', 175)
			oCMenu.makeMenu('sub1022', 'sub102', 'Make/Model/Year Tree', MOD_REWRITE_BASE_PATH + 'products.php?id=adapter_installer_list', '', 190)
			oCMenu.makeMenu('sub1023', 'sub102', 'Year/Make/Model Tree', MOD_REWRITE_BASE_PATH + 'products.php?id=adapter_consumer_list', '', 190)
			oCMenu.makeMenu('sub1024', 'sub102', 'Model/Location/Year Tree', MOD_REWRITE_BASE_PATH + 'products.php?id=adapter_product_list', '', 190)
		oCMenu.makeMenu('sub104', 'sub10', 'View All Adapters', MOD_REWRITE_BASE_PATH + 'products.php?id=adapter_thumbnail_list', '', 175)
	oCMenu.makeMenu('sub11','top1','Speaker Spacers',MOD_REWRITE_BASE_PATH + 'products.php?id=spacer_list', '', 180)
oCMenu.makeMenu('top2','','Installation Tips',MOD_REWRITE_BASE_PATH + 'modifications.php', '', 150)	
oCMenu.makeMenu('top3','','&nbsp;Payments',MOD_REWRITE_BASE_PATH + 'placingorders.php', '', 90)
oCMenu.makeMenu('top5','','Return Policy',MOD_REWRITE_BASE_PATH + 'returnpolicy.php','',100)
oCMenu.makeMenu('top6','','Shipping Info',MOD_REWRITE_BASE_PATH + 'shippinginfo.php','',100)
oCMenu.minWidth=733;
//Leave this line - it constructs the menu
oCMenu.construct()
//-->

