var date = new Date("January 1, 2011");
var description = " ";
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / (1000 * 60 * 60 * 24));
if (days > 1) {document.write(days+1); }
else if (days == 1) { document.write("Only two days until " + description); }
else if (days == 0) { document.write("Tomorrow is " + description); }
else { document.write("It is " + description + "!"); }