var d = document;
var bullet = "<img src='bullet.gif' alt='bullet' class='bulletImg'>"

function goLink(here) {
	top.location.href = here;
}

/* ======== NN4 MODIFICATIONS ======== */

var nav4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))

if(nav4) {
  location.replace('login_nn4.html')
}

if (nav4 && !window.startWidth) {
  var startWidth = window.innerWidth;
  var startHeight = window.innerHeight;
}

function restorePage() {
  if (nav4 && (startWidth != window.innerWidth || startHeight != window.innerHeight)) {
	location.reload();
}}


/* =================================================
   =-=-=-=-=- Style Object utilities =-=-=-=-=-=-= */

function getStyleObject(objID) {
    // cross-browser function to get an object's style object given its id
      if(d.getElementById && d.getElementById(objID)) {
	  return d.getElementById(objID).style;  // W3C DOM
      } else if (d.all && d.all(objID)) {
	  return d.all(objID).style;  // MSIE 4 DOM
      } else if (d.layers && d.layers[objID]) {
	  return d.layers[objID];  // NN4 DOM...won't find nested layers
      } else { return false; }
}

function doStyle(objID,prop,val) {
  var s = getStyleObject(objID);
   if(s) {s[prop]=val;
}}

function ignore() {return true}


/* HANDLERS */
window.onresize = restorePage;
window.onerror = ignore;