function lib_bwcheck(){
	//In theory we should use object detection, but this script needs work-arounds for almost every browser...
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent.toLowerCase()
	this.dom=document.getElementById?1:0
	this.ns4=(!this.dom && document.layers)?1:0;
	this.op=window.opera 
	this.moz=(this.agent.indexOf("gecko")>-1 || window.sidebar)
	this.ie=this.agent.indexOf("msie")>-1 && !this.op
	if(this.op){
		this.op5=(this.agent.indexOf("opera 5")>-1 || this.agent.indexOf("opera/5")>-1)
		this.op6=(this.agent.indexOf("opera 6")>-1 || this.agent.indexOf("opera/6")>-1)
		this.op7=this.dom&&!this.op5&&!this.op6 //So all higher opera versions will use it
	}else if(this.moz) this.ns6 = 1
	else if(this.ie){
		this.ie4 = !this.dom && document.all
  	this.ie5 = (this.agent.indexOf("msie 5")>-1)
  	this.ie55 = (this.ie5 && this.agent.indexOf("msie 5.5")>-1)
  	this.ie6 = this.dom && !this.ie4 && !this.ie5 && ! this.ie55
	}
	this.mac=(this.agent.indexOf("mac")>-1)
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.op5 || this.op6 || this.op7)
  this.usedom= this.ns6||this.op7//Use dom creation
  this.reuse = this.ie||this.op7||this.usedom //Reuse layers
  this.px=this.dom&&!this.op5?"px":""
	return this
}
var bw=new lib_bwcheck()

var mDebugging=2
oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame=""
oCMenu.useclick=0
oCMenu.useNS4links=0
oCMenu.NS4padding=3 
oCMenu.checkselect=1

oCMenu.offlineUrl=""
oCMenu.onlineUrl="http://ddcftp.nyc.gov/inet/js/"

oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=500 

oCMenu.usebar=0
oCMenu.barcolor="#cccccc"
oCMenu.barwidth="menu"
oCMenu.barheight="menu"
oCMenu.barx=0
oCMenu.bary=0
oCMenu.barinheritborder=0

oCMenu.rows=1
oCMenu.fromleft=20
oCMenu.fromtop=47
oCMenu.pxbetween=20

oCMenu.menuplacement=new Array('18','73','159','231','319','380','448') 

oCMenu.level[0]=new Array()
oCMenu.level[0].width=80
oCMenu.level[0].height=16
oCMenu.level[0].bgcoloroff="#dddddd"
oCMenu.level[0].bgcoloron="#dddddd"
oCMenu.level[0].textcolor="#333333"
oCMenu.level[0].hovercolor="#cc3300"
oCMenu.level[0].style="padding:0px; font-family:verdana,tahoma,arial,helvetica; font-size:11px;"
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor="#cccccc"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=-1
oCMenu.level[0].NS4font="verdana,tahoma,arial,helvetica"
oCMenu.level[0].NS4fontSize="1"

oCMenu.level[0].clip=0
oCMenu.level[0].clippx=0
oCMenu.level[0].cliptim=0
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.2)"

oCMenu.level[0].align="bottom"
oCMenu.level[1]=new Array()
oCMenu.level[1].width=190 
oCMenu.level[1].height=20
oCMenu.level[1].bgcoloroff="#dddddd"
oCMenu.level[1].bgcoloron="#eeeeee"
oCMenu.level[1].style="padding:4px; font-family:verdana,tahoma, arial,helvetica; font-size:10px;"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#cccccc"


oCMenu.makeMenu('top0','','Home','http://www.nyc.gov/html/ddc/home.html','')

oCMenu.makeMenu('top1','','About DDC','http://www.nyc.gov/html/ddc/html/about.html')
	oCMenu.makeMenu('sub10','top1','Mission Statement','http://www.nyc.gov/html/ddc/html/about.html')
	oCMenu.makeMenu('sub11','top1','Commissioner\'s Message','http://www.nyc.gov/html/ddc/html/message.html')
	oCMenu.makeMenu('sub12','top1','DDC Organizational Structure','http://www.nyc.gov/html/ddc/html/guide.html')
	oCMenu.makeMenu('sub13','top1','Client Agencies','http://www.nyc.gov/html/ddc/html/clients.html')
	oCMenu.makeMenu('sub14','top1','Key Objectives &amp; Performance','http://www.nyc.gov/html/ddc/html/accompl.html')
	oCMenu.makeMenu('sub15','top1','Career Opportunities','http://www.nyc.gov/html/ddc/html/recruit.html')
	oCMenu.makeMenu('sub16','top1','Travel Directions','http://www.nyc.gov/html/ddc/html/travel.html')
	oCMenu.makeMenu('sub17','top1','Contact Information','http://www.nyc.gov/html/ddc/html/contact.html')
	
oCMenu.makeMenu('top2','','Business','http://www.nyc.gov/html/ddc/html/business.html')
	oCMenu.makeMenu('sub20','top2','Doing Business with DDC','http://www.nyc.gov/html/ddc/html/business.html')
	oCMenu.makeMenu('sub21','top2','Current RFPs','http://www.nyc.gov/html/ddc/html/designrfp.html')
	oCMenu.makeMenu('sub22','top2','Current RFQs','http://ddcftp.nyc.gov/rfqweb/')
	oCMenu.makeMenu('sub23','top2','Current Bid Opportunities','http://ddcftp.nyc.gov/inet/html/contrbid.asp')
	oCMenu.makeMenu('sub24','top2','Payments','http://www.nyc.gov/html/ddc/html/payquick.html')
	oCMenu.makeMenu('sub25','top2','Forms','http://www.nyc.gov/html/ddc/html/forms.html')
	oCMenu.makeMenu('sub26','top2','Office of Business Opportunity','http://www.nyc.gov/html/ddc/html/obo.html')
	oCMenu.makeMenu('sub27','top2','Not-for-Profit Purchase','http://www.nyc.gov/html/ddc/html/nfp_purchase.html')	

oCMenu.makeMenu('top3','','Community','http://www.nyc.gov/html/ddc/html/communit.html')
	oCMenu.makeMenu('sub30','top3','Community Outreach','http://www.nyc.gov/html/ddc/html/outreach.html')
	oCMenu.makeMenu('sub31','top3','Construction Inconveniences','http://www.nyc.gov/html/ddc/html/inconv.html')
	oCMenu.makeMenu('sub32','top3','In Your Neighborhood','http://www.nyc.gov/html/ddc/html/brochure.html')
	
oCMenu.makeMenu('top4','','Design','http://www.nyc.gov/html/ddc/html/design.html')
	oCMenu.makeMenu('sub40','top4','Design Consultant Guide','http://www.nyc.gov/html/ddc/html/desguide.html')
	oCMenu.makeMenu('sub41','top4','Office of Sustainable Design','http://www.nyc.gov/html/ddc/html/ddcgreen/')
	oCMenu.makeMenu('sub42','top4','2004 City Lights','http://www.nyc.gov/html/ddc/html/citylights/')

oCMenu.makeMenu('top5','','Projects','http://www.nyc.gov/html/ddc/html/projects.html')
	oCMenu.makeMenu('sub50','top5','Project Browser','../../pb/')
	oCMenu.makeMenu('sub51','top5','Project Photo Gallery','http://www.nyc.gov/html/ddc/html/projfoto.html')
	oCMenu.makeMenu('sub52','top5','In Your Neighborhood','http://www.nyc.gov/html/ddc/html/brochure.html')
	oCMenu.makeMenu('sub53','top5','Project Evaluation Survey','/inet/surveys/projeval/')

oCMenu.makeMenu('top6','','Contact','http://www.nyc.gov/html/ddc/html/contact.html')
	
oCMenu.makeStyle(); oCMenu.construct()