myAgent = navigator.userAgent;

document.writeln("<style type='text/css'><!--");

if(myAgent.match(/Windows/))
	{// OSがWindowsの場合
	
	if (myAgent.match(/MSIE (5\.\d+)/))
	{// IE 5.5以下
			document.writeln(".j10{font-Size:63%; line-height:120%; letter-spacing:0px;}");
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120% ;	}");
			document.writeln(".j12{font-Size:80%; line-height:140%}");
			document.writeln(".j12-0{font-Size:80%; line-height:140%; letter-spacing:-1px;}");
			document.writeln(".j14{font-Size:88%; line-height:120%; letter-spacing:0px;}");
			document.writeln(".j16{font-Size:100%; line-height:120%; letter-spacing:-1px;}");
			document.writeln(".j18{font-Size:115%; line-height:140%; letter-spacing:-1px;}");
			
			document.writeln("table.j10 table td{font-Size:63%; line-height:120%; letter-spacing:0px;}");
			document.writeln("table.j12 table td{font-Size:80%; line-height:140%}");
			document.writeln("table.j12-0 table td{font-Size:80%; line-height:140%; letter-spacing:-1px;}");
			document.writeln("table.j14 table td{font-Size:88%; line-height:120%; letter-spacing:0px;}");
			
			document.writeln("td.j10 table td{font-Size:63%; line-height:120%; letter-spacing:0px;}");
			document.writeln("td.j12 table td{font-Size:80%; line-height:140%}");
			document.writeln("td.j12-0 table td{font-Size:80%; line-height:140%; letter-spacing:-1px;}");
			document.writeln("td.j14 table td{font-Size:88%; line-height:120%; letter-spacing:0px;}");
	}
	
	else	 if (myAgent.match(/MSIE (6\.\d+)/))
	{// IE 6
			document.writeln(".j10{font-Size:63%; line-height:120% ; letter-spacing:0px; }");
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120%;	}");
			document.writeln(".j12-0{font-Size:80%; line-height:107% ; letter-spacing:-1px;}");
			document.writeln(".j12{font-Size:80%; line-height:150% ; letter-spacing:0px;}");
			document.writeln(".j14{font-Size:88%; line-height:150%; letter-spacing:0px;}");
			document.writeln(".j16{font-Size:100%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j18{font-Size:115%; line-height:140%; letter-spacing:0px;}");
			
			document.writeln(".j14 .j10{font-Size:69%; line-height:120%; letter-spacing:0px;}");
			document.writeln(".j14 .j12{font-Size:89%; line-height:150%; letter-spacing:0px;}");
			document.writeln(".j14 .j16{font-Size:114%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j18{font-Size:130%; line-height:140%; letter-spacing:0px;}");
	}
	
	else	 if (myAgent.match(/MSIE (7\.\d+)/))
	{// IE 7
			document.writeln(".j10{font-Size:63%; line-height:130% ; letter-spacing:0px;}");
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120%;	}");
			document.writeln(".j12-0{font-Size:80%; line-height:107% ; letter-spacing:-1px;}");
			document.writeln(".j12{font-Size:80%; line-height:150% ; letter-spacing:0px;}");
			document.writeln(".j14{font-Size:88%; line-height:150%;}");
			document.writeln(".j16{font-Size:100%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j18{font-Size:115%; line-height:140%; letter-spacing:-1px;}");

			document.writeln(".j14 .j10{font-Size:69%; line-height:135%;}");
			document.writeln(".j14 .j12{font-Size:89%; line-height:150%;}");
			document.writeln(".j14 .j16{font-Size:114%; line-height:140%;}");
			document.writeln(".j14 .j18{font-Size:130%; line-height:140%;}");
	}
	
	else if (myAgent.match(/Netscape6?\/([\.\d]+)/) || myAgent.match(/Mozilla\/(4\.[5678]\d?)/))
	{// Netscape
			document.writeln(".j10{font-Size:70%; line-height:120%; letter-spacing:-1px;}");
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120%; }");		
			document.writeln(".j12-0{font-Size:80%; line-height:140%; letter-spacing:-1px;}");
			document.writeln(".j12{font-Size:80%; line-height:140%; letter-spacing:px;}");
			document.writeln(".j14{font-Size:88%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j16{font-Size:100%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j18{font-Size:100%; line-height:140%; letter-spacing:-1px;}");
			document.writeln(".j18{font-Size:115%; line-height:140%; letter-spacing:1.5px;}");
			
			document.writeln(".j14 .j10{font-Size:69%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j12{font-Size:90%; line-height:145%; letter-spacing:0px;}");
			document.writeln(".j14 .j16{font-Size:114%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j18{font-Size:132%; line-height:140%; letter-spacing:1px;}");
	}	

	else if (myAgent.match(/(Firefox)\/([\.\d]+)/))
	{// FireFox
			document.writeln(".j10{font-Size:70%; line-height:120%; letter-spacing:-1px;}");
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120%; }");		
			document.writeln(".j12-0{font-Size:80%; line-height:140%; letter-spacing:-1px;}");
			document.writeln(".j12{font-Size:80%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14{font-Size:88%; line-height:150%; letter-spacing:0px;}");
			document.writeln(".j16{font-Size:100%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j18{font-Size:115%; line-height:140%; letter-spacing:1px;}");
			
			document.writeln(".j14 .j10{font-Size:69%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j12{font-Size:90%; line-height:145%; letter-spacing:0px;}");
			document.writeln(".j14 .j16{font-Size:114%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j18{font-Size:130%; line-height:140%; letter-spacing:1px;}");
	}	

	else
	{// その他
			document.writeln(".j10{font-Size:70%; line-height:120%; letter-spacing:-1px;}");
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120%; }");		
			document.writeln(".j12-0{font-Size:80%; line-height:140%; letter-spacing:-1px;}");
			document.writeln(".j12{font-Size:80%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14{font-Size:88%; line-height:150%; letter-spacing:0px;}");
			document.writeln(".j16{font-Size:100%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j18{font-Size:115%; line-height:140%; letter-spacing:1px;}");
			
			document.writeln(".j14 .j10{font-Size:75%; line-height:130%; letter-spacing:1px;}");
			document.writeln(".j14 .j12{font-Size:90%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j16{font-Size:121%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j18{font-Size:130%; line-height:140%; letter-spacing:1px;}");
	}
	
}

else if(myAgent.match(/Macintosh/))
{// OSがMacの場合

if (myAgent.match(/Safari\/([\.\d]+)/))
	{// Safari
			document.writeln(".j10{font-Size:63%; line-height:120%; letter-spacing:-1px;}"); 
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120%;	}"); 
			document.writeln(".j12-0{font-Size:74%; line-height:130%; letter-spacing:-2px;}");
			document.writeln(".j12{font-Size:74%; line-height:130%; letter-spacing:0px;}");
			document.writeln(".j14{font-Size:88%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j16{font-Size:100%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j18{font-Size:110%; line-height:140%; letter-spacing:0px;}");
			
			document.writeln(".j14 .j10{font-Size:69%; line-height:120%; letter-spacing:-1px;}");
			document.writeln(".j14 .j12{font-Size:85%; line-height:136%; letter-spacing:0px;}");
			document.writeln(".j14 .j16{font-Size:114%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j18{font-Size:130%; line-height:140%; letter-spacing:0px;}");
	}
		
else
	{// その他
			document.writeln(".j10{font-Size:63%; line-height:120%; letter-spacing:-1px;}"); 
			document.writeln(".text_footer{font-family:Osaka, Helvetica;font-Size:63%; line-height:120%;	}"); 
			document.writeln(".j12-0{font-Size:74%; line-height:130%; letter-spacing:-2px;}");
			document.writeln(".j12{font-Size:74%; line-height:130%; letter-spacing:0px;}");
			document.writeln(".j14{font-Size:88%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j16{font-Size:100%; line-height:140%; letter-spacing:-2px;}");
			document.writeln(".j18{font-Size:110%; line-height:140%; letter-spacing:0px;}");
			
			document.writeln(".j14 .j10{font-Size:69%; line-height:120%; letter-spacing:-1px;}");
			document.writeln(".j14 .j12{font-Size:85%; line-height:136%; letter-spacing:0px;}");
			document.writeln(".j14 .j16{font-Size:114%; line-height:140%; letter-spacing:0px;}");
			document.writeln(".j14 .j18{font-Size:130%; line-height:140%; letter-spacing:0px;}");
	}

}

document.writeln("--></style>");

