///////////////////////////////////////
// is functions
///////////////////////////////////////
//
// created: 10.21.01
//
///////////////////////////////////////

// get browser version
isNS4 = (document.layers) ? true : false;
isIE4 = (document.all && !document.getElementById) ? true : false;
isIE5 = (document.all && document.getElementById) ? true : false;
isNS6 = (!document.all && document.getElementById) ? true : false;
//divCap = (isIE4 || isIE5 || isNS6) ? true : false;
oldBrowser = (isNS4 || isIE4 || isIE5 || isNS6) ? false : true;

//alert(oldBrowser);

// goddamn Netscape
function netscapeResize(theURL) {
	if (isNS4) {
		self.nav.location.reload() 
		self.content.location.href = theURL 
	}
}

// need to reload when resized because 
// frames lose their linked stylesheets
function loadAgain() {
	if (isNS4) {
		numFrames = parent.frames.length;
		for (i=0; i<numFrames; i++) {
			parent.frames[i].location.reload();
		}
	}
}


	//alert(theURL);
}

/*
// get rid of ie's annoying link selection box
function ieblur() {
  var eSrc = event.srcElement;
  while ("A" != eSrc.tagName.toUpperCase() && "BODY" != eSrc.tagName.toUpperCase())
    {
      eSrc = eSrc.parentElement;
    }
  if ("A" == eSrc.tagName.toUpperCase())
     eSrc.blur() 
}

if(document.all)
       document.onclick = ieblur;
       //document.onfocus = ieblur;
*/
