Add cookie functioanality to jquery.showhide.js plugin - should be simple...

Add cookie functioanality to jquery.showhide.js plugin - should be simple...

Hi everyone, check this out.  I am using the following plugin by Dana Woodman:
 
 
Implementation is relitavely simple:
 
1) Add scripts - done
 
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery-showhide/jquery.showhide.js"></script>
 
2) Add script for show/hide areas - done
 
<script type="text/javascript">
       
            $(function() {
                               
                // Declaring first custom target
                $('#example-1').showhide({
                    target_obj: $('#example-1').parent().next()
                });
               
                // Declaring second custom target
                $('#example-2').showhide({
                    target_obj: $('#example-2').parent().next()
                });












            });
       
        </script>

 
3) Add HTML - done
 
 
<h1><a href="#" title="Toggle the ul" id="example-1">Toggle</a>Show Hide List 1</h1>
<ul>
Show Hide Content
</ul>
<h1><a href="#" title="Toggle the ul" id="example-2">Toggle</a>Show Hide List 2</h1>
<ul>
Show Hide Content
</ul>
 
At this stage everything is fine and the show hide functionality works very well.  However I am having trouble getting the cookies to work so that show hide states are maintained while the user  navigates their way around the site.
 
The configuration details on the authours page show that the following can be configured, but I have no idea how to get it working.
 
I am sure the following need to be configured for cookies:
 
use_cookie Boolean false
 
cookie_name String 'show_target'
 
You can also set default instances to 'hide' with the following:
 
hide_class String 'hide'
 
 
How this is done is a complete mystery. 
 
Does anyone have any suggestions as to how this might be configured?  I have included a stripped version of the HTML I am dealing with in the form of a text file.
 
I have also uploaded the sshowhide javascript file, just incase anything there needs to be configured - there is a list of default options at the bottom that might need viewing.
 
This seems like an incredibly functional plugin - but it needs alittle more documentation to get it working.
 
Thanks
 
Oliver