title: Call Particular Javascript function on page load
body: <p>I have a page with 7 sections of information contained in a Javascript accordion.  The accordion sections are opened by making a function call with an index contained in it. ie: runAccordion(3);  I would like to link to this page from other areas of my site and have the appropriate accordion open when the page loads.  Linking to the page as www.domain.com/page.php#myAccordion just places the appropriate accordion at the top of the page but does not open it. Is there a way to pass a parameter to be processed on page load and then call the right function?</p>