var sfHover=function(B,C){
	if(!C){C="sfHover";
}
var A=$$("."+B).getElements("li");
if(!A.length){
	return false;
}A.each(function(D){
	D.addEvents({
		mouseenter:function(){
			var F=this.getProperty("class").split(" ");
			F=F.filter(function(G){
				return !G.test("-"+C);
			});
			F.each(function(G){
				if(this.hasClass(G)){
					this.addClass(G+"-"+C);
				}
			},this);
			var E=F.join("-")+"-"+C;if(!this.hasClass(E)){
				this.addClass(E);
			}this.addClass(C);
		},mouseleave:function(){
			var F=this.getProperty("class").split(" ");
			F=F.filter(function(G){
				return G.test("-"+C);
			});
			F.each(function(G){
				if(this.hasClass(G)){
					this.removeClass(G);
				}
			},this);
			var E=F.join("-")+"-"+C;
			if(!this.hasClass(E)){
				this.removeClass(E);
			}
			this.removeClass(C);
		}
	});
});
};
try {
window.addEvent("domready",function(){
	sfHover("menutop");
});
} catch(e) {};
