title: jQuery: having trouble specifying minDate and maxDate for a datePicker
body: <p>I'm trying to enforce choosing only dates between (today minus a week, today plus a week) but instead getting a datePicker with past dates disabled and unrestricted future dates.</p>
  
  <p>Any idea? (I'm new to jQuery, 2nd day of playing with it...) thanks!</p>
  
  <p>I isolated the code to clearly repro it:</p>
  
  <pre><code>&lt;html&gt;                                                                  
  &lt;head&gt;                                                                  
      &lt;title&gt;jquery sample&lt;/title&gt;
      &lt;script type="text/javascript" src="jquery-1.4.1.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="date.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="jquery.datePicker.js"&gt;&lt;/script&gt;
      &lt;link href="datePicker.css" rel="stylesheet" type="text/css" /&gt;
      &lt;link href="custom.css" rel="stylesheet" type="text/css" /&gt;
      &lt;script type="text/javascript" charset="utf-8"&gt;
          $(function () {
              $('.date-pick').datePicker({ minDate: '-7D', maxDate: '+7D' }).val(new Date().asString()).trigger('change');
          });
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;                                                                  
      &lt;a href=""&gt;Link&lt;/a&gt;
      &lt;input name="date1" id="date1" class="date-pick" /&gt;
  &lt;/body&gt;                                                                 
  </code></pre>
  
  <p></p>