//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.positionType="relative"
oCMenu.containerId="clMenuContainer"
oCMenu.fromLeft=0
oCMenu.fromTop=0
oCMenu.rows=0 
oCMenu.menuPlacement="left"

oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=100 
oCMenu.fillImg="sources/coolmenus/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass=""
oCMenu.barX=0 
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//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=178
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=""
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="right"

//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].width=150
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].borderClass="clLevel1border"

/******************************************
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('home', '', '', 'index.html', '', 178, 25, 'images/menu/home_off.jpg', 'images/menu/home_on.jpg') 

oCMenu.makeMenu('company_history', '', '', 'company_history.html', '', 178, 25, 'images/menu/history_off.jpg', 'images/menu/history_on.jpg') 
	oCMenu.makeMenu('community_service', 'company_history', 'Community Service', 'community_service.html', '', 150)
	oCMenu.makeMenu('project_awards', 'company_history', 'Project Awards', 'project_awards.html', '', 150) 
	oCMenu.makeMenu('industry_affiliations', 'company_history', 'Industry Affiliations', 'industry_affiliations.html', '', 150) 

oCMenu.makeMenu('asphalt', '', '', 'asphalt_map.html', '', 178, 25, 'images/menu/asphalt_off.jpg', 'images/menu/asphalt_on.jpg') 
	oCMenu.makeMenu('asphalt_map', 'asphalt', 'All (Map)', 'asphalt_map.html', '', 150)
	oCMenu.makeMenu('asphalt_columbus', 'asphalt', 'Columbus Plant', 'asphalt_map.html#columbus', '', 150)
	oCMenu.makeMenu('asphalt_edison', 'asphalt', 'Edison Plant', 'asphalt_map.html#edison', '', 150)
	oCMenu.makeMenu('asphalt_florence', 'asphalt', 'Florence Plant', 'asphalt_map.html#florence', '', 150)
	oCMenu.makeMenu('asphalt_kingston', 'asphalt', 'Kingston Quarry', 'asphalt_map.html#kingston', '', 150)
	oCMenu.makeMenu('asphalt_lambertville', 'asphalt', 'Lambertville Quarry', 'asphalt_map.html#lambertville', '', 150)
	oCMenu.makeMenu('asphalt_mt_holly', 'asphalt', 'Mt. Holly Plant', 'asphalt_map.html#mt_holly', '', 150)
	oCMenu.makeMenu('asphalt_pennington', 'asphalt', 'Pennington Quarry', 'asphalt_map.html#pennington', '', 150)
	oCMenu.makeMenu('asphalt_runnemede', 'asphalt', 'Runnemede Plant', 'asphalt_map.html#runnemede', '', 150)
	oCMenu.makeMenu('asphalt_south_river', 'asphalt', 'South River Plant', 'asphalt_map.html#south_river', '', 150)
	oCMenu.makeMenu('asphalt_trenton', 'asphalt', 'Trenton Plant', 'asphalt_map.html#trenton', '', 150)	
	oCMenu.makeMenu('asphalt_south_brunswick', 'asphalt', 'South Brunswick', 'asphalt_map.html#southbrunswick', '', 150)

oCMenu.makeMenu('stone', '', '', 'stone_map.html', '', 178, 25, 'images/menu/stone_off.jpg', 'images/menu/stone_on.jpg') 
	oCMenu.makeMenu('stone_map', 'stone', 'All (Map)', 'stone_map.html', '', 160)
	oCMenu.makeMenu('stone_bellemead', 'stone', 'Bellemead Quarry', 'stone_map.html#Bellemead', '', 160)
	oCMenu.makeMenu('stone_south_depot', 'stone', 'Freehold Yard', 'stone_map.html#freehold', '', 160)
	oCMenu.makeMenu('stone_kingston', 'stone', 'Kingston Quarry', 'stone_map.html#kingston', '', 160)
	oCMenu.makeMenu('stone_lambertville', 'stone', 'Lambertville Quarry', 'stone_map.html#Lambertville', '', 160)
	oCMenu.makeMenu('stone_moores_station', 'stone', 'Moores Station Quarry', 'stone_map.html#Moores_Station', '', 160)
	oCMenu.makeMenu('stone_pennington', 'stone', 'Pennington Quarry', 'stone_map.html#Pennington', '', 160)

oCMenu.makeMenu('locations', '', '', 'locations.html', '', 178, 25, 'images/menu/locations_off.jpg', 'images/menu/locations_on.jpg') 

oCMenu.makeMenu('community', '', '', 'community.html', '', 178, 25, 'images/menu/community_off.jpg', 'images/menu/community_on.jpg') 

oCMenu.makeMenu('employment', '', '', 'employment.html', '', 178, 25, 'images/menu/employment_off.jpg', 'images/menu/employment_on.jpg') 

oCMenu.makeMenu('equipment_for_sale', '', '', 'equipment_for_sale.html', '', 178, 25, 'images/menu/equipment_off.jpg', 'images/menu/equipment_on.jpg') 

oCMenu.makeMenu('contact_us', '', '', 'contact_us.html', '', 178, 25, 'images/menu/contact_off.jpg', 'images/menu/contact_on.jpg') 
	oCMenu.makeMenu('sales', 'contact_us', 'Sales', 'contact_us.html', '', 80)
	oCMenu.makeMenu('credit', 'contact_us', 'Credit', 'contact_us.html#credit', '', 80)

//oCMenu.construct()		
 