var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); // ------------------------------------------------------------------- // Switch Content Script- By Dynamic Drive, available at: http://www.dynamicdrive.com // Last updated: Jan 5th, 2007 // ------------------------------------------------------------------- function switchcontent(className){ this.className=className this.collapsePrev=false //Default: Collapse previous content each time this.enablePersist=false //Default: Disable session only persistence //Limit type of element to scan for on page for switch contents if 2nd function parameter is defined, for efficiency sake (ie: "div") this.filter_content_tag=(arguments.length==2)? arguments[1].toLowerCase() : "" } switchcontent.prototype.setStatus=function(openHTML, closeHTML){ //PUBLIC: Set open/ closing HTML indicator. Optional this.statusOpen=openHTML this.statusClosed=closeHTML } switchcontent.prototype.setColor=function(openColor, closeColor){ //PUBLIC: Set open/ closing color of switch header. Optional this.colorOpen=openColor this.colorClosed=closeColor } switchcontent.prototype.setPersist=function(bool){ //PUBLIC: Enable/ disable persistence. Default is true. this.enablePersist=bool } switchcontent.prototype.collapsePrevious=function(bool){ //PUBLIC: Enable/ disable collapse previous content. Default is false. this.collapsePrev=bool } switchcontent.prototype.sweepToggle=function(setting){ //PUBLIC: Expand/ contract all contents method. (Values: "contract"|"expand") if (typeof this.headers!="undefined" && this.headers.length>0){ //if there are switch contents defined on the page for (var i=0; i