/******************* 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=30
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/home" //Oracle Site
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=200
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=10
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','','','/research/index.html','','135','64','/images/life-off.jpg','/images/life-on.jpg')
	
oCMenu.makeMenu('top1','','','/contract-services/index.html','','135','64','/images/pharm-off.jpg','/images/pharm-on.jpg')

oCMenu.makeMenu('top2','','','/engineering/index.html','','135','65','/images/engineer-off.jpg','/images/engineer-on.jpg')

oCMenu.makeMenu('top4','','','/environmental/index.html','','115','55','/images/environmental-off.jpg','/images/environmental-on.jpg')

//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/home" //Oracle Site
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=175
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=0
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('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()