var is;

// BrowserCheck Object
function BrowserCheck() {     
	var b = navigator.appName;
	if (b=="Netscape") this.b = "ns";
	else if (b=="Microsoft Internet Explorer") this.b = "ie";
	else this.b = "ie";
	this.version = navigator.appVersion;
	this.v = parseInt(this.version);
	this.ns = (this.b=="ns" && this.v>=4);
	this.ns4 = (this.b=="ns" && this.v==4);
	this.ns6 = (this.b=="ns" && this.v==6);
	this.ie = (this.b=="ie" && this.v>=4);
	this.ie4 = (this.version.indexOf('MSIE 4')>0);
	this.ie5 = (this.version.indexOf('MSIE 5')>0);
	this.min = (this.ns||this.ie);
	this.plat = (navigator.platform.indexOf('Mac') > -1) ? 'mac' : 'win';
}

//function init(){
//  is = new BrowserCheck();
//}

is = new BrowserCheck();

if (is.plat == 'mac')  {
  document.write("<LINK HREF='usgov2002mac.css' REL='styleSheet' TYPE='text/css'>");
}
  else {
  document.write("<LINK HREF='usgov2002other.css' REL='styleSheet' TYPE='text/css'>");
}


