var ns4 = (navigator.appName == 'Netscape' && parseInt(navigator.appVersion) == 4);
var ns6 = (document.getElementById)? true:false;
var ie4 = (document.all)? true:false;

var hiLite = '#efefe0';
var normal = '#ffffff';
var hphilite = '#efefe0';


function highlight(id){
  var obj = getObj(id);
  obj.backgroundColor = hiLite;
 }
function resetit(id){
  var obj = getObj(id);
  obj.backgroundColor = normal;
 }


 function hphighlight(id){
  var obj = getObj(id);
  obj.backgroundColor = hiLite;
 }
function hpresetit(id){
  var obj = getObj(id);
  obj.backgroundColor = normal;
 }

 function snhighlight(id){
  var obj = getObj(id);
  obj.backgroundColor = hiLite;
 }
function snresetit(id){
  var obj = getObj(id);
  obj.backgroundColor = 'transparent';
 }



function getObj(id){
  if (ie4 || ns6){
    return document.getElementById(id).style;
   }
  else if(ns4)  {
    return document.layers[id];
  }
 }
