function Disp_new(){
//初期設定
var xdate=new Array(2);
//=====更新マークの設定
new_day = 14;//更新マークが表示されている日数
new_item = '<SPAN style="color:#ff0000; font-size:100%"> New<\/SPAN>';
//更新マークに表示する文字または画像（画像はイメージタグを書く）
//初期設定ここまで

for(i=0;i<=num;i++){
//====================更新日設定
xdate = date[i].split("/");
//year = xdate[0].substring(2, 4);
year = xdate[0];
update = "["+year+"/"+xdate[1]+"/"+xdate[2]+"]";
//====================更新日からの日数設定
var now = new Date();
var spday= new Date(xdate[0],xdate[1]-1,xdate[2]);
a = (now.getTime() - spday.getTime())/(24*60*60*1000);//---a = 更新日からの日数
//====================更新マーク設定

if(a <= new_day){
	new_disp = new_item;
}else{
	new_disp = '';
}
//====================タイトル表示設定
if(link[i]){
	top_word = link[i].charAt(0);
	content = '<a href="'+link[i]+'">'+xtitle[i]+'<\/a>';//---リンクまたは詳細有り
}else{
	content = xtitle[i];//タイトルのみ
}
document.write('<LI><span class="date">');
document.write(update+'</span>　'+content+'</LI>');

}
}

function Disp_renew(){
//====================初期設定
var xlastupdate=new Array(2);
var lastdate=new Array(2);
var lasttime=new Array(2);
//====================最終更新日設定
xlastupdate = renew_date.split(",");
lastdate = xlastupdate[0].split("/");
lastwday = xlastupdate[1];
lasttime = xlastupdate[2].split(":");
lastdate[0] = lastdate[0].substring(0, 4);
lastupdate = lastdate[0]+"年"+lastdate[1]+"月"+lastdate[2]+"日";
//====================最終更新日表示
document.write('<SPAN style="font-size:100%; color:#666666;">最終更新日：');
document.write(lastupdate);
document.write('</SPAN>');
}

