var agent = navigator.userAgent;
var appver = navigator.appVersion;
var navi = navigator.appName;
var fontpoint = 0;
var font = "";
if(navi.indexOf('Netscape') != -1){
// NetscapeNavigator
	if(appver.charAt(0) <= 3){
	}else if(appver.charAt(0) >= 5){
		if(agent.indexOf('Win') != -1){
			fontpoint = 10;
		}else if(agent.indexOf('Mac') != -1){
			fontpoint = 10;
		}
	}else if(agent.indexOf('Win') != -1){
		fontpoint = 10;
	}else if(agent.indexOf('Mac') != -1){
		fontpoint = 10;
	}else{
		fontpoint = 12;
	}
}else{
// MicrosoftInternetExplorer
	if(appver.charAt(0) <= 3){
	}else if(agent.indexOf('Mac') != -1){
		if(appver.indexOf('5.0') != -1){
			fontpoint = 9;
		}else{
			fontpoint = 11;
		}
	}else{
		fontpoint = 10;
	}
}
/*
	スタイルシートのパラメータを書き出す
*/
var fontstyle = "font-family: ＭＳ Ｐゴシック,Arial,Helvetica,Verdana, serif;";
var scroll = "scrollbar-face-color: #AA0000; scrollbar-highlight-color: #FFFFFF; scrollbar-3dlight-color: #CC0000; scrollbar-darkshadow-color: #550000; scrollbar-shadow-color: #800000; scrollbar-arrow-color: #FFFFFF; scrollbar-track-color: #CC0000;";

document.write('<STYLE type="text/css"><!--');
document.write('BODY		{BACKGROUND-COLOR: #ffffff; FONT-SIZE: ' + fontpoint + 'pt; color: #000000; ' + fontstyle + scroll + '}');


document.write('A:link		{COLOR: #0000BB; SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; ' + fontstyle + '}');
document.write('A:visited	{COLOR: #0000BB; SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; ' + fontstyle + '}');
document.write('A:active	{COLOR: #FF4500; SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; ' + fontstyle + '}');
document.write('A:hover		{COLOR: #8B0000; SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; ' + fontstyle + '}');
document.write('TABLE,TH,TD	{FONT-SIZE: ' + fontpoint + 'pt; color: #000000; ' + fontstyle + '}');
document.write('SELECT		{FONT-SIZE: ' + fontpoint + 'pt; color: #000000; ' + fontstyle + '}');
// フォントに対するスタイル
document.write('.bBL		{FONT-SIZE: ' + fontpoint + 'pt; color: #000080; font-weight: bold; ' + fontstyle + '}');
document.write('.bWH		{FONT-SIZE: ' + fontpoint + 'pt; color: #ffffff; font-weight: bold; ' + fontstyle + '}');
document.write('.bBK		{FONT-SIZE: ' + fontpoint + 'pt; color: #000000; font-weight: bold; ' + fontstyle + '}');
document.write('.bGR		{FONT-SIZE: ' + fontpoint + 'pt; color: #777777; font-weight: bold; ' + fontstyle + '}');
document.write('.bRD		{FONT-SIZE: ' + fontpoint + 'pt; color: #B22222; font-weight: bold; ' + fontstyle + '}');
document.write('.bDG		{FONT-SIZE: ' + fontpoint + 'pt; color: #444444; font-weight: bold; ' + fontstyle + '}');
document.write('.bGN		{FONT-SIZE: ' + fontpoint + 'pt; color: #008000; font-weight: bold; ' + fontstyle + '}');
document.write('.bYE		{FONT-SIZE: ' + fontpoint + 'pt; color: #FFD700; font-weight: bold; ' + fontstyle + '}');
document.write('.bOR		{FONT-SIZE: ' + fontpoint + 'pt; color: #FF8C00; font-weight: bold; ' + fontstyle + '}');
document.write('.bBR		{FONT-SIZE: ' + fontpoint + 'pt; color: #602503; font-weight: bold; ' + fontstyle + '}');
document.write('.bPK		{FONT-SIZE: ' + fontpoint + 'pt; color: #FF69B4; font-weight: bold; ' + fontstyle + '}');
document.write('.bDP		{FONT-SIZE: ' + fontpoint + 'pt; color: #FF1493; font-weight: bold; ' + fontstyle + '}');
document.write('.bGG		{FONT-SIZE: ' + fontpoint + 'pt; color: #005000; font-weight: bold; ' + fontstyle + '}');
document.write('.bSB		{FONT-SIZE: ' + fontpoint + 'pt; color: #6A5ACD; font-weight: bold; ' + fontstyle + '}');
document.write('.buBK		{FONT-SIZE: ' + fontpoint + 'pt; color: #000000; font-weight: bold; text-decoration:underline; ' + fontstyle + '}');
document.write('.buRD		{FONT-SIZE: ' + fontpoint + 'pt; color: #B22222; font-weight: bold; text-decoration:underline; ' + fontstyle + '}');
document.write('.WH			{FONT-SIZE: ' + fontpoint + 'pt; color: #ffffff; ' + fontstyle + '}');
document.write('.GR			{FONT-SIZE: ' + fontpoint + 'pt; color: #777777; ' + fontstyle + '}');
document.write('.DG			{FONT-SIZE: ' + fontpoint + 'pt; color: #444444; ' + fontstyle + '}');
document.write('.BL			{FONT-SIZE: ' + fontpoint + 'pt; color: #0000C0; ' + fontstyle + '}');
document.write('.RD			{FONT-SIZE: ' + fontpoint + 'pt; color: #B22222; ' + fontstyle + '}');
document.write('.YE			{FONT-SIZE: ' + fontpoint + 'pt; color: #FFD700; ' + fontstyle + '}');
document.write('.OR			{FONT-SIZE: ' + fontpoint + 'pt; color: #FF4500; ' + fontstyle + '}');
document.write('.BR			{FONT-SIZE: ' + fontpoint + 'pt; color: #602503; ' + fontstyle + '}');
document.write('.GN			{FONT-SIZE: ' + fontpoint + 'pt; color: #008000; ' + fontstyle + '}');
document.write('.GG			{FONT-SIZE: ' + fontpoint + 'pt; color: #005000; ' + fontstyle + '}');
document.write('.SB			{FONT-SIZE: ' + fontpoint + 'pt; color: #6A5ACD; ' + fontstyle + '}');
document.write('.PK			{FONT-SIZE: ' + fontpoint + 'pt; color: #FF69B4; ' + fontstyle + '}');
document.write('.DP			{FONT-SIZE: ' + fontpoint + 'pt; color: #FF1493; ' + fontstyle + '}');
document.write('.FO			{FONT-SIZE: ' + fontpoint + 'pt; color: #FFA500; ' + fontstyle + '}');
document.write('.LG			{FONT-SIZE: ' + fontpoint + 'pt; color: #00FF00; ' + fontstyle + '}');

document.write('.lWH		{FONT-SIZE: ' + (fontpoint + 2) + 'pt; color: #FFFFFF; ' + fontstyle + '}');
document.write('.lbWH		{FONT-SIZE: ' + (fontpoint + 2) + 'pt; color: #FFFFFF; font-weight: bold;' + fontstyle + '}');

document.write('.sWH		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #ffffff; ' + fontstyle + '}');
document.write('.sGR		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #777777; ' + fontstyle + '}');
document.write('.sDG		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #444444; ' + fontstyle + '}');
document.write('.sBL		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #0000C0; ' + fontstyle + '}');
document.write('.sRD		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #B22222; ' + fontstyle + '}');
document.write('.sYE		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #FFD700; ' + fontstyle + '}');
document.write('.sOR		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #FF4500; ' + fontstyle + '}');
document.write('.sBR		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #802503; ' + fontstyle + '}');
document.write('.sSB		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #8A5ACD; ' + fontstyle + '}');
document.write('.sBK		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #000000; ' + fontstyle + '}');
document.write('.sGN		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #228B22; ' + fontstyle + '}');
document.write('.sPK		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #FF69B4; ' + fontstyle + '}');
document.write('.sDP		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #FF1493; ' + fontstyle + '}');
document.write('.sGG		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #005000; ' + fontstyle + '}');
document.write('.sFO		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #FFA500; ' + fontstyle + '}');
document.write('.sLG		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #00FF00; ' + fontstyle + '}');
document.write('.sbBL		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #0000C0; font-weight: bold; ' + fontstyle + '}');
document.write('.sbRD		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #B22222; font-weight: bold; ' + fontstyle + '}');
document.write('.sbBK		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #000000; font-weight: bold; ' + fontstyle + '}');
// リンクアンカー文字に関するスタイル
document.write('A.sDEF:link		{COLOR: #0000BB; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sDEF:visited	{COLOR: #0000BB; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sDEF:active	{COLOR: #FF4500; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sDEF:hover	{COLOR: #8B0000; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: underline; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sWH:link		{COLOR: #FFFFFF; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sWH:visited	{COLOR: #DDDDDD; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sWH:active	{COLOR: #FFAAAA; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sWH:hover		{COLOR: #EEEEAA; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: underline; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.WH:link		{COLOR: #FFFFFF; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.WH:visited	{COLOR: #FFFFFF; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.WH:active		{COLOR: #FFAAAA; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.WH:hover		{COLOR: #FFCC00; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: underline; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sGR:link		{COLOR: #555555; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sGR:visited	{COLOR: #888888; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sGR:active	{COLOR: #000000; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.sGR:hover		{COLOR: #FF0000; FONT-SIZE: ' + (fontpoint - 2) + 'pt; TEXT-DECORATION: underline; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.GR:link		{COLOR: #555555; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + fontpoint + 'pt; ' + fontstyle + '}');
document.write('A.GR:visited	{COLOR: #888888; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + fontpoint + 'pt; ' + fontstyle + '}');
document.write('A.GR:active		{COLOR: #000000; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + fontpoint + 'pt; ' + fontstyle + '}');
document.write('A.GR:hover		{COLOR: #FF0000; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: underline; SIZE: ' + fontpoint + 'pt; ' + fontstyle + '}');
document.write('A.bDEF:link		{COLOR: #0000BB; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; font-weight: bold; ' + fontstyle + '}');
document.write('A.bDEF:visited	{COLOR: #0000BB; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; font-weight: bold; ' + fontstyle + '}');
document.write('A.bDEF:active	{COLOR: #FF4500; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; font-weight: bold; ' + fontstyle + '}');
document.write('A.bDEF:hover	{COLOR: #8B0000; FONT-SIZE: ' + fontpoint + 'pt; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; font-weight: bold; ' + fontstyle + '}');

document.write('A.lbWH:link		{COLOR: #FFFFFF; FONT-SIZE: ' + (fontpoint + 2) + 'pt; font-weight: bold; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.lbWH:visited	{COLOR: #FFFFFF; FONT-SIZE: ' + (fontpoint + 2) + 'pt; font-weight: bold; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.lbWH:active	{COLOR: #FFAAAA; FONT-SIZE: ' + (fontpoint + 2) + 'pt; font-weight: bold; TEXT-DECORATION: none; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');
document.write('A.lbWH:hover	{COLOR: #FFCC00; FONT-SIZE: ' + (fontpoint + 2) + 'pt; font-weight: bold; TEXT-DECORATION: underline; SIZE: ' + (fontpoint - 2) + 'pt; ' + fontstyle + '}');

document.write('.copyright		{FONT-SIZE: ' + (fontpoint - 2) + 'pt; color: #000000; font-family:Verdana,Arial,Helvetica;}');
document.write('.submenu { position:absolute ; top:70px ; left:0px ; z-index:2 ; visibility:hidden }')
document.write('.submenu2 { position:absolute ; top:105px ; left:0px ; z-index:2 ; visibility:hidden }')

document.write('--></STYLE>');

