var Appversion = navigator.appVersion.charAt(0);
var Appname = navigator.appName.charAt(0);


with( document ){
	write("<STYLE TYPE='text/css'><!--");
	//WIN,MAC,IE,NN,全て共通のCSSはこんな感じでここにおけます。(振り分けなくていいもの。linkの指定とかbackgroundの指定とか、いろいろ。)
	//write(".ppbg{background-image:url( 'img/n01_ppbg01.gif'); background-repeat:repeat;}");
	write(".ppbg{background-image:url( 'img/n01_ppbg01.gif');}");
	write(".nml a:link, .nml a:visited	{color:#FFFFFF; text-decoration:underline}");
	write(".nml a:hover, .nml a:active	{color:#FFFFFF; text-decoration:underline}");
	write(".nml666633 a:link, .nml666633 a:visited	{color:#666633; text-decoration:underline}");
	write(".nml666633 a:hover, .nml666633 a:active	{color:#ff0000; text-decoration:underline}");
	write(".nml404040 a:link, .nml404040 a:visited	{color:#666633; text-decoration:underline}");
	write(".nml404040 a:hover, .nml404040 a:active	{color:#ff0000; text-decoration:underline}");
	write(".nml404040bold a:link, .nml404040bold a:visited	{color:#666633; text-decoration:underline}");
	write(".nml404040bold a:hover, .nml404040bold a:active	{color:#ff0000; text-decoration:underline}");
	write(".sml a:link, .sml a:visited	{color:#ff9900; text-decoration:underline}");
	write(".sml a:hover, .sml a:active	{color:#ff9900; text-decoration:underline}");
	write(".sml666633 a:link, .sml666633 a:visited	{color:#666633; text-decoration:underline}");
	write(".sml666633 a:hover, .sml666633 a:active	{color:#ff0000; text-decoration:underline}");
	write(".sml404040 a:link, .sml404040 a:visited	{color:#666633; text-decoration:underline}");
	write(".sml404040 a:hover, .sml404040 a:active	{color:#ff0000; text-decoration:underline}");
	write(".vol a:link, .vol a:visited	{color:#ffffff; text-decoration:underline}");
	write(".vol a:hover, .vol a:active	{color:#ff0000; text-decoration:underline}");
	//font sizeの振り分け
	if(navigator.appVersion.indexOf("Mac") > -1){
		if( Appname == "M" ){
			// ■ MAC IE
			write(".nml	{font-size:12px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
			write(".nml666633	{font-size:12px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
			write(".nml404040	{font-size:12px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
			write(".nml404040bold	{font-size:12px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
			write(".sml	{font-size:10px; color:#666666; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
			write(".sml666633	{font-size:10px; color:#666633; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			write(".sml404040	{font-size:10px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			write(".gly	{font-size:15px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 20px; text-decoration:none}");
			write(".vol	{font-size:10px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			write(".itvlead	{font-size:12px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
			write(".itv999999	{font-size:10px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
		}
		else{
			if( Appversion < 5 ){
				// ■ MAC NN 4.x
				write(".nml	{font-size:12px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml666633	{font-size:12px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040	{font-size:12px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040bold	{font-size:12px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
				write(".sml	{font-size:10px; color:#666666; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
				write(".sml666633	{font-size:10px; color:#666633; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".sml404040	{font-size:10px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".gly	{font-size:15px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 20px; text-decoration:none}");
				write(".vol	{font-size:10px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".itvlead	{font-size:12px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".itv999999	{font-size:10px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			}
			else if( Appversion < 7 ){
				// ■ MAC NN 6.x
				write(".nml	{font-size:12px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml666633	{font-size:12px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040	{font-size:12px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040bold	{font-size:12px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
				write(".sml	{font-size:10px; color:#666666; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
				write(".sml666633	{font-size:10px; color:#666633; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".sml404040	{font-size:10px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".gly	{font-size:15px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 20px; text-decoration:none}");
				write(".vol	{font-size:10px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".itvlead	{font-size:12px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".itv999999	{font-size:10px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			}
			else{
				// ■ MAC NN 7.x
				write(".nml	{font-size:12px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml666633	{font-size:12px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040	{font-size:12px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040bold	{font-size:12px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
				write(".sml	{font-size:10px; color:#666666; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
				write(".sml666633	{font-size:10px; color:#666633; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".sml404040	{font-size:10px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".gly	{font-size:15px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 20px; text-decoration:none}");
				write(".vol	{font-size:10px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".itvlead	{font-size:12px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".itv999999	{font-size:10px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			}
		}
	}
	else{
		if( Appname == "M" ){
			// ■ WIN IE
				write(".nml	{font-size:12px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml666633	{font-size:12px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040	{font-size:12px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040bold	{font-size:12px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
				write(".sml	{font-size:10px; color:#666666; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
				write(".sml666633	{font-size:10px; color:#666633; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".sml404040	{font-size:10px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".gly	{font-size:15px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 20px; text-decoration:none}");
				write(".vol	{font-size:10px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".itvlead	{font-size:12px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".itv999999	{font-size:10px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
		}
		else{
			if( Appversion < 5 ){
				// ■ WIN NN 4.x
				write(".nml	{font-size:14px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml666633	{font-size:14px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040	{font-size:14px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040bold	{font-size:14px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
				write(".sml	{font-size:11px; color:#666666; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".sml666633	{font-size:11px; color:#666633; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
				write(".sml404040	{font-size:11px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".gly	{font-size:11px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".vol	{font-size:11px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".itvlead	{font-size:14px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".itv999999	{font-size:11px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			}
			else if( Appversion < 7 ){
				// ■ WIN NN 6.x
				write(".nml	{font-size:12px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml666633	{font-size:12px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040	{font-size:12px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040bold	{font-size:12px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
				write(".sml	{font-size:10px; color:#666666; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
				write(".sml666633	{font-size:10px; color:#666633; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".sml404040	{font-size:10px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".gly	{font-size:15px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 20px; text-decoration:none}");
				write(".vol	{font-size:10px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".itvlead	{font-size:12px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".itv999999	{font-size:10px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			}
			else{
				// ■ WIN NN 7.x
				write(".nml	{font-size:12px; color:#FFFFFF; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml666633	{font-size:12px; color:#666633; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040	{font-size:12px; color:#404040; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".nml404040bold	{font-size:12px; color:#404040; font-style:normal; font-weight:bold; line-height: 16px; text-decoration:none}");
				write(".sml	{font-size:10px; color:#666666; font-style:normal; font-weight:normal; line-height: 18px; text-decoration:none}");
				write(".sml666633	{font-size:10px; color:#666633; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".sml404040	{font-size:10px; color:#404040; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".gly	{font-size:15px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 20px; text-decoration:none}");
				write(".vol	{font-size:10px; color:#ffffff; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
				write(".itvlead	{font-size:12px; color:#9f7800; font-style:normal; font-weight:normal; line-height: 16px; text-decoration:none}");
				write(".itv999999	{font-size:10px; color:#999999; font-style:normal; font-weight:normal; line-height: 14px; text-decoration:none}");
			}
		}
	}
	 write("--></STYLE>");
}
