// JavaScript Document
function Disp_new(){

//==================================================
//
//初期設定
//
//==================================================

var xdate=new Array(2);

//=====更新マークの設定
new_day = 3;//更新マークが表示されている日数
new_item = '<FONT size="-2" color="#ff0000"> <B>New<\/B><\/FONT>';//更新マークに表示する文字または画像（画像はイメージタグを書く）

//=====文字サイズ・色の設定
udate_size="1";//=====更新日の文字サイズ
cont_size="1";//=====タイトルの文字サイズ
syousai_size="-1";//=====詳細の文字サイズ
update_color="#000000";//=====更新日の文字色
cont_color="#000000";//=====タイトルの文字色
syousai_color="#333333";//=====詳細の文字色
bg_color="#7cc924";//=====背景色

//==================================================
//初期設定ここまで
//==================================================

for(i=0;i<=num;i++){

//====================更新日設定
xdate = date[i].split("/");
year = xdate[0].substring(0, 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]){
	content = '<a href="'+link[i]+'">'+xtitle[i]+'<\/a>';//---リンクまたは詳細有り
	kochira = '<DIV align=right><a href="'+link[i]+'"><img src="img/syousai_bt.jpg" alt="詳しくはこちら" height="14" width="86" border="0"></a></DIV>';
}else{
	content = '<font color="'+cont_color+'">'+xtitle[i]+'<\/font>';//タイトルのみ
	kochira = '';
}
//====================表示
document.write('<img src="img/line.jpg" alt="" height="" width="" border="0" style="margin:10px 0;">');
document.write('<div style="padding-left:14px;margin-bottom:4px;font-size:12px;"><font color="'+update_color+'">'+update+'<\/font><\/div>');
document.write('<span style="padding-left:14px;font-size:12px;"><font color="'+update_color+'">'+content+new_disp+'<\/font><\/span>');
document.write('<font size="'+cont_size+'" color="'+update_color+'"><br><\/font>');
if(syousai[i]){
	document.write('<font size="'+syousai_size+'" color="'+syousai_color+'"><br>'+syousai[i]+'<\/font>');
}
document.write(kochira);
}
}
<!--HPB_SCRIPT_CODE_40
function _HpbJumpURLinNewWindow(url) 
{
  if (url != '')
  {
    window.open(url, '_blank',"width=810,height=575");
  }
}
//-->