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

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=1
oCMenu.fromLeft=17 
oCMenu.fromTop=0   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///C|/home/croplife/public_html" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
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=147
oCMenu.level[0].height=17 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
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=160
oCMenu.level[1].height=20
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=-2
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify 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=210
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"
oCMenu.level[2].align="left" 

/******************************************
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','','About Us','','')
	oCMenu.makeMenu('sub000','top0','CropLife Asia','about_crop-life-asia.html','')
	oCMenu.makeMenu('sub001','top0','Our Commitment','about_our-commitment.html','')
	oCMenu.makeMenu('sub002','top0','History ','about_history-croplife-asia.html','')
	oCMenu.makeMenu('sub003','top0','Organisation','about_organisation.html','')
	oCMenu.makeMenu('sub004','top0','Global Network','about_croplife-network.html','')
	oCMenu.makeMenu('sub005','top0','Contact Us','contact-croplife-asia.html','')

oCMenu.makeMenu('top1','','Focus Areas','','')
	oCMenu.makeMenu('sub010','top1','Crop Protection','CropProtection.html','')
	oCMenu.makeMenu('sub011','top1','Biotechnology','biotechnology.html','')
	oCMenu.makeMenu('sub014','top1','Stewardship','stewardship.html','')
	oCMenu.makeMenu('sub015','top1','Intellectual Property','IPR.html','')

oCMenu.makeMenu('top2','','News/Publications','','')
	oCMenu.makeMenu('sub020','top2','CropLife In the News','news_croplife-in-the-news.html','')
	oCMenu.makeMenu('sub021','top2','Press Releases','news_press-releases.html','')
	oCMenu.makeMenu('sub023','top2','Publications','publications.html','')

oCMenu.makeMenu('top3','','Library','','')
	oCMenu.makeMenu('sub030','top3','Featured Articles','library_featured-articles.html','')
	oCMenu.makeMenu('sub031','top3','Library Directory','','')
			oCMenu.makeMenu('sub0310','sub031',"What's Here?",'library_directory.html','')
			oCMenu.makeMenu('sub0311','sub031','Crop Protection','library_crop-protection.html','')
				oCMenu.makeMenu('sub03110','sub0311','Benefits','library_crop-protection.html#benefits','')
				oCMenu.makeMenu('sub03111','sub0311','Regulations &amp; Standards','library_crop-protection.html#regs','')
				oCMenu.makeMenu('sub03112','sub0311','Safe & Responsible Use','library_crop-protection.html#safeuse','')
			oCMenu.makeMenu('sub0312','sub031','Biotechnology','library_biotechnology.html','')
			oCMenu.makeMenu('sub0314','sub031','Container Management','library_container-management.html','')
			oCMenu.makeMenu('sub0315','sub031','CropLife Presentations','library_croplife-presentations.html','')
			oCMenu.makeMenu('sub0316','sub031','FAO','library_fao.html','')
			oCMenu.makeMenu('sub0317','sub031','Integrated Pest Management','library_ipm.html','')
			oCMenu.makeMenu('sub0318','sub031','Intellectual Property Rights','library_ipr.html','')
			oCMenu.makeMenu('sub0319','sub031','Sustainable Agriculture','library_sustainable-agriculture.html','')
	oCMenu.makeMenu('sub032','top3','Links ','','')
		oCMenu.makeMenu('sub0320','sub032','Member Companies','','')
			oCMenu.makeMenu('sub03200','sub0320','BASF','http://www.basf.com','_blank')
			oCMenu.makeMenu('sub03201','sub0320','Bayer CropScience','http://www.bayercropscience.com','_blank')
			oCMenu.makeMenu('sub03202','sub0320','Dow AgroSciences','http://www.dowagro.com','_blank')
			oCMenu.makeMenu('sub03203','sub0320','Dupont','http://www2.dupont.com/Agriculture/en_US/','_blank')
			oCMenu.makeMenu('sub03204','sub0320','FMC','http://cropsolutions.fmc.com/','_blank')
			oCMenu.makeMenu('sub03205','sub0320','Monsanto','http://www.monsanto.com','_blank')
			oCMenu.makeMenu('sub03206','sub0320','Syngenta','http://www.syngenta.com','_blank')
			oCMenu.makeMenu('sub03208','sub0320','-- Associate Member --','','')
			oCMenu.makeMenu('sub03209','sub0320','Arysta LifeScience','http://www.arystalifescience.com','_blank')
			oCMenu.makeMenu('sub032090','sub0320','Isagro Asia','http://www.isagro.com/','_blank')
		oCMenu.makeMenu('sub0322','sub032','Member Associations','','')
			oCMenu.makeMenu('sub03210','sub0322','Australia','http://www.croplifeaustralia.org.au','_blank')
			oCMenu.makeMenu('sub03211','sub0322','<span class="noactivelink">Bangladesh (BCPA)</span>','','')
			oCMenu.makeMenu('sub03212','sub0322','<span class="noactivelink">China</span>','','')
			oCMenu.makeMenu('sub03213','sub0322','India','http://www.croplifeindia.org','_blank')
			oCMenu.makeMenu('sub03214','sub0322','<span class="noactivelink">Indonesia</span>','','')
			oCMenu.makeMenu('sub03215','sub0322','Japan (JCPA)','http://www.jcpa.or.jp','_blank')
			oCMenu.makeMenu('sub03216','sub0322','Korea (KCPA)','http://www.koreacpa.org/englishframe.htm','_blank')
			oCMenu.makeMenu('sub03217','sub0322','Malaysia','http://www.mcpa.org.my','_blank')
			oCMenu.makeMenu('sub03218','sub0322','New Zealand (AGCARM)','http://www.agcarm.co.nz','_blank')
			oCMenu.makeMenu('sub03219','sub0322','<span class="noactivelink">Pakistan</span>','','')
			oCMenu.makeMenu('sub032110','sub0322','<span class="noactivelink">Philippines</span>','','')
			oCMenu.makeMenu('sub032111','sub0322','<span class="noactivelink">Sri Lanka</span>','','')
			oCMenu.makeMenu('sub032112','sub0322','<span class="noactivelink">Taiwan</span>','','')
			oCMenu.makeMenu('sub032113','sub0322','Taiwan (TCPIA)','http://www.tcpia.org.tw','_blank')
			oCMenu.makeMenu('sub032114','sub0322','Thailand (TCPA)','http://www.tcpa.or.th','_blank')
		oCMenu.makeMenu('sub0323','sub032','Global Network','','')
			oCMenu.makeMenu('sub03226','sub0323','CropLife International','http://www.croplife.org','_blank')
			oCMenu.makeMenu('sub03223','sub0323','CropLife Africa','http://www.croplifeafrica.org','_blank')
			oCMenu.makeMenu('sub03220','sub0323','CropLife America','http://www.croplifeamerica.org','_blank')
			oCMenu.makeMenu('sub03224','sub0323','CropLife Asia','http://www.croplifeasia.org','_blank')
			oCMenu.makeMenu('sub03221','sub0323','CropLife Latin America','http://www.croplifela.org','_blank')
			oCMenu.makeMenu('sub03222','sub0323','ECPA (Europe)','http://www.ecpa.be','_blank')
			oCMenu.makeMenu('sub03225','sub0323','JCPA (Japan)','http://www.jcpa.or.jp','_blank')
		oCMenu.makeMenu('sub0324','sub032','General Links','links.html','')

oCMenu.makeMenu('top4','','Site/Contact','','')
	oCMenu.makeMenu('sub040','top4','Member Lounge','member_lounge/index.php','')
	oCMenu.makeMenu('sub041','top4','Search ','search.html','')
	oCMenu.makeMenu('sub042','top4','Site Map','site-map.html','')
	oCMenu.makeMenu('sub043','top4','Contact Us','contact-croplife-asia.html','')

//Leave this line - it constructs the menu
oCMenu.construct()		
