// JavaScript Document
// Anniversary Countdown
function ShowCountdown() {
	var now = new Date();
	var point = new Date(2011,7-1,12);
	var countdown = Math.ceil( ( point.getTime() - now.getTime() ) / (1000*60*60*24) );
	
	if(countdown > 0) {
	   document.write('創立10周年まであと', countdown ,'日');
	}
	else {
	   document.write('ありがとう10周年！');
	}
}
// Year for Copiright
function ShowNowYear() {
   var now = new Date();
   var year = now.getFullYear();
   document.write(year);
}
