function Is() {
var agent = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
this.minor = parseFloat(navigator.appVersion);
this.ns = ((agent.indexOf('mozilla') != -1) &&
(agent.indexOf('spoofer') == -1) &&
(agent.indexOf('compatible') == -1) &&
(agent.indexOf('opera') == -1) &&
(agent.indexOf('webtv') == -1));
this.ns2 = (this.ns && (this.major == 2));
this.ns3 = (this.ns && (this.major == 3));
this.ns4 = (this.ns && (this.major == 4));
this.ns6 = (this.ns && (this.major >= 5));
this.ie = (agent.indexOf("msie") != -1);
this.ie3 = (this.ie && (this.major < 4));
this.ie4 = (this.ie && (this.major >= 4));
this.ie5 = (this.ie && (this.major == 4) &&
(agent.indexOf("msie 5.0") != -1));
this.ieX = (this.ie && !this.ie3 && !this.ie4);
}

var is = new Is();

if (is.ie5||is.ns6) {
  document.write("<style type=\"text/css\">img.aerobanner { margin-top: -3px; } img.fixNs7 { margin-top: -3px; } .hrLine1 { margin-bottom: 5px; } tr td#searchGrey img { display: none; }</style>");
} else if (is.ie4) {
  document.write("<style type=\"text/css\">div.bannerLine { display: none; } .hrLine1 { margin-bottom: -5px; }</style>");
} else if (is.ns4) {
  document.write("<style type=\"text/css\">.searchTable { margin-top: -6px; } .nn4 { margin-top: -4px; } form.search { margin-top: -12px; } .hrLine1 { margin-bottom: 0px; } .seq { vertical-align: top; padding-left: 2px; font-family: verdana,tahoma,arial; font-size: x-small; } .titles B a { color: #000099; text-decoration: underline; }  ul.newsList { margin-left: -35px; font-family: verdana,tahoma,arial; } .newsLinks,.newsItem,.headerLeft,.headerSiteLinks,.headerSearch,.searchText,.regular,.justify,.dssItem,.dssLinks,div.bottom,.xrefs,.abstracts { font-family: verdana,tahoma,arial; } .articles { margin: 5px 0 0 9px; font-family: verdana,tahoma,arial; } div.primaryContent,div.subContent { margin-left: 10px; font-family: verdana,tahoma,arial; font-size: x-small; } .smallGreyX a,.xrefs,.abstracts { font-size: x-small; } .headerRight,div.gears { font-size: 11px; text-align: right; font-family: verdana; }</style>");
}
