<!--
//---------フェスティバル---------
/**/
function xDay(y,m,d){
today = new Date();
xday = new Date(y,m-1,d);
n = Math.floor((xday.getTime()-today.getTime())/86400000)+1;
document.write(num2img(n));
}
// ↓ここから
function num2img(num){
num=""+num;
temp="";
if(n < 0){
temp+="<img src=\"_common/img/count_0.gif\">";
}else{
for(var i=0;i<num.length;i++){
temp+="<img src=\"_common/img/count_"+num.charAt(i)+".gif\">";
}
}
return temp;
}
// ↑ここまで画像

