/***********************************************
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

ddaccordion.init({
// Shared CSS class name of headers group.
headerclass: "acc-header", 

// Shared CSS class name of contents group.
contentclass: "acc-content", 

// Collapse previous content (so only one open at any time)? true/false.
collapseprev: false, 

// index of content(s) open by default [index1, index2, etc].
defaultexpanded: [], 

// Specify whether at least one header should be open always (so never all headers closed). true/false.
onemustopen: false, 

// Should contents open by default be animated into view? true/false.
animatedefault: false, 

// Persist state of opened contents within browser session? true/false.
persiststate: false, 

// Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"].
toggleclass: ["acc-closed", "acc-open"], 

// Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs).
togglehtml: ["prefix", "<img src='plus.gif' alt='[+]'/> ", "<img src='minus.gif' alt='[-]'/> "], 

// Speed of animation: "fast", "normal", or "slow".
animatespeed: "fast" 
})