/******************* MENU NUMBER 1 **********************************/

/*** 
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.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=10 
oCMenu.fromTop=160   
oCMenu.rows=0 
oCMenu.menuPlacement=0

oCMenu.offlineRoot="" 
//Un-comment the proper onlineRoot string below
oCMenu.onlineRoot="http://www.southernresearch.org" //Windows Site
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
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=150
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=0
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].align="right" 


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify 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=oCMenu.level[0].width-2
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].style=""
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].rows=0
oCMenu.level[1].align="bottom" 

/******************************************
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','','','/engineering/index.html','','135','64','/images/engineer-off.jpg','/images/engineer-on.jpg')
	
oCMenu.makeMenu('top1','','Advanced Materials &amp; Mechanics','/engineering/engineering-ad-materials.html','','','42')
	oCMenu.makeMenu('sub10','top1','Mechanical Behavior of Materials','/engineering/engineering-mech-behavior.html','','','38')
	oCMenu.makeMenu('sub11','top1','Thermal Behavior of Materials','/engineering/engineering-thermal-behavior.html','','','38')
	oCMenu.makeMenu('sub12','top1','Chemistry &amp; Physics of Materials','/engineering/engineering-chemistry-physics.html','','','38')

oCMenu.makeMenu('top2','','Systems Development','/engineering/engineering-systems-development.html')
	oCMenu.makeMenu('sub20','top2','Capabilities','/engineering/engineering-sdd-capabilities.html')
oCMenu.makeMenu('sub21','top2','Products','/engineering/engineering-sdd-products.html')
	oCMenu.makeMenu('sub22','top2','Current Projects','/engineering/engineering-sdd-current_projects.html')
	oCMenu.makeMenu('sub23','top2','Past Projects','/engineering/engineering-sdd-past_projects.html')

oCMenu.makeMenu('top3','','Blast Mitigation','/engineering/engineering-blast-mitigation.html')
oCMenu.makeMenu('top4','','Finite Element Analysis','/engineering/engineering-finite-element-analysis.html')
oCMenu.makeMenu('top5','','Service Environment Simulation','/engineering/engineering-simulated-environment.html','','','38')
oCMenu.makeMenu('top6','','Vibration Analysis','/engineering/engineering-vibration-analysis.html')

oCMenu.makeMenu('top7','','Precision Measurements','/engineering/engineering-nondestructive.html')

oCMenu.makeMenu('top8','','Electronic Packaging','/engineering/engineering-electronic-packaging.html')

oCMenu.makeMenu('top9','','Environmental Scanning Electron Microscope','/engineering/environmental-scanning-electron-microscope.html','','','42')

oCMenu.makeMenu('top10','','Machine Shop Services','/engineering/engineering-specialty.html')

//Leave this line - it constructs the menu
oCMenu.construct()		



/******************* MENU NUMBER 2 **********************************/



/*** 
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.
**/

//Menu object creation
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu2.pxBetween=10
oCMenu2.fromLeft=20 
oCMenu2.fromTop=104  
oCMenu2.rows=1 
oCMenu2.menuPlacement="left"
                                                             
oCMenu2.offlineRoot="" 
//Un-comment the proper onlineRoot string below
oCMenu2.onlineRoot="http://www.southernresearch.org" //Windows Site
oCMenu2.resizeCheck=1 
oCMenu2.wait=1000 
oCMenu2.fillImg="/new_web/images/cm_fill.gif"
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0
oCMenu2.barWidth="100%"
oCMenu2.barHeight="menu" 
oCMenu2.barClass="cl2Bar"
oCMenu2.barX=0 
oCMenu2.barY=0
oCMenu2.barBorderX=0
oCMenu2.barBorderY=0
oCMenu2.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=200
oCMenu2.level[0].height=22 
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=1
oCMenu2.level[0].borderY=1
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=0
oCMenu2.level[0].offsetY=0
oCMenu2.level[0].rows=0
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.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
oCMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu2.level[1].width=oCMenu2.level[0].width-2
oCMenu2.level[1].height=22
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=0
oCMenu2.level[1].borderY=0
oCMenu2.level[1].align="right" 
oCMenu2.level[1].offsetX=-(oCMenu2.level[0].width-2)/2+20
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu2.makeMenu('top0','','&nbsp;Home','/index.html','','45')

oCMenu2.makeMenu('top1','','&nbsp;About Us','/about.html','','60')
	oCMenu2.makeMenu('sub00','top1','&nbsp;Notable Research','/about-notable-research.html')
	oCMenu2.makeMenu('sub01','top1','&nbsp;Locations &amp; Research Centers','/about-locations.html')
	oCMenu2.makeMenu('sub02','top1','&nbsp;News Room','/about-newsroom.html')
	oCMenu2.makeMenu('sub03','top1','&nbsp;Intellectual Property','/ip/index.html')
	oCMenu2.makeMenu('sub04','top1','&nbsp;Leaders &amp; Directors','/about-leader.html')
	oCMenu2.makeMenu('sub05','top1','&nbsp;Doing Business With Us','/about-do-business.html')
	oCMenu2.makeMenu('sub06','top1','&nbsp;Diversity','/about-diversity.html')
	
	
oCMenu2.makeMenu('top2','','&nbsp;Site Map','/sitemap.html','','60')

oCMenu2.makeMenu('top3','','&nbsp;Client Lab','/clientlab.html','','70')

oCMenu2.makeMenu('top4','','&nbsp;Careers','/careers.html','','55')

oCMenu2.makeMenu('top5','','&nbsp;Intellectual Property','/ip/index.html','','120')

oCMenu2.makeMenu('top6','','&nbsp;Contact Us','/contact-us.html','','75')


//Leave this line - it constructs the menu
oCMenu2.construct()