animatedcollapse.addDiv('ad1', 'fade=1,speed=400,group=ads,persist=1,hide=1')
animatedcollapse.addDiv('ad2', 'fade=1,speed=400,group=ads,persist=1,hide=1')
animatedcollapse.addDiv('ad3', 'fade=1,speed=400,group=ads,persist=1,hide=1')
animatedcollapse.addDiv('ad5', 'fade=1,speed=400,group=ads,persist=1,hide=1')
animatedcollapse.addDiv('ad6', 'fade=1,speed=400,group=ads,persist=1,hide=1')

animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV is expanded/contracted
	//$: Access to jQuery
	//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
	//state: "block" or "none", depending on state
}

animatedcollapse.init()

