var hgt = this.adjustHeight(h);
if( withAnimation ) {
var anm = this.animate("height",hgt,d,true);
this.dlo.register(anm,"onstop");
} else {
this.setAttribute("height",hgt);
}
this.setAttribute( "contentvisible" , true );
if (mh) {
this.minHeight = mh;
} else {
this.minHeight = parent.minTabHeight;
}
this.onopenned.sendEvent();
var hgt = this.adjustHeight(h);
var anm = this.animate("height",-hgt,d,true);
this.onclosing.sendevent();
this.dlc.register(anm,"onstop");
//this.setvisiblestate.sendEvent(false);
this.onclosed.sendEvent();
this.dlc.unregisterall();
this.setAttribute( "contentvisible" , false );
super.init();
this.parent.update(); //update the tabSlider
this.dlc = new LZDelegate(this,"closed");
this.dlo = new LZDelegate(this,"openned");
return h;
this.dl = new LzDelegate(this,"update",this,"onheight");
super.init();
this.reset();
this.layouts[0].spacing = this.spacing;
this.layouts[0].reset();
this.calcAvailableHeight();