Can suggest you a work around for this type of problem
1. Place a textbox on page with style="display:none"
2. You can set the value to zero, identifying as the div is hidden.
3. When the show div is called set the value of this control to 1. i.e. the control is visible
4. You need to switch the value of text ox between 0 and 1.
5. Place the code at the end of page as
<script type="">
if(document.getElementById('txtboxHidden').value == '1')
{
//Display your Div code here
}
</script>
Hope this will help you