

var date = new Date("December 21, 2009");
var description = "to Order!";
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / (1000 * 60 * 60 * 24));
if (days > 1) {
document.write("<font color='red'>" + (days+1) + "</font> days left " + description);
}
else if (days == 1) {
document.write("Only <font color='red'>two days</font> left " + description);
}
else if (days == 0) {
document.write("<font color='red'>Tomorrow is the last day " + description + "</font>");
}
else {
document.write("<font color='red'>It's the last day " + description + "!<br/> You can still order Christmas Text Messages!</font>");
}