// JavaScript Document
function tree()
{
 treeny=document.getElementById('bmenu').getElementsByTagName('li');

for(i=0;i<treeny.length;i++)
 {
   treeny[i].onmouseover=function(){
                                    this.className+=(this.className>0?' ':' ')+'show';
								   }
 treeny[i].onMouseUp=function(){
                                   this.className+=(this.className>0?' ':' ')+'show';
								   }	
   treeny[i].onMouseDown=function(){
                                this.className+=(this.className>0?' ':' ')+'show';
								   }	
 			   			
   treeny[i].onmouseout=function(){
                                    this.className=this.className.replace(new RegExp('( ?|^)show\\b'),' ');
								   }				   
 }

}
window.onload=tree;