// JavaScript Document Checks Browser Levels
function errorsuppressor(){
 return true
}
window.onerror=errorsuppressor
var isFlat = false;
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)));
 this.ns2 = (this.ns && (this.major == 2));
 this.ns3 = (this.ns && (this.major == 3));
 this.ns4 = (this.ns && (this.major == 4));
 this.ns5 = (this.ns && (this.major > 4));
 this.ns6 = (this.ns && (agent.indexOf('netscape6')!=-1) );
 this.ns7 = (this.ns && (agent.indexOf('netscape/7')!=-1) );
 this.ns7pr = (this.ns && (agent.indexOf('netscape/7.0b1')!=-1) );
 this.ie = (agent.indexOf("msie") != -1);
 this.ie3 = (this.ie && (this.major == 2));
 this.ie4 = (this.ie && (this.major >= 4));
 this.op3 = (agent.indexOf("opera") != -1);
 this.pc  = (agent.indexOf("win") != -1);

 if (!(this.ie4 || this.ns5)) {
  isFlat = true;
 }
}

var is = new Is()

function hmovh(num,imgsrc)
{
 if ( !is.ns4)
 {
  var theimage = eval("window.document.hubnav" + num);
  theimage.src = imgsrc;
 }
}

function hmouh(num)
{
 if ( !is.ns4)
 {
  var theimage = eval("window.document.hubnav" + num);
  theimage.src = "http://cdn.netscape.com/a/a";
 }
}

if (is.ie)
 if (is.pc)
  document.write("<link rel='stylesheet' href='http://cdn.netscape.com/_media/wpsite/tonr_pc_ie.css' type='text/css'>");
 else
  document.write("<link rel='stylesheet' href='http://cdn.netscape.com/_media/wpsite/tonr_mac_ie.css' type='text/css'>");
if (is.ns4) { 
 if (is.pc) {
  document.write("<link rel='stylesheet' href='http://cdn.netscape.com/_media/wpsite/netscape_tonr_pc_ns4.css' type='text/css'>");
  document.write("<link rel='stylesheet' href='http://cdn.netscape.com/_media/wpsite/tonr_pc_ns4.css' type='text/css'>");
 } else { 
  document.write("<link rel='stylesheet' href='http://cdn.netscape.com/_media/wpsite/tonr_pc_ns4.css' type='text/css'>");
 }
}
if (is.ns5) 
 document.write("<link rel='stylesheet' href='http://cdn.netscape.com/_media/wpsite/tonr_pc_ns5.css' type='text/css'>");

// popup
var _js12 = false;
var winHeight=0;