Hey there,
You can create a function like:
function myFunction(){
$("div.content-module-heading").next("div.content-module-main").slideToggle();
$("div.content-module-heading").children(".expand-collapse-text").toggle();
}
and register the script to call this function inside the event, like:
Page.ClientScript.RegisterStartupScript(GetType(), "YourKey", "myFunction();", true);
Hope it helps.
Azee...