
/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com
Version 4.0_beta
This script can be used freely as long as all copyright messages are
intact.

Extra info - Coolmenus reference/help - Extra links to help files **** 
CSS help: http://coolmenus.dhtmlcentral.com/projects/coolmenus/reference.asp?m=37
General: http://coolmenus.dhtmlcentral.com/reference.asp?m=35
Menu properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=47
Level properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=48
Background bar properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=49
Item properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=50
******************************************************************************/

/*** 
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

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=193
oCMenu.rows=1 
oCMenu.menuPlacement="center"

//oCMenu.onlineRoot="/coolmenus/" 
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="images/spacer.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="688"
oCMenu.barHeight=35 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
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=30
oCMenu.level[0].height=1
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"
if (bw.ie5) { // set placement for IE5
	oCMenu.level[0].offsetX=1
	oCMenu.level[0].offsetY=0
	iWidths = new Array(113,147,121,131,109,68)
} else if (bw.ns6) { // NS6-7
	oCMenu.level[0].offsetX=0
	oCMenu.level[0].offsetY=-4
	iWidths = new Array(113,145,123,131,115,64)
} else if (bw.ns4) { // NS4.7
	oCMenu.level[0].offsetX=0
	oCMenu.level[0].offsetY=-20
	iWidths = new Array(109,144,126,134,109,68)
} else { // default to IE6
	oCMenu.level[0].offsetX=10
	oCMenu.level[0].offsetY=-5
	iWidths = new Array(109,144,126,134,109,68)
}
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=oCMenu.level[0].width-2
oCMenu.level[1].height=22
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=-(oCMenu.level[0].width-2)/2+20
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=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','','','collaborative-solutions-systems-planning.html','',iWidths[0],'','images/spacer.gif')
  oCMenu.makeMenu('sub00','top0','Coalition Start-up Package','collaborative-solutions-systems-planning.html#startup','','148')
  oCMenu.makeMenu('sub01','top0','Monitoring and Support<br>Package','collaborative-solutions-systems-planning.html#monitor','','148','34')
  oCMenu.makeMenu('sub02','top0','Sustainability Planning and<br>Development','collaborative-solutions-systems-planning.html#planning','','148','34')
  oCMenu.makeMenu('sub03','top0','Help Government Develop<br>Strategies','collaborative-solutions-systems-planning.html#government','','148','34')
  oCMenu.makeMenu('sub04','top0','Healthy Communities Initiative ','healthy-communities-initiative.html','','148')
  oCMenu.makeMenu('sub05','top0','Work with Foundations','collaborative-solutions-systems-planning.html#foundations','','148','','','','clLevel1end','clLevel1overend')

oCMenu.makeMenu('top1','','','collaborative-solutions-consulting.html','',iWidths[1],'','images/spacer.gif')
  oCMenu.makeMenu('sub10','top1','Specialized Training','collaborative-solutions-consulting.html#train','','148')
  oCMenu.makeMenu('sub11','top1','Personalized Coaching','collaborative-solutions-consulting.html#coach','','148')
  oCMenu.makeMenu('sub12','top1','Annual Retreats','collaborative-solutions-consulting.html#retreats','','148')
  oCMenu.makeMenu('sub13','top1','Troubleshooting and Crisis<br>Management','collaborative-solutions-consulting.html#crisis','','148','34')
  oCMenu.makeMenu('sub14','top1','Monitoring and Evaluation','collaborative-solutions-consulting.html#monitor','','148')
  oCMenu.makeMenu('sub15','top1','Two Day Workshop','two-day-workshop.html','','148','','','','clLevel1end','clLevel1overend')

oCMenu.makeMenu('top2','','','keynotes.html','',iWidths[2],'','images/spacer.gif')
  oCMenu.makeMenu('sub20','top2','Popular Titles and Synopses','keynotes.html#titles','','148')
  oCMenu.makeMenu('sub21','top2','Customized Presentations','keynotes.html#customized','','148','','','','clLevel1end','clLevel1overend')

oCMenu.makeMenu('top3','','','healthy-communities-tools-and-resources.html','', iWidths[3],'','images/spacer.gif')
  oCMenu.makeMenu('sub29','top3','Publications','healthy-communities-tools-and-resources.html#pubs','','148')
  oCMenu.makeMenu('sub30','top3','Tools','healthy-communities-tools-and-resources.html#tools','','148')
oCMenu.makeMenu('sub31','top3','Order Form','healthy-communities-tools-and-resources.html#order','','148')
  oCMenu.makeMenu('sub32','top3','Free Resources','healthy-communities-tools-and-resources.html#free','','148')
  oCMenu.makeMenu('sub34','top3','Useful Links','healthy-communities-tools-and-resources.html#links','','148')
  oCMenu.makeMenu('sub35','top3','Newsletter','collaborative-solutions-newsletter.htm','','148')
  oCMenu.makeMenu('sub36','top3','Newsletter Archives','collaborative-solutions-newsletter-archive.html','','148','','','','clLevel1end','clLevel1overend')

oCMenu.makeMenu('top4','','','about-Tom-Wolff-building-community-coalitions.html','',iWidths[4],'','images/spacer.gif')
  oCMenu.makeMenu('sub40','top4','Biography','about-Tom-Wolff-building-community-coalitions.html','','148')
  oCMenu.makeMenu('sub41','top4','Philosophy','about-Tom-Wolff-building-community-coalitions.html#philosophy','','148')
  oCMenu.makeMenu('sub42','top4','Selected Client List','about-Tom-Wolff-building-community-coalitions.html#clients','','148')
  oCMenu.makeMenu('sub43','top4','Client Feedback','about-Tom-Wolff-building-community-coalitions.html#feedback','','148','','','','clLevel1end','clLevel1overend')

oCMenu.makeMenu('top5','','','contact-Tom-Wolff.html','',iWidths[5],'','images/spacer.gif')
  oCMenu.makeMenu('sub50','top5','Read Our Guest Book','guest-book.php','','148')
  oCMenu.makeMenu('sub51','top5','Sign Our Guest Book','guest-book-entry.php','','148')

if (bw.ns6) oCMenu.makeMenu('top6','','','#','#','16','','images/spacer.gif','','','','','',1)

  
//Leave this line - it constructs the menu
//if (!bw.ns4) 
	oCMenu.construct()
