function Disp_new(){//==================================================//初期設定//==================================================var xdate=new Array(2);//=====更新マークの設定new_day = 14;//更新マークが表示されている日数new_item = '<SPAN style="color:#ff0000; font-size:80%"> New<\/SPAN>';//更新マークに表示する文字または画像（画像はイメージタグを書く）//=====背景カラーの設定var xcolor=new Array(1);//xcolor[0]="#ffffff";//=====奇数列のカラー//xcolor[1]="#ffffff";//=====偶数列のカラー//=====文字サイズ・色の設定udate_size="80%";//=====更新日の文字サイズcont_size="80%";//=====タイトルの文字サイズupdate_color="#000000";//=====更新日の文字色cont_color="#000000";//=====タイトルの文字色syousai_color="#666666";//=====詳細の文字色//==================================================//初期設定ここまで//==================================================document.write('<table width="90%" border="0" cellspacing="0" cellpadding="1" summary="最新情報">');for(i=0;i<=num;i++){//====================更新日設定xdate = date[i].split("/");year = xdate[0].substring(2, 4);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 = '<font color="'+cont_color+'">'+xtitle[i]+'<\/font>';//タイトルのみ}//====================表示if(xcolor[(i+2)%2]){	document.write('<tr bgcolor="'+xcolor[(i+2)%2]+'">');}else{	document.write('<tr>');}//====================タイトル表示document.write('<td valign="top"><SPAN style="font-size:'+cont_size+'; color:'+cont_color+';">●'+content+'<\/SPAN>');/*if(fsize[i]){	document.write(fsize[i]);}*///====================更新日表示document.write('<SPAN style="font-size:'+udate_size+'; color:'+update_color+';">'+update+'<\/SPAN>');document.write(new_disp+'<\/td>');document.write('<\/tr>');//document.write('<tr>');//document.write('<td class="ta-new" colspan="2"><img src="img/spacer.gif" alt="□" width="3" height="3"></td>');//document.write('</tr>');}document.write('</table>');}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>');}
