function lib_bwcheck(){
	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.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
	this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6||this.ie7||this.ie8
	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.ie8 || this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck()
var mDebugging=0
oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame=""
oCMenu.useclick=0
oCMenu.useNS4links=0
oCMenu.NS4padding=0
oCMenu.checkselect=0
oCMenu.offlineUrl="file:///Environment Canada/Website/NewSite/"
oCMenu.onlineUrl="http://192.168.1.131/"
oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=100
//Background bar properties
oCMenu.usebar=0
oCMenu.barcolor="transparent"
oCMenu.barwidth=""
oCMenu.barheight=""
oCMenu.barx=0
oCMenu.bary=0
oCMenu.barinheritborder=0

//Placement properties
oCMenu.rows=1
oCMenu.fromleft=512
oCMenu.fromtop=54
oCMenu.pxbetween=0
oCMenu.menuplacement=1
oCMenu.NS4hover=1
oCMenu.level[0]=new Array()
oCMenu.level[0].width=89
oCMenu.level[0].height=29
oCMenu.level[0].bgcoloroff="transparent"
oCMenu.level[0].bgcoloron="transparent"
oCMenu.level[0].textcolor="#FFFFFF"
oCMenu.level[0].hovercolor="#FFFFFF"
oCMenu.level[0].style="padding-top:0px; font-family:Arial,Helvetica,sans-serif; font-size:9px;"
oCMenu.level[0].border=1
oCMenu.level[0].bordercolor="transparent"
oCMenu.level[0].offsetX=1
oCMenu.level[0].offsetY=0
oCMenu.level[0].NS4font="Arial,Helvetica,sans-serif"
oCMenu.level[0].NS4fontSize=1
oCMenu.level[0].clip=0
oCMenu.level[0].clippx=0
oCMenu.level[0].cliptim=0
oCMenu.level[0].filter=0
oCMenu.level[0].align="bottom"

oCMenu.level[1]=new Array()
oCMenu.level[1].width=89
oCMenu.level[1].height=24
oCMenu.level[1].style="padding-top:2px; font-family:Arial,Helvetica,sans-serif; font-size:11px; font-weight:600;" 
oCMenu.level[1].align="bottom"
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=0
oCMenu.level[1].bordercolor="#FFFFFF"

oCMenu.makeMenu('top0','','<img src="/EN/_interface/slug.gif" width="89" height="29" hspace="0" vspace="0" border="0">','http://www.ec.gc.ca/default.asp?lang=En&n=FD9B0E51-1','')
	oCMenu.makeMenu('sub00','top0','&nbsp;National','http://www.ec.gc.ca/default.asp?lang=En&n=FD9B0E51-1','',0,0,"","",'#298C52','#E9E2E2','#FFFFFF','#000000')
	oCMenu.makeMenu('sub01','top0','&nbsp;Atlantic','http://www.ns.ec.gc.ca/index_e.html','',0,0,"","",'#298C52','#E9E2E2','#FFFFFF','#000000')
	oCMenu.makeMenu('sub02','top0','&nbsp;Quebec','http://lavoieverte.qc.ec.gc.ca/envcan/indexe.html','',0,0,"","",'#298C52','#E9E2E2','#FFFFFF','#000000')
	oCMenu.makeMenu('sub03','top0','&nbsp;Ontario','http://www.on.ec.gc.ca/or-home.html','',0,0,"","",'#298C52','#E9E2E2','#FFFFFF','#000000')
	oCMenu.makeMenu('sub04','top0','&nbsp;Prairies, NWT<br>&nbsp;and Nunavut','http://www.pnr-rpn.ec.gc.ca/index.en.html','',0,33,"","",'#298C52','#E9E2E2','#FFFFFF','#000000')
	oCMenu.makeMenu('sub05','top0','&nbsp;BC and <br>&nbsp;Yukon','/EN/index.shtml','',0,33,"","",'#298C52','#E9E2E2','#FFFFFF','#000000')
oCMenu.makeStyle(); oCMenu.construct()


