﻿function CountD(){
var now = new Date();
var point = new Date(2010,9-1,25);
var countdown = Math.ceil( ( point.getTime() - now.getTime() ) / (1000*60*60*24) );
if(countdown > 0) {
        document.write("<b><font size='3'>開催まであと<font size='5' color='#FF0000'>" +countdown+ "</font>日</b></font>");
}  else if(countdown <= 0 && countdown > -11) {

        document.write("<b><font size='3'>開催中です</b></font>");
}  else {
        document.write("<b><font size='3'>終了しました</b></font>");
}
}
