

vaccordion.init({
	headerclass: "headerLevel-1",
	contentclass: "LevelNone",
	revealtype: "click",
	mouseoverdelay: 200,
	collapseprev: true,
	defaultexpanded: [],
	onemustopen: false,
	animatedefault: false,
	persiststate: false,
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='/_layouts/LeftNav/plus.gif' class='statusicon1home' />", "<img src='/_layouts/LeftNav/minus.gif' class='statusicon1home' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		// Do Nothing
	},

	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		// Do Nothing
	}
})

vaccordion.init({
	headerclass: "statusicon1home",
	contentclass: "itemLevel-1",
	revealtype: "click",
	mouseoverdelay: 200,
	collapseprev: true,
	defaultexpanded: [],
	onemustopen: false,
	animatedefault: false,
	persiststate: false,
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='/_layouts/LeftNav/plus.gif' class='statusicon1' />", "<img src='/_layouts/LeftNav/minus.gif' class='statusicon1' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		// Do Nothing
	},

	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		if(state=="block") {
		  header.src="/_layouts/LeftNav/minus.gif";
		}
		else {
		  header.src="/_layouts/LeftNav/plus.gif";
		}
	}
})

vaccordion.init({
	headerclass: "headerLevel-2",
	contentclass: "LevelNone",
	revealtype: "click",
	mouseoverdelay: 200,
	collapseprev: true,
	defaultexpanded: [],
	onemustopen: false,
	animatedefault: false,
	persiststate: false,
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='/_layouts/LeftNav/plus.gif' class='statusicon2home' />", "<img src='/_layouts/LeftNav/minus.gif' class='statusicon2home' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		// Do Nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		// Do Nothing
	}
})

vaccordion.init({
	headerclass: "statusicon2home",
	contentclass: "itemLevel-2",
	revealtype: "click",
	mouseoverdelay: 200,
	collapseprev: true,
	defaultexpanded: [],
	onemustopen: false,
	animatedefault: false,
	persiststate: false,
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["", ""],
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		// Do Nothing
	},

	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		if(state=="block") {
		  header.src="/_layouts/LeftNav/minus.gif";
		  //alert("ii: " + index);
		}
		else {
		  header.src="/_layouts/LeftNav/plus.gif";

		}
	}
})
