
  function BrowserCheck() {
	  // note: this basic function was altered by d.owen to overcome ns4 bug on config page;
	  // notes below were added along with changes on 52201.

	  var b = navigator.appName
	  if (b=="Netscape") this.b = "ns"
	  else if (b=="Microsoft Internet Explorer") this.b = "ie"
	  else this.b = b
	  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.ns5 = (this.b=="ns" && this.v==5)
	  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.pc = (this.version.indexOf('Win')>0)
	  this.mac = (this.version.indexOf('PPC')>0)

	  // next line added by d.owen on 52201
	  this.ns408=(parseFloat(this.version)==4.08);
  }
  var is = new BrowserCheck()

  // Swaps the arrow image.
  // input: 	imgName - name of the image
  //			ON - on or off state
  function arrowSwap(linkName, ON, obj, obj2) {
	  var theImage = 'document.'
    
	  if (is.ie) {
		  theImage += 'all.'
	  } else if (obj && is.ns) {
	 	  theImage += obj + '.document.'
	  } 
    
	  if (obj2 && is.ns) {
		  theImage += obj2 + '.document.'
	  }

	  theImage += linkName
	  theImageObj = eval(theImage);

	  theImageObj.src = "../images/g_arrow" + ((ON) ? "_on":"") + ".gif";
  }
