if(bw.dom&&!bw.op){
  makeCM.prototype.sel=0
  makeCM.prototype.onshow+=";this.hideselectboxes(pm,pm.subx,pm.suby,maxw,maxh,pm.lev)"
  makeCM.prototype.hideselectboxes=function(pm,x,y,w,h,l){
    var selx,sely,selw,selh,i
    if(!this.sel){
      this.sel=this.doc.getElementsByTagName("SELECT")
		  this.sel.level=0
    }
    var sel=this.sel
    for(i=0;i<sel.length;i++){
			selx=0; sely=0; var selp;
			if(sel[i].offsetParent){selp=sel[i]; while(selp.offsetParent){selp=selp.offsetParent; selx+=selp.offsetLeft; sely+=selp.offsetTop;}}
			selx+=sel[i].offsetLeft; sely+=sel[i].offsetTop
			selw=sel[i].offsetWidth; selh=sel[i].offsetHeight			
			if(selx+selw>x && selx<x+w && sely+selh>y && sely<y+h){
				if(sel[i].style.visibility!="hidden"){sel[i].level=l; sel[i].style.visibility="hidden"; if(pm){ if(!pm.mout) pm.mout=""; pm.mout+=this.name+".sel["+i+"].style.visibility='visible';"}}
      }else if(l<=sel[i].level && !(pm&&l==0)) sel[i].style.visibility="visible"
    }
  }
}

bw.filter=(bw.ie55||bw.ie6) && !bw.mac
makeCM.prototype.onshow+=";if(c.l[pm.lev].filter) b.filterIt(c.l[pm.lev].filter)"
cm_makeLevel.prototype.filter=null
cm_makeObj.prototype.filterIt=function(f){
  if(bw.filter){
    if(this.evnt.filters[0]) this.evnt.filters[0].Stop(); 
    else this.css.filter=f; 
    this.evnt.filters[0].Apply(); 
    this.showIt(); 
    this.evnt.filters[0].Play();
  }
}

makeCM.prototype.onshow+="; if(c.l[pm.lev].slidepx){b.moveIt(x,b.y-b.h); b.showIt(); b.tim=null; b.slide(y,c.l[pm.lev].slidepx,c.l[pm.lev].slidetim,c,pm.lev,pm.name)}"
makeCM.prototype.going=0
cm_makeObj.prototype.tim=10;
cm_makeLevel.prototype.slidepx=null
cm_makeLevel.prototype.slidetim=30
cm_makeObj.prototype.slide=function(end,px,tim,c,l,name){
  if(!this.vis || c.l[l].a!=name) return
	if(this.y<end-px){
		if(this.y>(end-px*px-px) && px>1) px-=px/5; this.moveIt(this.x,this.y+px)
		this.clipTo(end-this.y,this.w,this.h,0)
		this.tim=setTimeout(this.obj+".slide("+end+","+px+","+tim+","+c.name+","+l+",'"+name+"')",tim)
	}else{this.moveIt(this.x,end)}
}

makeCM.prototype.onshow+="if(c.l[pm.lev].clippx){h=b.h; if(!rows) b.clipTo(0,maxw,0,0,1); else b.clipTo(0,0,maxh,0,1); b.clipxy=0; b.showIt(); clearTimeout(b.tim); b.clipout(c.l[pm.lev].clippx,!rows?maxw:maxh,!rows?maxh:maxw,c.l[pm.lev].cliptim,rows)}"
cm_makeObj.prototype.tim=10;
cm_makeLevel.prototype.clippx=null
cm_makeLevel.prototype.cliptim=30
cm_makeObj.prototype.clipxy=0
cm_makeObj.prototype.clipout=function(px,w,stop,tim,rows){
	if(!this.vis) return; if(this.clipxy<stop-px){this.clipxy+=px; 
  if(!rows) this.clipTo(0,w,this.clipxy,0,1);
  else this.clipTo(0,this.clipxy,w,0,1);
  this.tim=setTimeout(this.obj+".clipout("+px+","+w+","+stop+","+tim+","+rows+")",tim)
	}else{if(bw.ns6){this.hideIt();}; if(!rows) this.clipTo(0,w,stop,0,1); else this.clipTo(0,stop,w,0,1);if(bw.ns6){this.showIt()}}
}

makeCM.prototype.setactive = function(name,regClass,overClass,setParent){
	var m,loc,url
	if(!name){ //No name - so we look for a name - and set it to auto get name
		//Set all menus
		for(j=0;j<this.l.length;j++){
			for(i=0;i<this.l[j].m.length;i++){
				m = this.m[this.l[j].m[i]]
				url = m.lnk
				if(url){
					if(url.indexOf("?")>-1) sep = "&"
					else sep = "?"
					m.lnk = url + sep + "cmactive=" + escape(m.name)
				}
			}
		}
		//Trying to find if there's an active one now
		loc = location.search
		if(loc){
			if(loc.indexOf("cmactive=")>-1){ //We have an active one !!
				name = loc.substr(loc.indexOf("cmactive=")+9)
			}
		}		
	}
	m = this.m[name]
	if(!m){return}
	if(setParent){
		while(m.parent){
			this.setactive2(m,regClass,overClass)
			m = this.m[m.parent]
		}
		this.setactive2(m,regClass,overClass)
	}else this.setactive2(m,regClass,overClass)
}		
makeCM.prototype.setactive2 = function(m,regClass,overClass){
	//Find it in string so it will change for Netscape also (and for reuse browsers on the top level)
	var l,str,start,i,n
	l = m.lev
	if(!bw.reuse || l==0){
		if(!bw.usedom){
			str = this.l[l].str
			start = str.indexOf(name+'" class="'+m.cl+'"') 
			if(start >-1){ //If not --- problem :\
				str = str.replace(m.name+'" class="'+m.cl+'"',m.name+'" class="'+regClass+'"') 
				this.l[l].str = str
			}
		}else{ //Find it for dom browsers
			for(i=0;i<this.l[0].m.length;i++){
				m = this.m[this.l[0].m[i]]
				if(m.name==name){
					n = i
					break;
				}
			}
			if(n>-1){ //Found it
				m.d2.className = regClass 
			}
		}
	}
	m.cl = regClass
	if(overClass) m.cl2 = overClass
}