var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);


// IE,NN, Ver.3ȉr 
if ( bName == "M" && vNum < 4) {
	
}

if ( bName == "N" && vNum < 4) {
	
}


document.writeln("<style type='text/css'><!--");

if (navigator.appVersion.indexOf("Mac") > -1) {
	switch (bName) {
	case "M":
		// MAC IE
		document.writeln(".small{font-size: x-small; line-height: 150%}");
		document.writeln(".medium{font-size: small; line-height: 150%}");
		document.writeln(".base10px{  font-size: 10px; line-height: 150%}");
		document.writeln(".base12px{  font-size: 13px; line-height: 150%}");
		document.writeln(".base16px{  font-size: 16px; line-height: 150%}");
	;break;
	case "N":
		if( vNum < 5 ) {
			// MAC NETSCAPE 4.x
		document.writeln(".small{font-size: small; line-height: 170%}");
		document.writeln(".medium{font-size: medium; line-height: 170%}");
		document.writeln(".base10px{  font-size: 10px; line-height: 170%}");
		document.writeln(".base12px{  font-size: 12px; line-height: 170%}");
		document.writeln(".base16px{  font-size: 16px; line-height: 170%}");
		}
		else {
			// MAC NETSCAPE 6.x~
		document.writeln(".small{font-size: x-small; line-height: 150%}");
		document.writeln(".medium{font-size: small; line-height: 150%}");
		document.writeln(".base10px{  font-size: 10px; line-height: 150%}");
		document.writeln(".base12px{  font-size: 12px; line-height: 150%}");
		document.writeln(".base16px{  font-size: 16px; line-height: 150%}");
		}
	;break;
	case "S":
		// Mac Safari
		document.writeln(".small{font-size: x-small; line-height: 150%}");
		document.writeln(".medium{font-size: small; line-height: 150%}");
		document.writeln(".base10px{  font-size: 10px; line-height: 150%}");
		document.writeln(".base12px{  font-size: 13px; line-height: 150%}");
		document.writeln(".base16px{  font-size: 16px; line-height: 150%}");
	;break;
	}
}
else {
	switch (bName) {
	case "M":
		// WIN IE
		document.writeln(".small{font-size: xx-small; line-height: 150%}");
		document.writeln(".medium{font-size: x-small; line-height: 150%}");
		document.writeln(".base10px{  font-size: 10px; line-height: 150%}");
		document.writeln(".base12px{  font-size: 13px; line-height: 150%}");
		document.writeln(".base16px{  font-size: 16px; line-height: 150%}");
	;break;
	case "N":
		if( vNum < 5 ) {
			// WIN NETSCAPE 4.x
		document.writeln(".small{font-size: x-small; line-height: 170%}");
		document.writeln(".medium{font-size: small; line-height: 170%}");
		document.writeln(".base10px{  font-size: 10px; line-height: 170%}");
		document.writeln(".base12px{  font-size: 13px; line-height: 170%}");
		document.writeln(".base16px{  font-size: 16px; line-height: 170%}");
		}
		else {
			// WIN NETSCAPE 6.x~
		document.writeln(".small{font-size: xx-small; line-height: 150%}");
		document.writeln(".medium{font-size: x-small; line-height: 150%}");
		document.writeln(".base10px{  font-size: 10px; line-height: 150%}");
		document.writeln(".base12px{  font-size: 13px; line-height: 150%}");
		document.writeln(".base16px{  font-size: 16px; line-height: 150%}");
		}
	;break;
	}
}



document.writeln("--></STYLE>");
