function tabberObj(a){var b;this.div=null;this.classMain="tabber";this.classMainLive="tabberlive";this.classTab="tabbertab";this.classTabDefault="tabbertabdefault";this.classNav="tabbernav";this.classTabHide="tabbertabhide";this.classNavActive="tabberactive";this.titleElements=["h2","h3","h4","h5","h6"];this.removeTitle=this.titleElementsStripHTML=true;this.addLinkId=false;this.linkIdFormat="nav";for(b in a)this[b]=a[b];this.REclassMain=new RegExp("\\b"+this.classMain+"\\b", "gi");this.REclassMainLive=new RegExp("\\b"+this.classMainLive+"\\b","gi");this.REclassTab=new RegExp("\\b"+this.classTab+"\\b","gi");this.REclassTabDefault=new RegExp("\\b"+this.classTabDefault+"\\b","gi");this.REclassTabHide=new RegExp("\\b"+this.classTabHide+"\\b","gi");this.tabs=[];if(this.div){this.init(this.div);this.div=null}} tabberObj.prototype.init=function(a){var b,c,d,e,h=0,f,g;if(!document.getElementsByTagName)return false;if(a.id)this.id=a.id;this.tabs.length=0;b=a.childNodes;for(c=0;c/gi," ");e.headingText=e.headingText.replace(/<[^>]+>/g,"")}break}if(!e.headingText)e.headingText=c+1;d=document.createElement("li");e.li=d;f=document.createElement("a");f.appendChild(document.createTextNode(e.headingText));f.href="javascript:void(null);";f.title=e.headingText;f.onclick=this.navClick; f.tabber=this;f.tabberIndex=c;if(this.addLinkId&&this.linkIdFormat){g=this.linkIdFormat;g=g.replace(//gi,this.id);g=g.replace(//gi,c);g=g.replace(//gi,c+1);g=g.replace(//gi,e.headingText.replace(/[^a-zA-Z0-9\-]/gi,""));f.id=g}d.appendChild(f);b.appendChild(d)}a.insertBefore(b,a.firstChild);a.className=a.className.replace(this.REclassMain,this.classMainLive);this.tabShow(h);typeof this.onLoad=="function"&&this.onLoad({tabber:this});return this}; tabberObj.prototype.navClick=function(a){var b,c,d;if(!this.tabber)return false;b=this.tabber;c=this.tabberIndex;this.blur();if(typeof b.onClick=="function"){d={tabber:b,index:c,event:a};if(!a)d.event=window.event;a=b.onClick(d);if(a===false)return false}b.tabShow(c);return false};tabberObj.prototype.tabHideAll=function(){var a;for(a=0;a