function Horde_Hideable(){this.id=arguments[0];this.element=document.getElementById(this.id);if(arguments.length==2){this.displayStyle=arguments[1]}}Horde_Hideable.prototype={id:null,element:null,displayStyle:"block",shown:function(){return this.element.style.display!="none"},hide:function(){this.element.style.display="none";return this},show:function(){this.element.style.display=this.displayStyle;return this},toggle:function(){return this.shown()?this.hide():this.show()}};