<!--

//____________________________________ MACHINE

var OS = "OS_OTHER";
var BR = "BR_OTHER";
var IEVer = navigator.userAgent.substr( navigator.userAgent.indexOf( "MSIE" ) + 5 , 3 );
var NSVer = navigator.userAgent.substring( 8 , 11 );

if( navigator.userAgent.indexOf( "Win" ) >= 0 ){
	OS = "Win";
}
else if( navigator.userAgent.indexOf( "Mac" ) >= 0 ){
	OS = "Mac";
}

if( navigator.appName == "Microsoft Internet Explorer" ){
	if( IEVer >= 4 ){
		BR = "IE";
	}
}
else if( navigator.appName == "Netscape" ){
	if( NSVer >= 4 && NSVer < 5 ){
		BR = "NS4";
	}
	else if( NSVer >= 5 ){
		BR = "NS6";
	}
}

//____________________________________ TEXT STYLE

with( document ){
	write("<STYLE TYPE='text/css'><!--");

	/*タイトルバー内のパンクズ・戻る/進む　リンク色*/
	write("A.navi:LINK    { color:#3333CC; text-decoration:none; }" );
	write("A.navi:VISITED { color:#3333CC; text-decoration:none; }" );
	write("A.navi:HOVER   { color:#3333CC; text-decoration:none; }" );
	write("A.navi:ACTIVE  { color:#3333CC; text-decoration:none; }" );

	/*アンダーラインあり　リンク色*/
	write("A.line:LINK    { color:#343b8f; text-decoration:underline; }" );
	write("A.line:VISITED { color:#774979; text-decoration:underline; }" );
	write("A.line:HOVER   { color:#ff9900; text-decoration:none; }" );
	write("A.line:ACTIVE  { color:#b2b6e7; text-decoration:underline; }" );

	/*デフォルトリンク色設定*/
	write("A:LINK    { color:#343b8f; text-decoration:none; }" );
	write("A:VISITED { color:#774979; text-decoration:none; }" );
	write("A:HOVER   { color:#ff9900; text-decoration:none; }" );
	write("A:ACTIVE  { color:#b2b6e7; text-decoration:none; }" );

	//（固定14）行間×
	//.textL　→　ブラウザ判別

	//（固定12）行間×
	write(".textM { font-size:12px; color:#666666; }" );

	//（固定10）行間×
	write(".textS { font-size:10px; color:#666666; }" );


//====================================================
//※サイズ判定が必要なスタイルシート

//（14）
//.C2Msubt   ：基本サイズ14px　行間あり
//.textM_line：基本サイズ14px　行間あり
//.textM_blue：基本サイズ14px　行間あり（青色）
//.textM_form：基本サイズ14px　行間×

//（12）
//.textS_line：基本サイズ12px　行間あり

//====================================================
//※ブラウザ別サイズ指定の基準単位

//Win IE            ：%（14px→90%）
//Win NS4,6　Mac NS6：pt（14px→11pt）
//Mac IE            ：px（14px→14px）
//Mac NS4           ：pt（14px→14pt）

//====================================================

//___WIN

	if( OS + BR  == "WinIE" ){

		//（固定14）行間×
		write(".textL { font-size:14px; line-height:15px; color:#666666; }" );

		//（14）行間あり
		write(".C2Msubt{ font-size:90%; line-height:120%; color:#157dc3; font-weight:bold; }");
		write(".textM_line { font-size:90%; line-height:120%; color:#666666; }" );
		write(".textM_blue { font-size:90%; line-height:120%; color:#3366CC; }" );

		//（14）行間×
		write(".textM_form { font-size:90%; line-height:100%; }" );

		//（12）行間あり
		write(".textS_line { font-size:80%; line-height:120%; color:#666666; }" );

	}
	
	else if( OS + BR  == "WinNS4" || OS + BR  == "WinNS6" || OS + BR  == "MacNS6" ){

		//（固定14）行間×
		write(".textL { font-size:14px; line-height:15px; color:#666666; }" );

		//（14）行間あり
		write(".C2Msubt{ font-size:11pt; line-height:120%; color:#157dc3; font-weight:bold; }");
		write(".textM_line { font-size:11pt; line-height:120%; color:#666666; }" );
		write(".textM_blue { font-size:11pt; line-height:120%; color:#3366CC; }" );

		//（14）行間×
		write(".textM_form { font-size:11pt; line-height:100%; }" );

		//（12）行間あり
		write(".textS_line { font-size:9pt; line-height:120%; color:#666666; }" );

	}

	else if( OS + BR  == "MacIE" ){

		//（固定14）行間×
		write(".textL { font-size:14px; line-height:14px; color:#666666; }" );

		//（14）行間あり
		write(".C2Msubt{ font-size:14px; line-height:16px; color:#157dc3; font-weight:bold; }");
		write(".textM_line { font-size:14px; line-height:16px; line-height:16px; color:#666666; }" );
		write(".textM_blue { font-size:14px; line-height:16px; color:#3366CC; }" );

		//（14）行間×
		write(".textM_form { font-size:14px; line-height:14px; }" );

		//（12）行間あり
		write(".textS_line { font-size:12px; line-height:14px; line-height:14px; color:#666666; }" );

	}

	else if( OS + BR  == "MacNS4" ){

		//（固定14）行間×
		write(".textL { font-size:14px; line-height:14px; color:#666666; }" );

		//（14）行間あり
		write(".C2Msubt{ font-size:14pt; line-height:120%; color:#157dc3; font-weight:bold; }");
		write(".textM_line { font-size:14pt; line-height:120%; color:#666666; }" );
		write(".textM_blue { font-size:14pt; line-height:120%; color:#3366CC; }" );

		//（14）行間×
		write(".textM_form { font-size:14pt; line-height:14pt; }" );

		//（12）行間あり
		write(".textS_line { font-size:12pt; line-height:120%; color:#666666; }" );

	}

	write("--></STYLE>") ;
}

//-->


