title: How to make the countdown to every friday in the month?
body: <p>I have a countdown at my site, i want it to countdown to next Friday, and when the friday is over, i want it to automatically countdown to the next Friday.. and just repeat that..</p>
  
  <p>I have this script, but cant seem to get it to work, can some one help me here ?</p>
  
  <p>Thanks in advance</p>
  
  <pre><code>$(function(){
  
  var note = $('#note'),
      ts = new Date(5), //Setting the date here
      newYear = true;
  
  if((new Date()) &gt; ts){
      ts = (new Date()).getTime() + 10*24*60*60*1000;
      newYear = false;
  }
  
  $('#countdown').countdown({
      timestamp   : ts,
      callback    : function(days, hours, minutes, seconds){
  
          var message = "";
  
          message += days + " day" + ( days==1 ? '':'s' ) + ", ";
          message += hours + " hour" + ( hours==1 ? '':'s' ) + ", ";
          message += minutes + " minute" + ( minutes==1 ? '':'s' ) + " and ";
          message += seconds + " second" + ( seconds==1 ? '':'s' ) + " &lt;br /&gt;";
  
          if(newYear){
              message += "left until the new year!";
          }
          else {
              message += "left to 10 days from now!";
          }
  
          note.html(message);
      }
  });
  
  });
  </code></pre>