//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=2
oCMenu.fromLeft=10 
oCMenu.fromTop=0   
oCMenu.rows=1 
oCMenu.menuPlacement="left"

oCMenu.offlineRoot=""
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth=814
oCMenu.barHeight=20
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""


//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=68
oCMenu.level[0].height=20 
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"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=2
oCMenu.level[0].cliptim=2
//special animation filters (IE5.5+ only, controllable for each level)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 


//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=oCMenu.level[0].width-4
oCMenu.level[1].height=20
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=2
oCMenu.level[1].cliptim=2
//special animation filters
oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
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=20
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"

/******************************************
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','','Home','main.htm','',90,0)
oCMenu.makeMenu('top1','','Institute','','',120,0)
	oCMenu.makeMenu('sub00','top1','Mandate','insMandate.html','',120,0)
	oCMenu.makeMenu('sub01','top1','Personnel +','','',120,0)
		oCMenu.makeMenu('sub011','sub01','Nagpur','personnel_ngp.html','',80,0)
		oCMenu.makeMenu('sub012','sub01','Coimbatore','personnel_cbe.html','',80,0)
		oCMenu.makeMenu('sub013','sub01','Sirsa','personnel_srs.html','',80,0)
	oCMenu.makeMenu('sub02','top1','CICR-Nutshell','insnutshell.html','',120,0)
	oCMenu.makeMenu('sub03','top1','Ongoing Projects','insongoprojects.html','',120,0)
	oCMenu.makeMenu('sub04','top1','Organization Chart','insOrgchart.html','',120,0)
	oCMenu.makeMenu('sub05','top1','Award&Publication+','','',120,0)
			oCMenu.makeMenu('sub040','sub05','CICR-Publications','insPublications.html','',125,0)
			oCMenu.makeMenu('sub041','sub05','Scientist Publication','scipub.htm','',125,0)		
			oCMenu.makeMenu('sub042','sub05','Awards','insAwards.html','',125,0)
	oCMenu.makeMenu('sub06','top1','KVK, Nagpur','kvk.html','',120,0)
	oCMenu.makeMenu('sub07','top1','Contacts us','contacts.html','',120,0)

oCMenu.makeMenu('top2','','Research','','',120,0)
		oCMenu.makeMenu('sub001','top2','Crop Improvement','ResCropImprovement.html','',120,0)
		oCMenu.makeMenu('sub002','top2','Crop Production','ResCropProduction.html','',120,0)
		oCMenu.makeMenu('sub003','top2','Crop Protection','ResCropProtection.html','',120,0)
		oCMenu.makeMenu('sub004','top2','Research Notes','researchnotes.htm','',120,0)
	
oCMenu.makeMenu('top3','','AICCIP','aiccip/main_aiccip.htm','_blank','',20,0)
		
oCMenu.makeMenu('top4','','TMC-MMI','tmc/main_tmc.htm','_blank','',20,0)
	
oCMenu.makeMenu('top5','','NAIP','','',60,0)
	oCMenu.makeMenu('sub51','top5','Value addition in Cotton','naip-va.htm','',160,0)
	oCMenu.makeMenu('sub52','top5','Decision Support System','naip-dss.htm','',160,0)
	
oCMenu.makeMenu('top6','','Media Resource','','',120,0)
	oCMenu.makeMenu('sub61','top6','Database','database.htm','',120,0)
	oCMenu.makeMenu('sub62','top6','Image Gallery','photo.html','',120,0)
	oCMenu.makeMenu('sub63','top6','News Letter', 'newsletter.htm','',120,0)
	oCMenu.makeMenu('sub64','top6','press News','pressnews.htm','',120,0)
	oCMenu.makeMenu('sub65','top6','Related Links','links.htm','',120,0)
	oCMenu.makeMenu('sub66','top6','Bib. Reference  +','','',120,0)
	oCMenu.makeMenu('sub661','sub66','G.barbadense','barbadense_ref.pdf','',80,0)
	oCMenu.makeMenu('sub662','sub66','G.hirsutum','hirsutum_ref.pdf','',80,0)
	oCMenu.makeMenu('sub663','sub66','G.herbaceum','herbaceum_ref.pdf','',80,0)
	oCMenu.makeMenu('sub67','top6','Downloads','Download.htm','',120,0)

oCMenu.makeMenu('top7','','    Hindi','hindi/hindi05-06.pdf','_blank','',20,0)



//Leave this line - it constructs the menu
oCMenu.construct()