elLastOpen=null;
$("menu").getChildren().each(function(A){
	if(A==A.parentNode.firstChild){
		return
	}A.addEvent("click",function(){if(elLastOpen==this){return }if(elLastOpen){elLastOpen.toggleClass("open");elLastOpen.fxSlide.start({height:0})}this.toggleClass("open");this.fxSlide.start({height:this.nHeight});elLastOpen=this});A.firstChild.onclick=function(){return false};var B=A.childNodes[1];A.fxSlide=new Fx.Styles(B);A.nHeight=B.offsetHeight;B.setStyles({height:A.nHeight,overflow:"hidden"});if(A.hasClass("open")){elLastOpen=A}else{B.setStyle("height",0)}});function show(A){A.style.display="none";A.nextSibling.style.display="block"};