<!--
/* Simple version detection */
var oldNS = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 5);
var newNS = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 5);

var hilitedZoom = "none";

function nothing() {}

function hiliteZoom(objName) {
	if (hilitedZoom != ("none")) {
		if (hilitedZoom != objName) {
			hideObject(hilitedZoom);
		}
	}
	if (objName != "none") showObject(objName);
	hilitedZoom = objName;
}

/* Show an object  */
function showObject(object)
	{
	if (newNS == true)
		{
		toshow = document.getElementById(object);
		toshow.style.visibility = "visible";
		}
	else
		{
		var changeVis = ((oldNS == true) ? "document." + object + ".visibility = 'show';" : "document.all." + object + ".style.visibility = 'visible';");
		eval(changeVis);
		}
	}

/* Hide an object */
function hideObject(object)
	{
	if (newNS == true)
		{
		toshow = document.getElementById(object);
		toshow.style.visibility = "hidden";
		}
	else
		{
		var changeVis = ((oldNS == true) ? "document." + object + ".visibility = 'hide';" : "document.all." + object + ".style.visibility = 'hidden';");
		eval(changeVis);
		}
	}

function changeDisp(url,target) {
	if (target == "self") {
		window.location.href = url;
	} else if (target == "js") {
		navArgs = url.split(",");
		newURL = (navArgs[0].indexOf("http://") == -1 && navArgs[0].indexOf("HTTP://") == -1) ? strRelativeRoot + navArgs[0] : navArgs[0];
		popWin2(newURL,navArgs[1],navArgs[2]);
	} else {
		if (url.indexOf("http://") == -1 && url.indexOf("HTTP://") == -1) url = strRelativeRoot + url;
		dispWin = window.open(url,"dispWin");
		dispWin.focus();
	}
}

var popWin;

function popWin( url, winHeight, winWidth )
{
  intWinTop = ((oldNS == true || newNS == true) ? 160 : window.screenTop + 150);
  intWinLeft = ((oldNS == true || newNS == true) ? 160 : window.screenLeft + 150);
  var strWindowOptions = "toolbars=0,width=" + winWidth + ",height=" + winHeight + ",top=" + intWinTop + ",left=" + intWinLeft;
  //popWin = window.open( url, "popWin", strWindowOptions, 1 )
  //popWin.focus();
  window.open( url, "popWin", strWindowOptions, 1 )
}


/*  Move To New Page (Pass Args) */
function navWithArgs()
	{
	var strNewLoc,idx,arrArgs = navWithArgs.arguments;
	strNewLoc = "/default.asp?";
	for (idx = 0; idx < arrArgs.length; idx++)
		{
		if (idx>0) strNewLoc += "&"
		strNewLoc += (arrArgs[idx]);
		strNewLoc += "=" + (arrArgs[++idx]);
		}
	document.location.href = strNewLoc;
	}


/*  Move To New Page (Pass Args) */
function navTextOnlyWithArgs()
	{
	var strNewLoc,idx,arrArgs = navTextOnlyWithArgs.arguments;
	strNewLoc = strRelativeRoot + "defaultTextOnly.asp?";
	for (idx = 0; idx < arrArgs.length; idx++)
		{
		if (idx>0) strNewLoc += "&"
		strNewLoc += (arrArgs[idx]);
		strNewLoc += "=" + (arrArgs[++idx]);
		}
	document.location.href = strNewLoc;
	}
// -->
