title: how to set jquery tinyscrollbar to scroll:false in overlay
body: <p>Invoking an overlay within a scrollable area.  Using tinyscrollbar plugin ( [http://www.baijs.nl/tinyscrollbar/][1] ) and, when the overlay is invoked, I want to set the scroll option in tinyscrollbar to false.  This is the script in the header: </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
          $('#scrollbar2').tinyscrollbar({ scroll: true });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>This is the overlay script:</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function () {
          $("img[rel]").overlay({
              onBeforeLoad: function (event) {
                  $('#scrollbar2').tinyscrollbar({ scroll: false });
              },
              onClose: function (event) {
                  $('#scrollbar2').tinyscrollbar({ scroll: true});
              }
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>As you can see, in onBeforeLoad, I try to set the scroll to false and onClose set it back to true, but these are ignored.  Kinda new to jquery, so not sure how to change these options dynamically.  Tried call to tinyscrollbar_update() after setting scroll option but that didn't have any effect.  Not sure how to do this...</p>