function Disp_new(){//==================================================//初期設定//==================================================var xdate=new Array(2);//=====更新マークの設定new_day = 14;//更新マークが表示されている日数new_item = '<SPAN style="color:#ff0000; font-size:100%"> New<\/SPAN>';//更新マークに表示する文字または画像（画像はイメージタグを書く）//=====背景カラーの設定var xcolor=new Array(1);xcolor[0]="#ffffff";//=====奇数列のカラーxcolor[1]="#eeeeee";//=====偶数列のカラー//=====文字サイズ・色の設定udate_size="100%";//=====更新日の文字サイズcont_size="100%";//=====タイトルの文字サイズupdate_color="#000000";//=====更新日の文字色cont_color="#000000";//=====タイトルの文字色syousai_color="#666666";//=====詳細の文字色//==================================================//初期設定ここまで//==================================================for(i=0;i<=num;i++){document.write('<tr>\n');document.write('<td><div align="left">\n');document.write('<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">\n');document.write('<tr>\n');//====================更新日設定xdate = date[i].split("/");year = xdate[0].substring(2, 4);update = "■"+xdate[0]+"/"+xdate[1]+"/"+xdate[2];update = '　<span class="style2"><strong>'+ update;update +='</strong>　</span>';//====================更新日からの日数設定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 = '<span class="style2"><a href="'+link[i]+'">'+xtitle[i]+'<\/a><\/span>';//---リンクまたは詳細有り}else{	content = '<span class="style2">'+xtitle[i]+'<\/span>';//タイトルのみ}//====================表示document.write('<td width="24%" nowrap bgcolor="'+xcolor[(i+2)%2]+'">'+update+ '<\/td>');document.write('<td width="76%" bgcolor="'+xcolor[(i+2)%2]+'">'+content+ '<\/td>');document.write('<\/tr>\n');document.write('<\/table>\n');document.write('<\/div><\/td>\n');document.write('<\/tr>\n');document.write('<tr>\n');document.write('<td height="4" background="img/line.gif"><div align="left"><img src="img/sp.gif" alt="□" width="1" height="4" /></div></td>\n');document.write('</tr>');}}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>');}