//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=8
oCMenu.fromLeft=30
oCMenu.fromTop=125
oCMenu.rows=1
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///"
oCMenu.onlineRoot=""
oCMenu.resizeCheck=0
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=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=100
oCMenu.level[0].height=18
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=20
oCMenu.level[0].offsetY=18
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="topright"

//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)" 

//Other special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"


//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=200
oCMenu.level[1].height=18
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].offsetX=200
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)" 
oCMenu.level[1].align="topright"


//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=200
oCMenu.level[2].height=18
oCMenu.level[2].offsetX=10
oCMenu.level[2].offsetY=18
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','http://www.tabcom.org','',60)
	oCMenu.makeMenu('sub00','top0','All About TABCOM','tabcom.html')
	oCMenu.makeMenu('sub01','top0','Meet the Staff','staff.html')
	oCMenu.makeMenu('sub02','top0','We Are American Baptists!','whoweare.html','',180)
	oCMenu.makeMenu('sub03','top0','Who To Contact For Assistance','contactus.html')
	oCMenu.makeMenu('sub04','top0','Directions','tabcom-directions.html')

oCMenu.makeMenu('top1','','Resources','','',80)
	oCMenu.makeMenu('sub11','top1','Clergy Compensation')
	oCMenu.makeMenu('sub101','sub11','Clergy Compensation Booklet (PDF)','downloads/ClergyCompensationBooklet.pdf','_blank')
	oCMenu.makeMenu('sub102','sub11','Recommended Cash Salary 2010 (PDF)','downloads/RecommendedCashSalaryfor2010.pdf','_blank')

	oCMenu.makeMenu('sub12','top1','Grants Available','')
	oCMenu.makeMenu('sub103','sub12','General Grant Information','tabcom-grants.html')
	oCMenu.makeMenu('sub104','sub12','About The George Wright Fund','georgewright.html')
	oCMenu.makeMenu('sub105','sub12','George Wright Fund App (PDF) ','downloads/GeorgeWrightFund.pdf','_blank')
	oCMenu.makeMenu('sub106','sub12','George Wright Fund App (DOC) ','downloads/GeorgeWrightFund.doc','_blank')


	oCMenu.makeMenu('sub13','top1','2009 ABC USA Planning Calendar (PDF)','downloads/PlanningCalendar0910.pdf','_blank',250)

	oCMenu.makeMenu('sub14','top1','Ministerial Preparation & Ordination','','',250)
	oCMenu.makeMenu('sub401','sub14','A Guide for the Candidate (PDF)','downloads/OrdinationProcess-CandidateDocuments.pdf','_blank')
	oCMenu.makeMenu('sub402','sub14','Change of Information Form (PDF)','downloads/ChangeInformation.pdf','_blank')
	oCMenu.makeMenu('sub403','sub14','A Guide for Churches (PDF)','downloads/OrdinationProcess-GuideToPastor.pdf','_blank')
	oCMenu.makeMenu('sub404','sub14','Pre-Ordination License/License To Preach Forms (PDF)','downloads/Notification-LicenseToPreach.pdf','_blank',325)

	oCMenu.makeMenu('sub15','top1','Ministerial Placement & Standing','placement.html')

	oCMenu.makeMenu('sub16','top1','Pulpit Supply','pulpitsupply.html')

	oCMenu.makeMenu('sub17','top1','Baptist Heritage Materials','')
	oCMenu.makeMenu('sub405','sub17','Baptist Heritage Worship Bulletins (PDF)','http://www.baptisthistory.org/celebrating400years.htm','_blank',250)
	oCMenu.makeMenu('sub406','sub17','Liberty and Justice Brochure (PDF)','downloads/H-day.pdf','_blank',250)
	oCMenu.makeMenu('sub407','sub17','Posters: Baptist Distinctives (PDF)','downloads/Posters.pdf','_blank',250)
	oCMenu.makeMenu('sub408','sub17','Organizational Timeline of TABCOM (PDF)','downloads/Time-Line-Brochure.pdf','_blank',250)

	oCMenu.makeMenu('sub18','top1','Revised Common Lectionary','http://divinity.library.vanderbilt.edu/lectionary','_blank')

	oCMenu.makeMenu('sub19','top1','TABCOM By-Laws (PDF)','downloads/2006-December2-Bylaws.pdf','_blank')

oCMenu.makeMenu('top2','','Mission Matters')
	oCMenu.makeMenu('sub21','top2','Blank Remittance Form (PDF)','downloads/BlankRemitForm.pdf','_blank')
	oCMenu.makeMenu('sub22','top2','A Guide to Mission Categories','missioncategories.html')
	oCMenu.makeMenu('sub23','top2','Validating a Ministry with ABMS','validatingministries.html')
	oCMenu.makeMenu('sub24','top2','Ghana Mission Explosion (PDF)','downloads/Ghana-Brochure-Print.pdf','_blank')
	oCMenu.makeMenu('sub25','top2','---------------------------')
	oCMenu.makeMenu('sub26','top2','Special Offerings','specialofferings.html')
	oCMenu.makeMenu('sub261','sub26','America for Christ','http://www.nationalministries.org/afc/','_blank')
	oCMenu.makeMenu('sub262','sub26','World Mission Offering','http://www.worldmissionoffering.org/','_blank')
	oCMenu.makeMenu('sub263','sub26','One Great Hour of Sharing','http://www.abc-oghs.org','_blank')
	oCMenu.makeMenu('sub264','sub26','Retired Ministers & Missionaries','http://www.abc-usa.org/WhoWeAre/Missions/MissionGiving/FundingtheMission/RetiredMinistersandMissionariesOffering/tabid/170/Default.aspx','_blank')
	oCMenu.makeMenu('sub265','sub26','Friends of Regional Ministries','friendsofregion.html')
	oCMenu.makeMenu('sub27','top2','---------------------------')
	oCMenu.makeMenu('sub28','top2','White Cross','http://www.abc-whitecross.org','_blank')
	oCMenu.makeMenu('sub29','top2','Love Gift','http://www.abc-usa.org/missions/lovegift.aspx','_blank')
oCMenu.makeMenu('top3','','Our Ministries','','',90)
	oCMenu.makeMenu('sub31','top3','Volunteer Ministries','http://www.tabcomvolunteers.org','_blank')
	oCMenu.makeMenu('sub32','top3','The John Myles Institute','jmi.html')
	oCMenu.makeMenu('sub33','top3','Grotonwood Camp','http://www.grotonwood.org','_blank')
	oCMenu.makeMenu('sub34','top3','Oceanwood Camp','http://www.oceanwood.org','_blank')
	oCMenu.makeMenu('sub35','top3','The Pines Retirement Community','http://www.thepinescommunity.org','_blank',210)
	oCMenu.makeMenu('sub36','top3','Deaf & Hard of Hearing Ministries','deafministries.html','',210)

oCMenu.makeMenu('top4','','Useful Links','','',85)
	oCMenu.makeMenu('sub41','top4','ABC USA')
	oCMenu.makeMenu('sub411','sub41','ABC USA Home Page','http://www.abc-usa.org','_blank')
	oCMenu.makeMenu('sub412','sub41','International Ministries','http://www.internationalministries.org','_blank')
	oCMenu.makeMenu('sub413','sub41','National Ministries', 'http://www.nationalministries.org','_blank')
	oCMenu.makeMenu('sub414','sub41','Judson Press','http://www.judsonpress.org','_blank')
	oCMenu.makeMenu('sub415','sub41','AB Personnel Services', 'http://www.nationalministries.org/abps','_blank')
	oCMenu.makeMenu('sub416','sub41','Ministers & Missionaries Benefits Board (MMBB)', 'http://www.mmbb.org/abps','_blank',275)
	oCMenu.makeMenu('sub417','sub41','AB Women\'s Ministries','http://www.abwministries.org','_blank')
	oCMenu.makeMenu('sub418','sub41','Interim Ministries','http://www.interimministries-abc.org','_blank')
	oCMenu.makeMenu('sub419','sub41','Green Lake Conference Center','http://www.glcc.org','_blank')
	oCMenu.makeMenu('sub420','sub41','News Service','http://www.abc-usa.org/whoweare/newsservice/newsservice.aspx','_blank')

	oCMenu.makeMenu('sub42','top4','--------------------------')
	oCMenu.makeMenu('sub43','top4','American Baptist Foundation','http://www.americanbaptistfdn.org','_blank')
	oCMenu.makeMenu('sub44','top4','Conference of Baptist Ministers in Massachusetts','','',285)
	oCMenu.makeMenu('sub45','top4','Massachusetts Baptist Charitable Society','http://www.massbaptistcharitable.org','_blank',285)
	oCMenu.makeMenu('sub46','top4','Center for Career Development & Ministry','http://www.ccdmin.org','_blank',285)
	oCMenu.makeMenu('sub47','top4','Andover Newton Theological School','http://www.ants.edu','_blank',285)
	oCMenu.makeMenu('sub48','top4','Old Colony Baptist Association','http://www.oldcolonybaptist.org','_blank','285')

	oCMenu.makeMenu('sub49','top4','--------------------------')

	oCMenu.makeMenu('sub50','top4','Associated Baptist Press','http://www.abpnews.com','_blank')
	oCMenu.makeMenu('sub51','top4','Church World Service','http://www.churchworldservice.org','_blank')
	oCMenu.makeMenu('sub52','top4','Baptist World Alliance','http://www.bwanet.org','_blank')
	oCMenu.makeMenu('sub53','top4','Bible Search','http://www.biblegateway.org','_blank')
	oCMenu.makeMenu('sub54','top4','The Secret Place daily devotional','http://judsonpress.org/catalog_secretplace.cfm','_blank')
	oCMenu.makeMenu('sub55','top4','World Flag Database','http://www.flags.net','_blank')
	oCMenu.makeMenu('sub56','top4','The Upper Room','http://www.theupperroom.org','_blank')

	oCMenu.makeMenu('sub57','top4','--------------------------')
	oCMenu.makeMenu('sub58','top4','Mass. Criminal History Systems Board (CORI)','http://www.mass.gov/chsb','_blank',325)

oCMenu.makeMenu('top6','','AB Women of MA','missions-abwm.html','',110)
	oCMenu.makeMenu('sub61','top6','ABWM Home','missions-abwm.html')
	oCMenu.makeMenu('sub62','top6','Officers & Contacts','abwm-officers.html')
	oCMenu.makeMenu('sub63','top6','Events Calendar','abwm-calendar.html')
	oCMenu.makeMenu('sub64','top6','Forms & Resources','abwm-resources.html')
	oCMenu.makeMenu('sub65','top6','Newsletter','abwm-archive.html')

	oCMenu.makeMenu('sub66','top6','--------------------------')
	oCMenu.makeMenu('sub67','top6','AB GIRLS','http://www.abwministries.org/girls','_blank',250)
	oCMenu.makeMenu('sub68','top6','Love Gift','http://www.abc-usa.org/missions/lovegift.aspx','_blank')
	oCMenu.makeMenu('sub69','top6','White Cross','http://www.abc-whitecross.org','_blank')
	oCMenu.makeMenu('sub610','top6','Break the Chains: End Human Trafficking','http://www.abwmbreakthechains.org','_blank',250)
	oCMenu.makeMenu('sub611','top6','--------------------------')
	oCMenu.makeMenu('sub612','top6','National AB Women','http://www.abwministries.org','_blank',250)
	//Leave this line - it constructs the menu



oCMenu.construct()	

