// MAIN FUNCTION: new switchcontent("class name", "[optional_element_type_to_scan_for]") REQUIRED
// Call Instance.init() at the very end. REQUIRED

var toggleit=new switchcontent("switchgroup1", "div") //Limit scanning of switch contents to just "div" elements
toggleit.setStatus('', '')
toggleit.setColor('darkred', 'black')
toggleit.setPersist(true)
toggleit.collapsePrevious(true) //Only one content open at any given time
toggleit.init()
