title: jQuery Optimisation Multiple Selectors
body: <p>At the top of my script I two variables holding two selectors:</p>
  
  <pre><code>    var all_open = $('ul#festival_dates li.controls a:eq(0)');
      var all_close = $('ul#festival_dates li.controls a:eq(1)');
  </code></pre>
  
  <p>I'm getting there with Jquery, I'm now at the point where I'm looking at my code and finding ways to write much more efficient scripts. One thing I noticed using YUI Compressor is that it said "[WARNING] Try to use a single 'var' statement per scope." and highlighted the two lines above, has anyone got any suggestions about this, or can explain a more technical description of what this means?</p>
  
  <p>Any help would be much appreciated.</p>
  
  <p>Thank you for your replie.</p>