// setting for Browser Collection Font Style

var bVersion = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);

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

if(navigator.appVersion.indexOf("Mac") > -1){
	if( bName == "M"){
		// Macintosh Internet Explorer >>
		document.write("body,p,div,dd,dt,dl,ul,ol,td,input,select,textarea,tr,td { font-size:12px; }");
		document.write(".styleS { font-size:10px; line-height:16px; }");
		document.write(".styleMh16 { line-height:16px; }");
		document.write(".styleMh18 { line-height:18px; }");
		document.write(".styleMh24 { font-size:24px; line-height:24px; }");
		document.write(".styleMh32 { font-size:32px; line-height:32px; }");
		document.write(".styleL { font-size:14px; line-height:20px; }");
		document.write(".text1n { font-size:10px; line-height:18px; }");
		document.write(".text2n { font-size:12px; line-height:20px; }"); 
		document.write(".text3n { font-size:14px; line-height:22px; }");
	}else{
		if( bVersion < 5 ){
			// Macintosh Netscape Communicator 4.x
			document.write("body,p,div,dd,dt,dl,ul,ol,td,input,select,textarea,tr,td { font-size:12px; }");
			document.write(".styleS { font-size: 10px; line-height: 16px; }");
			document.write(".styleMh16 { line-height:16px; }");
			document.write(".styleMh18 { line-height:18px; }");
			document.write(".styleMh24 { font-size:24px; line-height:24px; }");
			document.write(".styleMh32 { font-size:32px; line-height:32px; }");
			document.write(".styleL { font-size: 14px; line-height: 20px; }");
			document.write(".text1n { font-size: 10px; line-height: 18px; }");
			document.write(".text2n { font-size: 12px; line-height: 20px; }"); 
			document.write(".text3n { font-size: 14px; line-height: 22px; }");
		}else{
			// Macintosh Netscape 6.x >>
			document.write("body,p,div,dd,dt,dl,ul,ol,td,input,select,textarea,tr,td { font-size:12px; }");
			document.write(".styleS { font-size: 10px; line-height: 16px; }");
			document.write(".styleMh16 { line-height:16px; }");
			document.write(".styleMh18 { line-height:18px; }");
			document.write(".styleMh24 { font-size:24px; line-height:24px; }");
			document.write(".styleMh32 { font-size:32px; line-height:32px; }");
			document.write(".styleL { font-size: 14px; line-height: 20px; }");
			document.write(".text1n { font-size: 10px; line-height: 18px; }");
			document.write(".text2n { font-size: 12px; line-height: 20px; }"); 
			document.write(".text3n { font-size: 14px; line-height: 22px; }");
		}
	}
}else{
	if( bName == "M"){
		// Windows Internet Explorer >>
		document.write("body,p,div,dd,dt,dl,ul,ol,td,input,select,textarea,tr,td { font-size:12px;  letter-spacing:1px; }");
		document.write(".styleS { font-size: 10px; line-height: 16px; letter-spacing:1px; }");
		document.write(".styleMh16 { line-height: 16px; letter-spacing:1px; }");
		document.write(".styleMh18 { line-height: 18px; letter-spacing:1px; }");
		document.write(".styleMh24 { font-size:24px; line-height:24px; }");
		document.write(".styleMh32 { font-size:32px; line-height:32px; }");
		document.write(".styleL { font-size: 14px; line-height: 19px; letter-spacing:1px; }");
		document.write(".text1n { font-size: 10px; line-height: 18px; letter-spacing:1px; }");
		document.write(".text2n { font-size: 12px; line-height: 20px; letter-spacing:1px; }"); 
		document.write(".text3n { font-size: 14px; line-height: 22px; letter-spacing:1px; }");
	}else{
		if( bVersion < 5 ){
			// Windows Netscape 4.x
			document.write("body,p,div,dd,dt,dl,ul,ol,td,input,select,textarea,tr,td { font-size:13px; }");
			document.write(".styleS { font-size:11px; line-height:16px; }");
			document.write(".styleMh16 { line-height:16px; }");
			document.write(".styleMh18 { line-height:18px; }");
			document.write(".styleMh24 { font-size:24px; line-height:24px; }");
			document.write(".styleMh32 { font-size:32px; line-height:32px; }");
			document.write(".styleL { font-size:14px; line-height:20px; }");
			document.write(".text1n { font-size:11px; line-height:18px; }");
			document.write(".text2n { font-size:13px; line-height:20px; }"); 
			document.write(".text3n { font-size:15px; line-height:22px; }");
		}else{
			// Windows Netscape 6.x >>
			document.write("body,p,div,dd,dt,dl,ul,ol,td,input,select,textarea,tr,td { font-size:13px;  letter-spacing:1px; }");
			document.write(".styleS { font-size: 11px; line-height: 16px; letter-spacing:1px; }");
			document.write(".styleMh16 { line-height: 16px; letter-spacing:1px; }");
			document.write(".styleMh18 { line-height: 18px; letter-spacing:1px; }");
			document.write(".styleMh24 { font-size:24px; line-height:24px; }");
			document.write(".styleMh32 { font-size:32px; line-height:32px; }");
			document.write(".styleL { font-size: 14px; line-height: 20px; letter-spacing:1px; }");
			document.write(".text1n { font-size: 11px; line-height: 18px; letter-spacing:1px; }");
			document.write(".text2n { font-size: 13px; line-height: 20px; letter-spacing:1px; }"); 
			document.write(".text3n { font-size: 15px; line-height: 22px; letter-spacing:1px; }");
		}
	}
}

//Setting for Link Collar Style
document.writeln("a:link { color:#336699; }");
document.writeln("a:visited { color:#336699; }");
document.writeln("a:hover { color:#ff6600; }");
document.writeln("td.glayred{ background-color: #f1e3e3; }");
document.writeln("td.glayblue{ background-color: #e0e5ef; }");

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