function getBrowserName() {
	var BrowserName = navigator.userAgent;
	if (BrowserName.indexOf("Safari") > -1) {
		return "Safari";
	} else if (BrowserName.indexOf("Opera") > -1) {
		return "Opera";
	} else if (BrowserName.indexOf("Firefox") > -1) {
		return "Firefox";
	} else if (BrowserName.indexOf("Gecko") > -1) {
		return "Netscape / Mozilla";
	} else if (BrowserName.indexOf("MSIE") > -1) {
		return "Internet Explorer";
	} else if (BrowserName.indexOf("Mozilla") > -1) {
		return "Netscape";
	} else {
		return "unknown";
	}
}

var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
if ( bName == "M" && vNum < 4)
	location.href="getnewbrowser.html";
if ( bName == "N" && vNum < 4)
	location.href="getnewbrowser.html";

document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
	if( bName == "M")
	 {
		// MAC IE
		document.writeln(".E9{font-Size:9px}");
		document.writeln(".E10{font-size:10px}");
		document.writeln(".E12{font-size:12px}");
		document.writeln(".T9{font-size:9px}");
		document.writeln(".T10{font-Size:10px; line-height:140%}");
		document.writeln(".T12{font-Size:12px; line-height:180%}");
		document.writeln(".T14{font-Size:14px; line-height:180%}");
		document.writeln(".B12{font-Size:12px; line-height:180%}");
		document.writeln(".strong{line-height:180%}");
		document.writeln(".h1{font-Size:14px; line-height:180%}");
		document.writeln(".sbn{font-Size:10px; line-height:120%}");
	}
	else
	{
		//MAC Firefox
		if(getBrowserName()=="Firefox"){
			document.writeln(".E9{font-Size:9px}");
			document.writeln(".E10{font-size:10px}");
			document.writeln(".E12{font-size:12px}");
			document.writeln(".T9{font-size:9px; line-height:120%}");
			document.writeln(".T10{font-Size:10px; line-height:140%}");
			document.writeln(".T12{font-Size:12px; line-height:180%}");
			document.writeln(".T14{font-Size:14px; line-height:180%}");
			document.writeln(".B12{font-Size:12px; line-height:180%}");
			document.writeln(".strong{line-height:180%}");
			document.writeln(".h1{font-Size:14px; line-height:180%}");
			document.writeln(".sbn{font-Size:10px; line-height:120%}");

		}else{

			if( vNum < 5 )
			{
				// MAC NETSCAPE 4.x
				document.writeln(".E9{font-Size:9px; line-height:120%}");
				document.writeln(".E10{font-size:10px; line-height:120%}");
				document.writeln(".E12{font-size:12px; line-height:180%}");
				document.writeln(".T9{font-size:9px; line-height:120%}");
				document.writeln(".T10{font-Size:10px; line-height:120%}");
				document.writeln(".T12{font-Size:12px; line-height:180%}");
				document.writeln(".T14{font-Size:14px; line-height:180%}");
				document.writeln(".B12{font-Size:12px; line-height:180%}");
				document.writeln(".strong{line-height:180%}");
				document.writeln(".h1{font-Size:14px; line-height:180%}");
				document.writeln(".sbn{font-Size:10px; line-height:120%}");
		 	}
		 	else
		 	{
				// MAC NETSCAPE 6.x~
				document.writeln(".E9{font-Size:9px}");
				document.writeln(".E10{font-size:10px}");
				document.writeln(".E12{font-size:12px}");
				document.writeln(".T9{font-size:9px; line-height:120%}");
				document.writeln(".T10{font-Size:10px; line-height:140%}");
				document.writeln(".T12{font-Size:12px; line-height:180%}");
				document.writeln(".T14{font-Size:14px; line-height:180%}");
				document.writeln(".B12{font-Size:12px; line-height:180%}");
				document.writeln(".strong{line-height:180%}");
				document.writeln(".h1{font-Size:14px; line-height:180%}");
				document.writeln(".sbn{font-Size:10px; line-height:120%}");
		 	}
		}
	 }

}
else
{
	if( bName == "M")
	{
		// WIN IE
		document.writeln(".E9{font-Size:9px; line-height:10px}");
		document.writeln(".E10{font-size:10px; line-height:110%}");
		document.writeln(".E12{font-size:12px; line-height:140%}");
		document.writeln(".T9{font-size:10px; line-height:130%}");
		document.writeln(".T10{font-Size:11px; line-height:120%}");
		document.writeln(".T12{font-Size:12px; line-height:160%}");
		document.writeln(".T14{font-Size:14px; line-height:180%}");
		document.writeln(".B12{font-Size:12px; line-height:180%}");
		document.writeln(".strong{line-height:180%}");
		document.writeln(".h1{font-Size:14px; line-height:180%}");
		document.writeln(".sbn{font-Size:10px; line-height:120%}");
	}
	else
	{
		//WIN Firefox
		if(getBrowserName()=="Firefox"){
			document.writeln(".E9{font-Size:9px; line-height:120%; letter-spacing:0px}");
			document.writeln(".E10{font-size:10px; line-height:120%; letter-spacing:1px}");
			document.writeln(".E12{font-size:12px; line-height:180%; letter-spacing:1px}");
			document.writeln(".T9{font-size:10px; line-height:120%; letter-spacing:0px}");
			document.writeln(".T10{font-Size:11px; line-height:120%; letter-spacing:1px}");
			document.writeln(".T12{font-Size:12px; line-height:180%; letter-spacing:0px}");
			document.writeln(".T14{font-Size:14px; line-height:180%; letter-spacing:1px}");
			document.writeln(".B12{font-Size:12px; line-height:180%; letter-spacing:1px}");
			document.writeln(".strong{line-height:180%}");
			document.writeln(".h1{font-Size:14px; line-height:180%}");
			document.writeln(".sbn{font-Size:10px; line-height:120%; letter-spacing:1px}");

		}else{
	
			if( vNum < 5 )
			{
				// WIN NETSCAPE 4.x
				document.writeln(".E9{font-Size:11px; letter-spacing:1px}");
				document.writeln(".E10{font-size:12px; line-height:11px}");
				document.writeln(".E12{font-size:14px; line-height:14px}");
				document.writeln(".T9{font-size:11px; line-height:12px}");
				document.writeln(".T10{font-Size:11px; line-height:14px}");
				document.writeln(".T12{font-Size:12px; line-height:17px}");
				document.writeln(".T14{font-Size:15px; line-height:18px}");
				document.writeln(".B12{font-Size:12px; line-height:180%}");
				document.writeln(".strong{line-height:180%}");
				document.writeln(".h1{font-Size:14px; line-height:180%}");
				document.writeln(".sbn{font-Size:10px; line-height:120%}");
			}
			else
			{
				// WIN NETSCAPE 6.x~
				document.writeln(".E9{font-Size:9px; line-height:120%; letter-spacing:1px}");
				document.writeln(".E10{font-size:10px; line-height:120%; letter-spacing:1px}");
				document.writeln(".E12{font-size:12px; line-height:180%; letter-spacing:1px}");
				document.writeln(".T9{font-size:10px; line-height:120%; letter-spacing:1px}");
				document.writeln(".T10{font-Size:11px; line-height:120%; letter-spacing:1px}");
				document.writeln(".T12{font-Size:12px; line-height:180%; letter-spacing:1px}");
				document.writeln(".T14{font-Size:14px; line-height:180%; letter-spacing:1px}");
				document.writeln(".B12{font-Size:12px; line-height:180%; letter-spacing:1px}");
				document.writeln(".strong{line-height:180%}");
				document.writeln(".h1{font-Size:14px; line-height:180%}");
				document.writeln(".sbn{font-Size:10px; line-height:120%; letter-spacing:1px}");
			}
		}
	}
}
 document.writeln("--></STYLE>");

