// JavaScript Document
<!-- Hide JavaScript from Java-Impaired Browsers --

function getRemaining() {

  today = new Date();

    /* We've written in next Christmas.  You can substitute

       whatever you wish.  The turn of the century, maybe? */

  targetdate = new Date("January 1, 2011"); 

  targetdate.setYear(today.getYear()); 

    /* Set a variable with number of milliseconds per day:

       Hours times minutes times seconds times a thousand */ 

  milliseconds = (24 * 60 * 60 * 1000);

  remaining = ((targetdate.getTime() - today.getTime()) / milliseconds); 

  remaining = Math.round(remaining);

  }

// End Hiding Script -->




