/***
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.
**/

/********** Main Navigation **********/

//Menu object creation
oM=new makeCM("oM") //Making the menu object. Argument: menuname

oM.frames = 0

//Menu properties
oM.pxBetween=0
oM.fromLeft=5
oM.fromTop=151
oM.rows=1
oM.menuPlacement="center"

oM.offlineRoot=""
oM.onlineRoot=""
oM.resizeCheck=0
oM.wait=250
oM.fillImg=""
oM.zIndex=100

//Background bar properties
oM.useBar=1
oM.barWidth="696"
oM.barHeight="menu"
oM.barClass="clBar"
oM.barX=0
oM.barY="menu"
oM.barBorderX=0
oM.barBorderY=0
oM.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oM.level[0]=new cm_makeLevel() //Add this for each new level
oM.level[0].width=110
oM.level[0].height=23
oM.level[0].regClass="clT"
oM.level[0].overClass="clTover"
oM.level[0].borderX=0
oM.level[0].borderY=0
oM.level[0].borderClass="clB"
oM.level[0].offsetX=0
oM.level[0].offsetY=0
oM.level[0].rows=0
oM.level[0].arrow=0
oM.level[0].arrowWidth=0
oM.level[0].arrowHeight=0
oM.level[0].align="bottom"
//Property added ---- Doesn't apply to the top level. This gives you a border around all items.
oM.level[0].roundBorder=0

//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
oM.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oM.level[1].width=oM.level[0].width-2
oM.level[1].height=21
oM.level[1].regClass="clT1"
oM.level[1].overClass="clT1over"
oM.level[1].borderX=1
oM.level[1].borderY=1
oM.level[1].arrow="/images/2nd_arrow.gif"
oM.level[1].arrowWidth=3
oM.level[1].arrowHeight=6
oM.level[1].align="right"
oM.level[1].offsetX=0
oM.level[1].offsetY=0
oM.level[1].borderClass="clB1"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/


// Products
oM.makeMenu('top0','','&nbsp;Products','/products/','_top','101','32','/images/nav_products_static.gif','/images/nav_products_roll.gif')
	oM.makeMenu('sub00','top0','Products','/products/','',101)
	oM.makeMenu('sub01','top0','MetaCork&trade;','/products/metacork/','',101)
//	oM.makeMenu('sub011','sub01','What is MetaCork&trade;?','/products/metacork/appli.php','',210)
//	oM.makeMenu('sub012','sub01','MetaCork&trade; Benefits','/products/metacork/brand.php','',210)
//	oM.makeMenu('sub013','sub01','The MetaCork&trade; System?','/products/metacork/components.php','',210)
//	oM.makeMenu('sub014','sub01','How Does it Work?','/products/metacork/how.php','',210,20)
	oM.makeMenu('sub02','top0','MetaSeal&trade;','/products/metaseal/','',101)

// Sales and Services
oM.makeMenu('top1','','&nbsp;Sales and Service','/sales/','_top','150','32','/images/nav_sales-service_static.gif','/images/nav_sales-service_roll.gif')
	oM.makeMenu('sub11','top1','Sales and Service','/sales/','',150)
//oM.makeMenu('sub12','top1','Our Programs','/sales/programs/','',150)
//	oM.makeMenu('sub121','sub12','MetaCertified&trade; Program','/sales/programs/program.php','',155)
//	oM.makeMenu('sub122','sub12','MetaCork&trade; on the Outside Program','/sales/programs/outside.php','',155)
//	oM.makeMenu('sub123','sub12','Get Acquainted Program','/sales/programs/get.php','',155)
//	oM.makeMenu('sub124','sub12','Point of Sale Material','/sales/programs/pos.php','',155,20)
//oM.makeMenu('sub13','top1','Partners','/sales/partners/','',150)
	oM.makeMenu('sub13','top1','Wineries using MetaCork&trade;','/sales/partners/wineries.php','',150)
//	oM.makeMenu('sub132','sub13','Glass','/sales/partners/glass.php','',155)
//	oM.makeMenu('sub133','sub13','Application Machinery','/sales/partners/appli.php','',155,20)
//oM.makeMenu('sub14','top1','Pricing','/sales/pricing/','',150)

// News and Events
oM.makeMenu('top2','','&nbsp;News & Events','/press/','_top','134','32','/images/nav_news-events_static.gif','/images/nav_news-events_roll.gif')
	oM.makeMenu('sub21','top2','News & Events','/press/','',134)
	oM.makeMenu('sub22','top2','In The News','/press/news/innews.php','',134)
	oM.makeMenu('sub23','top2','Press Releases','/press/room/releases/index.php','',134)
	oM.makeMenu('sub24','top2','Industry News','/press/news/index.php','',134)
	oM.makeMenu('sub25','top2','Events','/press/events/schedule.php','',134)
	oM.makeMenu('sub26','top2','Newsletter','/press/ebulletin.php','',134)
	oM.makeMenu('sub27','top2','ImageGallery ','/press/images/','',134)
//oM.makeMenu('sub28','top2','Media Kit ','/press/kit/','',134)


// COMPANY
oM.makeMenu('top3','','&nbsp;Company','/company/','_top','181','32','/images/nav_comp-info_static.gif','/images/nav_comp-info_roll.gif')
	oM.makeMenu('sub31','top3','Company Information','/company/','',181)
	oM.makeMenu('sub32','top3','Team & Bios','/company/bios/','',181)
	oM.makeMenu('sub33','top3','Investor Information','/company/investor/','',181)
		oM.makeMenu('sub331','sub33','Prospective Investors','/company/investor/prospective.php','',155)
		oM.makeMenu('sub332','sub33','Current Investors','/company/investor/current.php','',155,20)	
	oM.makeMenu('sub34','top3','Employment Opportunities','/company/careers/','',181)


// Contact Us
oM.makeMenu('top4','','&nbsp;Contact Us','/contact/','_top','110','32','/images/nav_contact_static.gif','/images/nav_contact_roll.gif')
	oM.makeMenu('sub41','top4','Contact Us','/contact/','',110)
	oM.makeMenu('sub42','top4','Send Us A Note','/contact/contact_us.php','',110)
//oM.makeMenu('sub43','top4','Contact Info','/contact/info/','',110)
//	oM.makeMenu('sub431','sub43','Sales','/contact/info/sales.php','',145)
//	oM.makeMenu('sub432','sub43','Finance','/contact/info/finance.php','',145)
//	oM.makeMenu('sub434','sub43','Marketing','/contact/info/marketing.php','',145)
//	oM.makeMenu('sub435','sub43','Engineering','/contact/info/engineering.php','',145,20)



//Leave this line - it constructs the menus
oM.construct()

