title: jQuery Datepicker Beforeshowday two arrays of dates
body: <p>I have one array for disabled dates and another for dates to be highlighted. Is there a way to code this?</p>
  
  <p>e.g.:</p>
  
  <pre><code>beforeShowDay: function(date){
      var unavilble = jQuery.datepicker.formatDate('yy/mm/dd', date);
      var newstring = [ arrayable.indexOf(unavilble) == -1 ];
      return newstring;
      },
  </code></pre>
  
  <p>2nd array:</p>
  
  <pre><code>var datet = ['2014/01/19', '2014/01/20'];
          //tips are optional but good to have
  var tips  = ['some description','some other description'];      
  
  function highlightDays(date) {
      for (var i = 0; i &lt; datet.length; i++) {
          if (new Date(datet[i]).toString() == date.toString()) {              
              return [true, 'highlight', tips[i]];
          }
      }
      return [true, ''];
   } 
  beforeShowDay: highlightDays,
  </code></pre>