function Horde_Form_Sections(B,C){this._instanceName=B;var A,D;this.toggle=function(E){if(!document.getElementById){return false}openSectionId=this._get();D=document.getElementById(this._instanceName+"_section_"+openSectionId);if(D){D.style.display="none";document.getElementById(this._instanceName+"_tab_"+openSectionId).className=null}D=document.getElementById(this._instanceName+"_section_"+E);if(D){D.style.display="";document.getElementById(this._instanceName+"_tab_"+E).className="activeTab"}this._set(E)};this._get=function(){return this._openSection};this._set=function(F){var E=document.getElementById(this._instanceName);if(E!=null&&typeof E.__formOpenSection!="undefined"){E.__formOpenSection.value=escape(F)}this._openSection=F};this._set(C)};