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%; padding-right:16px;color:#ffffff;text-align:right; }");		
		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:-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:-1px;}");
			
		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:-1px;}");
		document.writeln("td.j18 table td{font-Size:105%; line-height:140%}");
	}
	
	else	 if (myAgent.match(/MSIE (6\.\d+)/))
	{// IE 6
		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%;	color:#ffffff;text-align:right; padding-right:16px;}");
		document.writeln(".j12-0{font-Size:80%; line-height:120% ; letter-spacing:-1px;}");
		document.writeln(".j12{font-Size:80%; line-height:150% ; letter-spacing:0px;}");
		document.writeln(".j14{font-Size:88%; line-height:120%; letter-spacing:-1px;}");
		document.writeln(".j16{font-Size:88%; line-height:120%; letter-spacing:2px;}");
		document.writeln(".j18{font-Size:100%; line-height:120%; letter-spacing:2px;}");
	}
	
		
	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%; padding-right:16px;color:#ffffff;text-align:right; }");		
		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:140%; letter-spacing:-1px;}");
		document.writeln(".j18{font-Size:100%; line-height:140%; letter-spacing:-1px;}");
	}	

	else if (myAgent.match(/(Firefox)\/([\.\d]+)/))
	{// FireFox
 	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%;	color:#ffffff; padding-right:16px;}");
		document.writeln(".j12-0{font-Size:80%; line-height:120% ; letter-spacing:-1px;}");
		document.writeln(".j12{font-Size:80%; line-height:140% ; letter-spacing:0px;}");
		document.writeln(".j14{font-Size:88%; line-height:120%; letter-spacing:-1px;}");
		document.writeln(".j16{font-Size:88%; line-height:120%; letter-spacing:2px;}");
		document.writeln(".j18{font-Size:100%; line-height:120%; letter-spacing:2px;}");
	}	

	else
	{// その他
		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%;	color:#ffffff; padding-right:16px;}");
		document.writeln(".j12{font-Size:80%; line-height:150% ; letter-spacing:0px;}");
		document.writeln(".j14{font-Size:88%; line-height:120%; letter-spacing:-1px;}");
		document.writeln(".j16{font-Size:88%; line-height:120%; letter-spacing:2px;}");
		document.writeln(".j18{font-Size:100%; line-height:120%; letter-spacing:2px;}");
	}
	
}

else if(myAgent.match(/Macintosh/))
{// OSがMacの場合

if (myAgent.match(/(Firefox)\/([\.\d]+)/))
	{// FireFox
 	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%;	color:#ffffff; padding-right:16px;}");
		document.writeln(".j12-0{font-Size:80%; line-height:120% ; letter-spacing:-1px;}");
		document.writeln(".j12{font-Size:80%; line-height:140% ; letter-spacing:0px;}");
		document.writeln(".j14{font-Size:88%; line-height:120%; letter-spacing:-1px;}");
		document.writeln(".j16{font-Size:88%; line-height:120%; letter-spacing:2px;}");
		document.writeln(".j18{font-Size:100%; line-height:120%; letter-spacing:2px;}");
	}
		
	else 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%;	color:#ffffff; padding-right:16px;}");
		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:-2px;}");	
		document.writeln(".j18{font-Size:100%; line-height:140%; letter-spacing:-2px;}");	
	}
		
	else
	{// その他
		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%;	color:#ffffff; padding-right:16px;}");
		document.writeln(".j12{font-Size:80%; line-height:150% ; letter-spacing:0px;}");
		document.writeln(".j14{font-Size:88%; line-height:120%; letter-spacing:-1px;}");
		document.writeln(".j16{font-Size:88%; line-height:120%; letter-spacing:2px;}");
		document.writeln(".j18{font-Size:100%; line-height:120%; letter-spacing:2px;}");
	}

}

document.writeln("--></style>");
