I need some modification in the script but could not do it as i am not so friendly with jquery

When the page postback i want to maintain the state of the panels. Right now if i refresh the page all the panels are collapsed,

i am using the below code 

```
$(document).ready(function() {
    $(“DIV.ContainerPanel > DIV.collapsePanelHeader > DIV.ArrowExpand”).toggle(function() {
        $(this).parent().next(“div.Content”).show(“slow”);
        $(this).attr(“class”, “ArrowClose”);
    },function() {
        $(this).parent().next(“div.Content”).hide(“slow”);
        $(this).attr(“class”, “ArrowExpand”);
    });
});

```

Please help