/*****************************************************************************
Default browsercheck
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck()
var mDebugging=2

oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame=""
oCMenu.useNS4links=1
oCMenu.NS4padding=2
oCMenu.checkselect=0
oCMenu.offlineUrl="file:///C|/allwebsites/dundas/coolmenus3/"
oCMenu.onlineUrl="http://northdundas.com/coolmenus3/"

oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=1000

oCMenu.usebar=0
oCMenu.barcolor="#005030"
oCMenu.barwidth="menu"
oCMenu.barheight="menu"
oCMenu.barx="menu"
oCMenu.bary="menu"
oCMenu.barinheritborder=0

oCMenu.rows=0
oCMenu.fromleft=15
oCMenu.fromtop=120
oCMenu.pxbetween=1
oCMenu.menuplacement=0
oCMenu.NS4hover=1

oCMenu.level[0]=new Array() 
oCMenu.level[0].width=140
oCMenu.level[0].height=18 
oCMenu.level[0].bgcoloroff="transparent"
oCMenu.level[0].bgcoloron="transparent" 
oCMenu.level[0].textcolor="#ffffff"
oCMenu.level[0].hovercolor="#eaaf00" 
oCMenu.level[0].style="font-family:arial,helvetica; font-size:12px; font-weight:bold"
oCMenu.level[0].border=0 
oCMenu.level[0].bordercolor="" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-0 
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="white"
oCMenu.level[0].align="right"

//dynamic effect (controllable for each level)
oCMenu.level[0].clip=1
oCMenu.level[0].clippx=2
oCMenu.level[0].cliptim=.25

//special animation filters (IE5.5+ only, controllable for each level).
oCMenu.level[0].filter=0

//menu definitions
oCMenu.level[1]=new Array() 
oCMenu.level[1].width=190
oCMenu.level[1].height=18
oCMenu.level[1].bgcoloroff="#DADCBA"
oCMenu.level[1].bgcoloron="#005030"
oCMenu.level[1].textcolor="#005030"
oCMenu.level[1].hovercolor="#eaaf00"
oCMenu.level[1].style="padding:2px; font-family:arial,helvetica; font-size:11px; font-weight:bold"
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=0 
oCMenu.level[1].bordercolor="#006699"
oCMenu.level[1].NS4font="arial,helvetica"
oCMenu.level[1].NS4fontSize="2"
oCMenu.level[1].NS4fontColor="black"

oCMenu.level[2]=new Array()
oCMenu.level[2].width=125
oCMenu.level[2].height=18
oCMenu.level[2].style="padding:2px; font-family: arial,helvetica; font-size:10px; font-weight:bold"
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].border=0 
oCMenu.level[2].bordercolor="#006699"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].NS4fontColor="black"
oCMenu.level[2].bgcoloroff="#eaaf00"
oCMenu.level[2].bgcoloron="#005030"
oCMenu.level[2].textcolor="#005030"
oCMenu.level[2].hovercolor="#ffe28c"

oCMenu.level[3]=new Array()
oCMenu.level[3].width=250
oCMenu.level[3].height=18
oCMenu.level[3].style="padding:2px; font-family: arial,helvetica; font-size:10px; font-weight:bold"
oCMenu.level[3].align="right" 
oCMenu.level[3].offsetX=0
oCMenu.level[3].offsetY=0
oCMenu.level[3].border=0 
oCMenu.level[3].bordercolor="#005030"
oCMenu.level[3].NS4fontSize="1"
oCMenu.level[3].NS4fontColor="black"
oCMenu.level[3].bgcoloroff="#eaaf00"
oCMenu.level[3].bgcoloron="#005030"
oCMenu.level[3].textcolor="#005030"
oCMenu.level[3].hovercolor="#ffe28c"

oCMenu.makeMenu('top0','','&nbsp;Mayors Message','http://northdundas.com/mayor.htm')

oCMenu.makeMenu('top1','','&nbsp;Council')
	oCMenu.makeMenu('sub11','top1','&nbsp;Council Members','http://northdundas.com/council/members.htm')
	oCMenu.makeMenu('sub12','top1','&nbsp;Meeting Dates','http://northdundas.com/council/dates.htm')
	oCMenu.makeMenu('sub13','top1','&nbsp;Council Minutes','http://northdundas.com/council/minutes/minutes.htm')
	
oCMenu.makeMenu('top2','','&nbsp;Notice Board','http://northdundas.com/noticeboard.htm')
	
oCMenu.makeMenu('top3','','&nbsp;Events Calendar','http://northdundas.com/calendar/months.htm')
	
oCMenu.makeMenu('top4','','&nbsp;Location and History')
	oCMenu.makeMenu('sub41','top4','&nbsp;History of North Dundas','http://northdundas.com/location/history.htm')
	oCMenu.makeMenu('sub42','top4','&nbsp;Maps of Our Area','http://northdundas.com/location/maps.htm')

oCMenu.makeMenu('top5','','&nbsp;Your Municipality')
	oCMenu.makeMenu('sub51','top5','&nbsp;Corporate Services')
		oCMenu.makeMenu('sub001','sub51','Administration')
		
			oCMenu.makeMenu('sub0001','sub001','Administration Department','http://northdundas.com/locgovt/corprate/admindept.htm','',140,0)
			oCMenu.makeMenu('sub0002','sub001','Performance Measurement','http://northdundas.com/locgovt/corprate/perform.htm','',140,0)
			oCMenu.makeMenu('sub0003','sub001','North Dundas 20/20','http://northdundas.com/locgovt/corprate/2020.htm','',140,0)
		
		oCMenu.makeMenu('sub002','sub51','Clerks Office')
			oCMenu.makeMenu('sub0004','sub002','Office Services','http://northdundas.com/locgovt/corprate/clerk.htm','',130,0)
			oCMenu.makeMenu('sub0005','sub002','North Dundas By-Laws','http://northdundas.com/locgovt/corprate/bylaws.htm','',130,0)
	
		oCMenu.makeMenu('sub003','sub51','Finance')
			oCMenu.makeMenu('sub0006','sub003','Finance Department','http://northdundas.com/locgovt/corprate/finance.htm','',110,0)
			oCMenu.makeMenu('sub0007','sub003','Payment Options','http://northdundas.com/locgovt/corprate/payment.htm','',110,0)
			oCMenu.makeMenu('sub0008','sub003','Budget','http://northdundas.com/locgovt/corprate/budget/budget.htm','',110,0)
			oCMenu.makeMenu('sub0009','sub003','Financial Statements','http://northdundas.com/locgovt/corprate/statements.htm','',110,0)
	
	
		oCMenu.makeMenu('sub004','sub51','Water and Sewer')
			oCMenu.makeMenu('sub00010','sub004','Policy Guidelines','http://northdundas.com/locgovt/corprate/watrpol.htm','',110,0)
			oCMenu.makeMenu('sub00011','sub004','Application Forms','http://northdundas.com/locgovt/corprate/watrform.htm','',110,0)
			oCMenu.makeMenu('sub00012','sub004','Water Quality Reports','http://northdundas.com/locgovt/corprate/watereps/watereps.htm','',110,0)
	
		oCMenu.makeMenu('sub005','sub51','Emergency Management','http://northdundas.com/locgovt/corprate/EmergencyManagement.htm','',125,0)
	

	
	oCMenu.makeMenu('sub52','top5','&nbsp;Planning, Building, Enforcement')
		oCMenu.makeMenu('sub006','sub52','Planning','http://northdundas.com/locgovt/planning/planning.htm','',120,0)
		oCMenu.makeMenu('sub007','sub52','Building Regulations','http://northdundas.com/locgovt/planning/buildng.htm','',120,0)
		oCMenu.makeMenu('sub008','sub52','By-Law Enforcement','http://northdundas.com/locgovt/planning/bylawenf.htm','',120,0)
		oCMenu.makeMenu('sub009','sub52','Animal Control','http://northdundas.com/locgovt/planning/animal/animal.htm','',120,0)
	
	oCMenu.makeMenu('sub53','top5','&nbsp;Waste Management')
		oCMenu.makeMenu('sub0010','sub53','Landfill Operations','http://northdundas.com/locgovt/waste/landfill.htm','',120,0)
		oCMenu.makeMenu('sub0011','sub53','Recycling Information','http://northdundas.com/locgovt/waste/recycle.htm','',120,0)
		
	oCMenu.makeMenu('sub54','top5','&nbsp;Public Works')
		oCMenu.makeMenu('sub0012','sub54','Drainage','http://northdundas.com/locgovt/pubworks/drainage/drainage.htm','',100,0)
		oCMenu.makeMenu('sub0013','sub54','Roads','http://northdundas.com/locgovt/pubworks/roads/roads.htm','',100,0)
		
	oCMenu.makeMenu('sub55','top5','&nbsp;Recreation and Culture')
		oCMenu.makeMenu('sub0014','sub55','Recreation Associations','http://northdundas.com/locgovt/recreatn/assoc.htm','',130,0)
		oCMenu.makeMenu('sub0015','sub55','Recreational Facilities','http://northdundas.com/locgovt/recreatn/facility.htm','',130,0)
		oCMenu.makeMenu('sub0016','sub55','Recreational Programs','http://northdundas.com/locgovt/recreatn/RecreationPrograms/RecreationPrograms.htm','',130,0)
		oCMenu.makeMenu('sub0017','sub55','Hall Rentals','http://northdundas.com/locgovt/recreatn/halls.htm','',130,0)
		
	oCMenu.makeMenu('sub56','top5','&nbsp;Fire and Police')
		oCMenu.makeMenu('sub0018','sub56','Fire Departments','http://northdundas.com/locgovt/firepol/fire.htm','',100,0)
		oCMenu.makeMenu('sub0019','sub56','Police Services','http://northdundas.com/locgovt/firepol/police.htm','',100,0)

oCMenu.makeMenu('top6','','&nbsp;Your Community')
	oCMenu.makeMenu('top61','top6','&nbsp;Churches and Schools','http://northdundas.com/commun/church.htm','',150,0)
	oCMenu.makeMenu('top62','top6','&nbsp;Clubs and Associations','http://northdundas.com/commun/clubs.htm','',150,0)
	oCMenu.makeMenu('top63','top6','&nbsp;Hospital','http://northdundas.com/commun/hospital/winhosp.htm','',150,0)
	oCMenu.makeMenu('top64','top6','&nbsp;Libraries','http://northdundas.com/commun/libraries.htm','',150,0)
	oCMenu.makeMenu('top65','top6','&nbsp;Food Bank','http://www.monisys.ca/~laing/foodbank.html','',150,0)


oCMenu.makeMenu('top7','','&nbsp;Economic Development')
	oCMenu.makeMenu('top71','top7','&nbsp;Business Directory','http://northdundas.com/directory/busdirectory.htm','',140,0)
	oCMenu.makeMenu('top72','top7','&nbsp;Statistics','http://www12.statcan.ca/english/profil01/CP01/Details/Page.cfm?Lang=E&Geo1=CSD&Code1=3501030&Geo2=PR&Code2=35&Data=Count&SearchText=North%20Dundas&SearchType=Begins&SearchPR=01&B1=All&Custom','',140,0)   
    oCMenu.makeMenu('top73','top7','&nbsp;Demographic Profile','http://northdundas.com/econdev/DemographicProfile2006.pdf','',140,0)


oCMenu.makeMenu('top8','','&nbsp;Chamber of Commerce')
	oCMenu.makeMenu('top81','top8','&nbsp;Your Chamber','http://northdundas.com/chamber/chamber.htm','',140,0)
	oCMenu.makeMenu('top82','top8','&nbsp;Membership Directory','http://northdundas.com/chamber/chamdir.htm','',140,0)
	oCMenu.makeMenu('top83','top8','&nbsp;Chamber Minutes','http://northdundas.com/chamber/minutes/chamberminutes.htm','',140,0)
	

oCMenu.makeMenu('top9','','&nbsp;Tourism','http://northdundas.com/tourism/tourism.htm')

oCMenu.makeMenu('top10','','&nbsp;Contact Us','http://northdundas.com/contact.htm')
	
oCMenu.makeMenu('top11','','&nbsp;Links','http://northdundas.com/links.htm')

oCMenu.makeMenu('top112','','&nbsp;Search This Web Site','http://northdundas.com/search.htm')

oCMenu.makeMenu('top113','','&nbsp;Site Map','http://northdundas.com/sitemap.htm')

oCMenu.makeMenu('top14','','&nbsp;Home','http://northdundas.com/index.htm')




//menu activation
oCMenu.makeStyle(); oCMenu.construct()		

