﻿var now = new Date();
var point = new Date(2009,1-1,3);
var countdown = Math.ceil( ( point.getTime() - now.getTime() ) / (1000*60*60*24) );
var countup = 0 - countdown;
document.write('<div style="margin-top : -0.8em;margin-bottom : -1.2em;position : relative;">');
if(countdown > 0) {
   document.write('<font color=red>2009/01/03出発。あと', countdown ,'日。');
}
else if(countdown == 0) {
   document.write('<font size="+2" color=red>今日出発です！！');
}
else {
   document.write('<font size="-1" color=red>2009/01/03出発。', countup ,'日経過。');
}
document.write('</font></div>');