//  クリスマスカウントダウン
function countdown(){

today  = new Date ();
cDay01 = new Date ("December 25, 2005");
cDay02 = new Date ("December 25, 2006");
CD01   = (cDay01.getTime () - today.getTime ()) / (24*60*60*1000);
CD02   = (cDay02.getTime () - today.getTime ()) / (24*60*60*1000)

if (Math.ceil (CD01) > "1") {
document.write("Santa Clause is Coming to Your Home in " + Math.ceil (CD01) + " Days")
}

else if (Math.ceil (CD01) == "1") {
document.write("Today is Christmas Eve!")
}

else if (Math.ceil (CD01) == "0") {
document.write("Today is Christmas!")
}

else if (Math.ceil (CD01) < "0") {
document.write("Santa Clause is Coming to Your Home in " + Math.ceil (CD02) + " Days")
}

}
