// MAIN FUNCTION: new switchcontent("class name", "[optional_element_type_to_scan_for]") REQUIRED
// Call Instance.init() at the very end. REQUIRED

var bobexample=new switchcontent("switchgroup1", "div") //Limit scanning of switch contents to just "div" elements
bobexample.setStatus('<b>', '')
bobexample.setColor('#bbb', 'white')
bobexample.setPersist(true)
bobexample.defaultExpanded(0)
bobexample.collapsePrevious(true) //Only one content open at any given time
bobexample.init()
