/*______________________________________

  Copyright (C) 2004
  
______________________________________*/

var Mac = navigator.appVersion.indexOf('Mac',0) != -1; // Mac
var Win = navigator.appVersion.indexOf('Win',0) != -1; // Win
var IE  = navigator.appName.indexOf("Microsoft Internet Explorer",0) != -1; //IE
var NS  = navigator.appName.indexOf("Netscape",0) != -1; // Netscape
var MacNS6 = navigator.userAgent.indexOf("Netscape6/6.0") != -1; // MacNetscape 6.0
var MacIE4 = navigator.userAgent.indexOf("MSIE 4") != -1; // MacIE4.x
var Moz = navigator.userAgent.indexOf("Gecko") != -1; // Mozilla, Netscape 6.x, 7.x

var ver = (navigator.appVersion.charAt(0))
	if (Mac && NS && MacNS6){
		document.write('<link rel="stylesheet" href="/common/css/mns6.css" type="text/css">'); //for MacNS6.0
	}
	else if (Mac && Moz){
		document.write('<link rel="stylesheet" href="/common/css/mns62.css" type="text/css">'); //for MacNS6.2, NS7.0
	}
	else if (Mac && IE && MacIE4){
		document.write('<link rel="stylesheet" href="/common/css/mie4.css" type="text/css">'); //for MacIE4.x
	}
	else if (Moz){
		document.write('<link rel="stylesheet" href="/common/css/ie.css" type="text/css">'); //for WinNS6.x, 7.x
	}
	else if (document.layers){
		document.write('<link rel="stylesheet" href="/common/css/ns.css" type="text/css">'); //for NS4.x
	}
	else if (NS){
		document.write('<link rel="stylesheet" href="/common/css/ie.css" type="text/css">'); //for otherNS
	}
	else {
		document.write('<link rel="stylesheet" href="/common/css/ie.css" type="text/css">'); //for other
	}

