// -------------------------------------------------------------------
// Switch Content Script- By Dynamic Drive, available at: http://www.dynamicdrive.com
// Created: Jan 5th, 2007
// Last updated: Jan 25th, 2007. Fixed defaultExpanded() feature not working when persistence is enabled (applicable only for 1st page load)
// -------------------------------------------------------------------

//   MAIN FUNCTION: new switchcontent("class name", "[optional_element_type_to_scan_for]") REQUIRED
//1) Instance.setStatus(openHTML, closedHTML)- Sets optional HTML to prefix the headers to indicate open/closed states
//2) Instance.collapsePrevious(true/false)- Sets whether previous content should be contracted when current one is expanded
//3) Instance.defaultExpanded(indices)- Sets contents that should be expanded by default (ie: 0, 1). Persistence feature overrides this setting!
//4) Instance.init() REQUIRED

// reiseplaner startseite
var planer_s=new switchcontent("group1", "div") //Limit scanning of switch contents to just "div" elements
planer_s.setStatus('<div class="open"></div>','<div class="closed"></div>')
planer_s.collapsePrevious(1)
planer_s.defaultExpanded(0)
planer_s.init()

