var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
var bVer = navigator.userAgent;

document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1){
	if( bName == "M"){
		// MAC IE
		document.writeln(".j9{font-size:60%; line-height:150%}");
		document.writeln(".j10{font-Size:70%; line-height:135%}");
		document.writeln(".j12{font-Size:80%; line-height:130%}");
		document.writeln(".j14{font-Size:100%; line-height:125%}");
		document.writeln(".j18{font-Size:120%; line-height:120%}");
		document.writeln(".j26{font-Size:220%; line-height:120%}");

	}	
	else{
	 if (bVer.indexOf("Safari") > -1){
		// MAC Safari
		document.writeln(".j9{font-size:55%; line-height:150%}");
		document.writeln(".j10{font-Size:65%; line-height:135%}");
		document.writeln(".j12{font-Size:75%; line-height:130%}");
		document.writeln(".j14{font-Size:98%; line-height:125%}");
		document.writeln(".j18{font-Size:118%; line-height:120%}");
		document.writeln(".j26{font-Size:226%; line-height:120%}");
		}			
	else{
		if( vNum < 5 ){
			// MAC NETSCAPE 4.x
			document.writeln(".j9{font-size:80%; line-height:120%}");
			document.writeln(".j10{font-Size:90%; line-height:115%}"); 
			document.writeln(".j12{font-Size:100%; line-height:135%}");
			document.writeln(".j14{font-Size:120%; line-height:110%}");
			document.writeln(".j18{font-Size:150%; line-height:110%}");
			document.writeln(".j26{font-Size:230%; line-height:110%}");
		}		
		else{		
			if( bVer.indexOf("Netscape6", 0) > -1){
			// MAC NETSCAPE 6.x~
			document.writeln(".j9{font-size:70%; line-height:115%}");
			document.writeln(".j10{font-Size:70%; line-height:100%}");
			document.writeln(".j12{font-Size:90%; line-height:125%}");
			document.writeln(".j14{font-Size:100%; line-height:100%}");
			document.writeln(".j18{font-Size:130%; line-height:105%}");
			document.writeln(".j26{font-Size:210%; line-height:105%}");
		}		
		else{8
				// MAC NETSCAPE 7
				document.writeln(".j9{font-size:70%; line-height:115%}");
				document.writeln(".j10{font-Size:70%; line-height:100%}");
				document.writeln(".j12{font-Size:89%; line-height:126%}");
				document.writeln(".j14{font-Size:100%; line-height:100%}");
				document.writeln(".j18{font-Size:130%; line-height:105%}");
				document.writeln(".j26{font-Size:210%; line-height:105%}");
				}
			}	
		}
	}
}
else{
	if( bName == "M"){
		// WIN IE
		document.writeln(".j9{font-size:60%; line-height:150%}");
		document.writeln(".j10{font-Size:70%; line-height:130%}");
		document.writeln(".j12{font-Size:72%; line-height:140%; letter-spacing:1px}");
		document.writeln(".j14{font-Size:90%; line-height:140%; letter-spacing:1px}");
		document.writeln(".j18{font-Size:105%; line-height:120%}");
		document.writeln(".j26{font-Size:205%; line-height:120%}");
	}
	else{
		if( vNum < 5 ){
			// WIN NETSCAPE 4.x
			document.writeln(".j9{font-size:90%; line-height:130%}");
			document.writeln(".j10{font-size:90%; line-height:140%}");
			document.writeln(".j12{font-Size:110%; line-height:140%}");
			document.writeln(".j14{font-Size:140%; line-height:120%}");
			document.writeln(".j18{font-Size:150%; line-height:160%}");
			document.writeln(".j26{font-Size:230%; line-height:160%}");
		}
		else{
			// WIN NETSCAPE 6.x~
			document.writeln(".j9{font-size:60%; line-height:150%}");
			document.writeln(".j10{font-Size:70%; line-height:140%}");
			document.writeln(".j12{font-Size:78%; line-height:130%; letter-spacing:1px}");
			document.writeln(".j14{font-Size:90%; line-height:145%; letter-spacing:1px}");
			document.writeln(".j18{font-Size:105%; line-height:115%}");
			document.writeln(".j26{font-Size:205%; line-height:115%}");
		}
	}
}
document.writeln("--></STYLE>");