title: JQuery accordion not hiding sections
body: <p>I want to use the jQuery accordion tool for a form i'm building so I used some sample code from the jquery website but it doesn't work at all! </p>
  
  <p>The javascript does nothing at all so you just get the html rendered. I am using version 1.3.1 of jquery with version 1.6rc6 of jquery-ui.</p>
  
  <pre><code>&lt;head runat="server"&gt;
      &lt;script src="/scripts/jquery-1.3.1.js" type="text/javascript"&gt;&lt;/script&gt;    
      &lt;script src="/scripts/jquery-ui-personalized-1.6rc6" type="text/javascript"&gt;&lt;/script&gt;
      &lt;title&gt;JQuery Test&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div class="demo"&gt;
  
  &lt;div id="accordion"&gt;
      &lt;div&gt;
          &lt;h3&gt;&lt;a href="#"&gt;Section 1&lt;/a&gt;&lt;/h3&gt;
          &lt;div&gt;
              &lt;p&gt;
              Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
              ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
              amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
              odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
              &lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;h3&gt;&lt;a href="#"&gt;Section 2&lt;/a&gt;&lt;/h3&gt;
          &lt;div&gt;
              &lt;p&gt;
              Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
              purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
              velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
              suscipit faucibus urna.
              &lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;h3&gt;&lt;a href="#"&gt;Section 3&lt;/a&gt;&lt;/h3&gt;
          &lt;div&gt;
              &lt;p&gt;
              Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
              Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
              ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
              lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
              &lt;/p&gt;
              &lt;ul&gt;
                  &lt;li&gt;List item one&lt;/li&gt;
                  &lt;li&gt;List item two&lt;/li&gt;
                  &lt;li&gt;List item three&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;h3&gt;&lt;a href="#"&gt;Section 4&lt;/a&gt;&lt;/h3&gt;
          &lt;div&gt;
              &lt;p&gt;
              Cras dictum. Pellentesque habitant morbi tristique senectus et netus
              et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in
              faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia
              mauris vel est.
              &lt;/p&gt;
              &lt;p&gt;
              Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus.
              Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
              inceptos himenaeos.
              &lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;            
  $(document).ready(
          function() {
              $('#accordion').Accordion(
              {
                  header: "h3"
              }
        );  
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I've tried everything i can think of and trawled the net and still can't get this simple demo to work, can anyone point me in the right direction?</p>
  
  <p>It doesn't matter what browser I use but firebug says $("#accordion").accordion is not a function</p>
  
  <p>Thanks</p>