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

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=249
oCMenu.fromTop=279  
oCMenu.rows=1
oCMenu.menuPlacement=0
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=100
oCMenu.fillImg="images/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="menu"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
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=100 // override this 
oCMenu.level[0].height=28 
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=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
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].width=100
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].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow="images/menu_arrow.gif"
oCMenu.level[1].arrowWidth=4
oCMenu.level[1].arrowHeight=11

oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=22
oCMenu.level[2].regClass="clLevel1"
oCMenu.level[2].overClass="clLevel1over"
oCMenu.level[2].borderX=1
oCMenu.level[2].borderY=1
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderClass="clLevel1border"
oCMenu.level[2].arrow="images/menu_arrow.gif"
oCMenu.level[2].arrowWidth=4
oCMenu.level[2].arrowHeight=11


/******************************************
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('news','','','newsrelease.php','',60,28,'images/middlemenu_news.gif')
	oCMenu.makeMenu('newsRelease','news','News Releases','newsrelease.php')
	oCMenu.makeMenu('mediaKit','news','Media Kit','mediakit.html')
  	oCMenu.makeMenu('mediaContacts','news','Media Contacts','mediacontacts.html')
	oCMenu.makeMenu('events','news','Events','events.html')
oCMenu.makeMenu('manufacturing','','','manufacturing.html','',100,28,'images/middlemenu_manufacturing.gif')
	oCMenu.makeMenu('chemEtch','manufacturing','Chem. Etch','#','','','','','','','','','','',"newwin=window.open('popup/chemetch.html','newwin','width=500,height=360,scrollbars=no');newwin.focus();")
	oCMenu.makeMenu('laserMach','manufacturing','Laser Mach.','#','','','','','','','','','','',"newwin=window.open('popup/lasermach.html','newwin','width=500,height=360,scrollbars=no');newwin.focus();")
  	oCMenu.makeMenu('qualityControl','manufacturing','Quality Control','#','','','','','','','','','','',"newwin=window.open('popup/qualitycontrol.html','newwin','width=500,height=550,scrollbars=no');newwin.focus();")
	oCMenu.makeMenu('mounting','manufacturing','Mounting','#','','','','','','','','','','',"newwin=window.open('popup/mounting.html','newwin','width=500,height=300,scrollbars=no');newwin.focus();")
 	oCMenu.makeMenu('shipping','manufacturing','Shipping','#','','','','','','','','','','',"newwin=window.open('popup/shipping.html','newwin','width=500,height=260,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('materials','manufacturing','Materials','#','','','','','','','','','','',"newwin=window.open('popup/materials.html','newwin','width=500,height=280,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('frames','manufacturing','Frames','#','','','','','','','','','','',"newwin=window.open('popup/frames.html','newwin','width=500,height=500,scrollbars=yes');newwin.focus();")
   oCMenu.makeMenu('nickelPlating','manufacturing','Nickel Plating','#','','','','','','','','','','',"newwin=window.open('popup/nickelplating.html','newwin','width=500,height=220,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('stepEtching','manufacturing','Step Etching','#','','','','','','','','','','',"newwin=window.open('popup/stepetch.html','newwin','width=500,height=360,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('cleanKut','manufacturing','CleanKut&#153;','#','','','','','','','','','','',"newwin=window.open('popup/cleankut.html','newwin','width=500,height=220,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('orderProcess','manufacturing','Order Process','#','','','','','','','','','','',"newwin=window.open('popup/orderingprocess.html','newwin','width=500,height=240,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('engineering','manufacturing','Engineering','#','','','','','','','','','','',"newwin=window.open('popup/engineering.html','newwin','width=500,height=480,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('storage','manufacturing','Storage Rack','#','','','','','','','','','','',"newwin=window.open('popup/storage.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
oCMenu.makeMenu('contact','','','contact.html','',73,28,'images/middlemenu_contact.gif')
	oCMenu.makeMenu('general','contact','General','contact.html')
	oCMenu.makeMenu('map','contact','Map','directions.html')   
oCMenu.makeMenu('literature','','','#','',85,28,'images/middlemenu_literature.gif')
	oCMenu.makeMenu('brochure','literature','Brochure','brochure.html')
	oCMenu.makeMenu('cd','literature','CD','cdrom.html')
oCMenu.makeMenu('corporate','','','overview.html','',82,28,'images/middlemenu_corporate.gif')
	oCMenu.makeMenu('facilityTour','corporate','Facility Tour','tour.html')
	oCMenu.makeMenu('management','corporate','Management','management.html')
  	oCMenu.makeMenu('iso','corporate','ISO','iso.html')
	oCMenu.makeMenu('productLines','corporate','Product Lines','products.html')
			oCMenu.makeMenu('stencils','productLines','Surface Mount Stencils','#','','','','','','','','','','',"newwin=window.open('popup/stencils.html','newwin','width=500,height=500,scrollbars=yes');newwin.focus();")
			oCMenu.makeMenu('partsLaser','productLines','Laser Machining','#','','','','','','','','','','',"newwin=window.open('popup/parts-laser.html','newwin','width=500,height=360,scrollbars=no');newwin.focus();")
			oCMenu.makeMenu('partsChem','productLines','Photo Chem. Machining','#','','','','','','','','','','',"newwin=window.open('popup/parts-chem.html','newwin','width=500,height=360,scrollbars=no');newwin.focus();")
			oCMenu.makeMenu('templates','productLines','Templates','#','','','','','','','','','','',"newwin=window.open('popup/templates.html','newwin','width=500,height=445,scrollbars=no');newwin.focus();")
			oCMenu.makeMenu('mini','productLines','Mini Stencils','#','','','','','','','','','','',"newwin=window.open('popup/minis.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
			oCMenu.makeMenu('electro','productLines','Electroforming','#','','','','','','','','','','',"newwin=window.open('popup/electroform.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
			oCMenu.makeMenu('storageRacks','productLines','Storage Racks','#','','','','','','','','','','',"newwin=window.open('popup/storage.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
			oCMenu.makeMenu('decorative','productLines','Holiday and Decorative','#','','','','','','','','','','',"newwin=window.open('popup/decorative.html','newwin','width=500,height=280,scrollbars=no');newwin.focus();")      
			oCMenu.makeMenu('static','productLines','Static Protection','#','','','','','','','','','','',"newwin=window.open('popup/static.html','newwin','width=500,height=360,scrollbars=no');newwin.focus();")
oCMenu.makeMenu('markets','corporate','Markets','markets.html')
	   oCMenu.makeMenu('aviation','markets','Aviation','#','','','','','','','','','','',"newwin=window.open('popup/aviation.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
      oCMenu.makeMenu('medical','markets','Medical','#','','','','','','','','','','',"newwin=window.open('popup/medical.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
      oCMenu.makeMenu('telecom','markets','Telecom','#','','','','','','','','','','',"newwin=window.open('popup/telecom.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
      oCMenu.makeMenu('computer','markets','Computer','#','','','','','','','','','','',"newwin=window.open('popup/computer.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
      oCMenu.makeMenu('military','markets','Military','#','','','','','','','','','','',"newwin=window.open('popup/military.html','newwin','width=500,height=400,scrollbars=no');newwin.focus();")
   oCMenu.makeMenu('history','corporate','History','history.html')
   oCMenu.makeMenu('overview','corporate','Overview','overview.html')
   oCMenu.makeMenu('industryLinks','corporate','Industry Links','links.html')   
   	   
   	
//Leave this line - it constructs the menu
oCMenu.construct()
