var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
if ( bName == "M" && vNum < 4 )
	location.href="/getnewbrowser/index.html";
if ( bName == "N" && vNum < 5 )
	location.href="/getnewbrowser/index.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(".e14{font-size:14px}");
		document.writeln(".j9{font-size:9px}");
		document.writeln(".j10, body, td{font-Size:10px}");
		document.writeln(".j12{font-size:12px}");
		document.writeln(".j14{font-size:14px}");
	}
	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(".e14{font-size:14px}");
		document.writeln(".j9{font-size:9px; line-height:12px}");
		document.writeln(".j10, body, td{font-size:10px; line-height:15px}"); 
		document.writeln(".j12{font-size:12px; line-height:18px}");
		document.writeln(".j14{font-size:14px; line-height:20px}");	 	
	 }
}
else
{
	if( bName == "M")
	{
		// WIN IE
		document.writeln(".e9{font-size:9px; line-height:10px}");
		document.writeln(".e10{font-size:10px; line-height:11px}");
		document.writeln(".e12{font-size:12px; line-height:14px}");
		document.writeln(".e14{font-size:14px; line-height:16px}");
		document.writeln(".j9{font-size:10px; line-height:12px}");
		document.writeln(".j10, body, td{font-size:11px; line-height:15px}");
		document.writeln(".j12{font-size:12px; line-height:15px; letter-spacing:1px}");
		document.writeln(".j14{font-size:14px; line-height:18px; letter-spacing:1px}");
	}
	else
	{
		// WIN NETSCAPE 6.x~
		document.writeln(".e9{font-size:9px; line-height:10px}");
		document.writeln(".e10{font-size:10px; line-height:11px}");
		document.writeln(".e12{font-size:12px; line-height:14px}");
		document.writeln(".e14{font-size:14px; line-height:16px}");
		document.writeln(".j9{font-size:10px; line-height:12px}");
		document.writeln(".j10, body, td{font-size:11px; line-height:15px}");
		document.writeln(".j12{font-size:12px; line-height:18px; letter-spacing:1px}");
		document.writeln(".j14{font-size:14px; line-height:20px; letter-spacing:1px}");
		
	}

}
 document.writeln("--></STYLE>");





// Scroll Move

var Mac = navigator.appVersion.indexOf('Mac',0) != -1;
var Win = navigator.appVersion.indexOf('Win',0) != -1;
var IE  = navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1;
var NN  = navigator.appName.indexOf("Netscape",0) != -1;
var GE  = navigator.userAgent.indexOf("Gecko") != -1;
var OP  = navigator.userAgent.indexOf("Opera") != -1;


function movePosition(){
  position = Math.floor(position*0.8);
  if( position > 0.1 ){
    window.scrollTo(0,position)
    setTimeout("gotoPageTop()",10);
  } else { window.scrollTo(0,0) }
}

function gotoPageTop(){
  if( IE ){
    position = document.body.scrollTop;
  } else {
    position = window.pageYOffset;
  } movePosition()
}
