var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
if ( bName == "M" && vNum < 4)
	location.href="getnewbrowser.html";
if ( bName == "N" && vNum < 4)
	location.href="getnewbrowser.html";

document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
	if( bName == "M")
	 {
		// MAC IE
		document.writeln(".e9{font-Size:9px}");
		document.writeln(".e10{font-size:10px}");
		document.writeln(".e12{font-size:12px}");
		document.writeln(".j9{font-size:9px}");
		document.writeln(".j10{font-Size:10px}");
		document.writeln(".j12{font-Size:12px}");
		document.writeln(".j14{font-Size:14px}");
		document.writeln(".j15{font-Size:15px; font-weight:bolder}");
		document.writeln(".j16{font-Size:15px;}");
	}
	else
	{
		if( vNum < 5 )
		{
			// MAC NETSCAPE 4.x
			document.writeln(".e9{font-Size:9px; line-height:10px}");
			document.writeln(".e10{font-size:10px; line-height:11px}");
			document.writeln(".e12{font-size:12px; line-height:14px}");
			document.writeln(".j9{font-size:9px; line-height:12px}");
			document.writeln(".j10{font-Size:10px; line-height:13px}"); 
			document.writeln(".j12{font-Size:12px; line-height:17px}");
			document.writeln(".j14{font-Size:14px; line-height:18px}");
			document.writeln(".j15{font-Size:15px; line-height:18px; font-weight:bolder}");
			document.writeln(".j16{font-Size:15px;}");
	 	}
	 	else
	 	{
			// MAC NETSCAPE 6.x~
			document.writeln(".e9{font-Size:9px}");
			document.writeln(".e10{font-size:10px}");
			document.writeln(".e12{font-size:12px}");
			document.writeln(".j9{font-size:9px; line-height:12px}");
			document.writeln(".j10{font-Size:10px; line-height:13px}"); 
			document.writeln(".j12{font-Size:12px; line-height:17px}");
			document.writeln(".j14{font-Size:14px; line-height:18px}");	 	
			document.writeln(".j15{font-Size:15px; line-height:18px; font-weight:bolder}");
			document.writeln(".j16{font-Size:15px;}");
	 	}
	 }

}
else
{
	if( bName == "M")
	{
		// WIN IE
		document.writeln(".e9{font-Size:9px; line-height:10px}");
		document.writeln(".e10{font-size:10px; line-height:11px}");
		document.writeln(".e12{font-size:12px; line-height:14px}");
		document.writeln(".j9{font-size:10px; line-height:12px}");
		document.writeln(".j10{font-Size:11px; line-height:13px}");
		document.writeln(".j12{font-Size:12px; line-height:17px; letter-spacing:1px}");
		document.writeln(".j14{font-Size:14px; line-height:18px; letter-spacing:1px}");
		document.writeln(".j15{font-Size:15px; line-height:18px; letter-spacing:1px; font-weight:bolder}");
	}
	else
	{
		if( vNum < 5 )
		{
			// WIN NETSCAPE 4.x
			document.writeln(".e9{font-Size:11px}");
			document.writeln(".e10{font-size:12px; line-height:11px}");
			document.writeln(".e12{font-size:14px; line-height:14px}");
			document.writeln(".j9{font-size:11px; line-height:12px}");
			document.writeln(".j10{font-Size:11px; line-height:13px}");
			document.writeln(".j12{font-Size:12px; line-height:17px}");
			document.writeln(".j14{font-Size:15px; line-height:18px}");
			document.writeln(".j15{font-Size:16px; line-height:18px; font-weight:bolder}");
		}
		else
		{
			// WIN NETSCAPE 6.x~
			document.writeln(".e9{font-Size:9px; line-height:10px}");
			document.writeln(".e10{font-size:10px; line-height:11px}");
			document.writeln(".e12{font-size:12px; line-height:14px}");
			document.writeln(".j9{font-size:10px; line-height:12px}");
			document.writeln(".j10{font-Size:11px; line-height:13px}");
			document.writeln(".j12{font-Size:12px; line-height:17px; letter-spacing:1px}");
			document.writeln(".j14{font-Size:14px; line-height:18px; letter-spacing:1px}");
			document.writeln(".j15{font-Size:15px; line-height:18px; letter-spacing:1px; font-weight:bolder}");
		
		}
	}
}
 document.writeln("--></STYLE>");



<!--

if (document.images) {


// 設定開始（使用する画像を設定してください）

// ヘッダーナビ 画像１
var img1on = new Image();
img1on.src = "/images/btn_d2k_over.gif"; // ポイント時の画像
var img1off = new Image();
img1off.src = "/images/btn_d2k.gif"; // 通常の画像

// ヘッダーナビ 画像２
var img2on = new Image();
img2on.src = "/images/btn_katsudo_over.gif";
var img2off = new Image();
img2off.src = "/images/btn_katsudo.gif";

// ヘッダーナビ 画像３
var img3on = new Image();
img3on.src = "/images/btn_tanoshimi_over.gif";
var img3off = new Image();
img3off.src = "/images/btn_tanoshimi.gif";

// ヘッダーナビ 画像４
var img4on = new Image();
img4on.src = "/images/btn_publicity_over.gif";
var img4off = new Image();
img4off.src = "/images/btn_publicity.gif";

// ヘッダーナビ 画像５
var img5on = new Image();
img5on.src = "/images/btn_sanka_over.gif";
var img5off = new Image();
img5off.src = "/images/btn_sanka.gif";

// ヘッダーナビ 画像６
var img6on = new Image();
img6on.src = "/images/btn_message_over.gif";
var img6off = new Image();
img6off.src = "/images/btn_message.gif";

// ヘッダーナビ 画像７
var img7on = new Image();
img7on.src = "/images/btn_hakou_over.gif";
var img7off = new Image();
img7off.src = "/images/btn_hakou.gif";

// ヘッダーナビ 画像８
var img8on = new Image();
img8on.src = "/images/btn_syusai_over.gif";
var img8off = new Image();
img8off.src = "/images/btn_syusai.gif";

// ヘッダーナビ 画像９
var img9on = new Image();
img9on.src = "/images/btn_mail_over.gif";
var img9off = new Image();
img9off.src = "/images/btn_mail.gif";


// フッターナビ 画像１
var img1fon = new Image();
img1fon.src = "/images/btn_d2k_over.gif"; // ポイント時の画像
var img1foff = new Image();
img1foff.src = "/images/btn_d2k.gif"; // 通常の画像

// フッターナビ 画像２
var img2fon = new Image();
img2fon.src = "/images/btn_katsudo_over.gif";
var img2foff = new Image();
img2foff.src = "/images/btn_katsudo.gif";

// フッターナビ 画像３
var img3fon = new Image();
img3fon.src = "/images/btn_tanoshimi_over.gif";
var img3foff = new Image();
img3foff.src = "/images/btn_tanoshimi.gif";

// フッターナビ 画像４
var img4fon = new Image();
img4fon.src = "/images/btn_publicity_over.gif";
var img4foff = new Image();
img4foff.src = "/images/btn_publicity.gif";

// フッターナビ 画像５
var img5fon = new Image();
img5fon.src = "/images/btn_sanka_over.gif";
var img5foff = new Image();
img5foff.src = "/images/btn_sanka.gif";

// フッターナビ 画像６
var img6fon = new Image();
img6fon.src = "/images/btn_message_over.gif";
var img6foff = new Image();
img6foff.src = "/images/btn_message.gif";

// フッターナビ 画像７
var img7fon = new Image();
img7fon.src = "/images/btn_hakou_over.gif";
var img7foff = new Image();
img7foff.src = "/images/btn_hakou.gif";

// フッターナビ 画像８
var img8fon = new Image();
img8fon.src = "/images/btn_syusai_over.gif";
var img8foff = new Image();
img8foff.src = "/images/btn_syusai.gif";

// フッターーナビ 画像９
var img9fon = new Image();
img9fon.src = "/images/btn_mail_over.gif";
var img9foff = new Image();
img9foff.src = "/images/btn_mail.gif";


// 詳細申し込み 画像１
var img10on = new Image();
img10on.src = "/images/btn_moshikomi1_over.gif";
var img10off = new Image();
img10off.src = "/images/btn_moshikomi1.gif";

// 詳細申し込み 画像２
var img11on = new Image();
img11on.src = "/images/btn_moshikomi2_over.gif";
var img11off = new Image();
img11off.src = "/images/btn_moshikomi2.gif";

// 設定終了


}

// ポイント時の処理
function On(name) {

if (document.images) {
document.images[name].src = eval(name + 'on.src');
}

}

// 放した時の処理
function Off(name) {

if (document.images) {
document.images[name].src = eval(name + 'off.src');
}

}

// -->
