﻿animatedcollapse.addDiv('rabbit', 'fade=0,speed=400,group=pets,hide=0')
animatedcollapse.addDiv('imageG', 'fade=0,speed=400,group=pets0,hide=0')
animatedcollapse.addDiv('import', 'fade=1,speed=400,group=pets1,hide=0')
animatedcollapse.addDiv('PollVote', 'fade=0,speed=400,group=pets2,hide=0')
animatedcollapse.addDiv('AddXul', 'fade=0,speed=400,group=pets3,hide=1')
animatedcollapse.addDiv('AddYear', 'fade=0,speed=400,group=pets4,hide=1')
animatedcollapse.addDiv('AddWeek', 'fade=0,speed=400,group=pets5,hide=1')
animatedcollapse.addDiv('NewGame', 'fade=0,speed=400,group=pets6,hide=1')
animatedcollapse.addDiv('NewTeam1', 'fade=0,speed=400,group=pets7,hide=1')
animatedcollapse.addDiv('NewTeam2', 'fade=0,speed=400,group=pets8,hide=1')
animatedcollapse.addDiv('NewTeams', 'fade=0,speed=400,group=pets9,hide=1')
animatedcollapse.addDiv('GoalKar', 'fade=0,speed=400,group=pets10,hide=1')
animatedcollapse.addDiv('Profile', 'fade=0,speed=400,group=pets11,hide=1')
animatedcollapse.addDiv('NewGoal1', 'fade=0,speed=400,group=pets12,hide=1')
animatedcollapse.addDiv('NewGoal2', 'fade=0,speed=400,group=pets13,hide=1')
animatedcollapse.addDiv('AddProgram', 'fade=0,speed=400,group=pets14,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()
