<!-- 
var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring, place;

if (!checkIt('compatible'))
{
	browser = "Netscape Navigator"
	version = detect.charAt(8);
} else { browser = "Other"; }
if (!version) version = detect.charAt(place + thestring.length);
function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}

if (browser == "Netscape Navigator" && version <= 4 ) {
window.location.href="../niaid_net/default.htm";
} 

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  /*
    WM_imageSwap()
    Changes the source of an image.

    Source: Webmonkey Code Library
    (http://www.hotwired.com/webmonkey/javascript/code_library/)

    Author: Shvatz
    Author Email: shvatz@wired.com

    Usage: WM_imageSwap(originalImage, 'newSourceUrl');

    Requires: WM_preloadImages() (optional, but recommended)
    Thanks to Ken Sundermeyer (ksundermeyer@macromedia.com) for his help
    with variables in ie3 for the mac. 
    */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

/*
// Function ChangeColumnVisibility http://www.gtalbot.org/HTMLJavascriptCSS/TableRowColumnCollapse.html 07-15-2005
function ChangeColumnVisibility(strVisibility, intColumnNumber)
{
if(navigator.product == "Gecko" && navigator.productSub && navigator.productSub > "20041010" && navigator.userAgent.indexOf("rv:1.8") != -1)
// Mozilla 1.8alpha; see bug 76497 and bug 242368; must be higher than 1.7.x
{
var ColumnCollection = document.getElementById("RowCollapseTable").getElementsByTagName("col");
ColumnCollection[intColumnNumber].style.visibility = strVisibility;
}
else if(document.all && !window.opera && document.compatMode && document.compatMode == "CSS1Compat")
{
var ColumnCollection = document.getElementById("RowCollapseTable").getElementsByTagName("col");
if(strVisibility == "visible")
	{
	ColumnCollection[intColumnNumber].style.display = "block";
	}
else if(strVisibility == "collapse")
	{
	ColumnCollection[intColumnNumber].style.display = "none";
	};
}
else if(document.addEventListener) // Mozilla and Opera 7.x
	{
	var TDCollection = document.getElementById("RowCollapseTable").getElementsByTagName("td");
	for(var CellIterator = intColumnNumber; CellIterator < TDCollection.length; CellIterator += document.getElementById("RowCollapseTable").rows.length)
		{
		if(strVisibility == "visible")
			{
			TDCollection[CellIterator].style.display = "table-cell";
			}
		else if(strVisibility == "collapse")
			{
			TDCollection[CellIterator].style.display = "none";
			};
		};
	};
}
*/


// Function ChangeRowVisibility http://www.gtalbot.org/HTMLJavascriptCSS/TableRowColumnCollapse.html 07-15-2005
function ChangeRowVisibility(strVisibility, intRowIndex)
{
if(navigator.product == "Gecko" && navigator.productSub && navigator.productSub > "20041010" && navigator.userAgent.indexOf("rv:1.8") != -1)
// Mozilla 1.8alpha; see bug 77019 and bug 242368; must be higher than 1.7.x Mozilla 1.8a2 supports accordingly dynamic collapsing of rows in both border-collapse models but not 1.7.x versions
{
document.getElementById("RowCollapseTable").rows[intRowIndex].style.visibility = strVisibility;
}
else if(strVisibility == "visible")
	{
	if(document.all && document.compatMode && document.compatMode == "CSS1Compat" && !window.opera)
		{
		document.getElementById("RowCollapseTable").rows[intRowIndex].style.display = "block";
		}
	else if(document.getElementById && document.getElementById("RowCollapseTable").rows)
	// Mozilla prior to 1.8a2, Opera 7.x and MSIE 5+
		{
		document.getElementById("RowCollapseTable").rows[intRowIndex].style.display = "table-row";
		};
	}
else if(strVisibility == "collapse")
	{
	document.getElementById("RowCollapseTable").rows[intRowIndex].style.display = "none";
	};
}



// toggleDiv http://www.technorealm.co.uk/scripts/mouseovershowtext.html
// this version works fine; i modified it to allow for you to type visible and hidden
function toggleDiv(id,flagit) {
if (flagit=="visible"){
if (document.layers) document.layers[''+id+''].visibility = "show"
else if (document.all) document.all[''+id+''].style.visibility = "visible"
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
}
else
if (flagit=="hidden"){
if (document.layers) document.layers[''+id+''].visibility = "hide"
else if (document.all) document.all[''+id+''].style.visibility = "hidden"
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
}
}




function init()
{
document.forms[0].reset();
ChangeRowVisibility('visible', 0);
ChangeRowVisibility('collapse', 1);
ChangeRowVisibility('collapse', 2);
ChangeRowVisibility('collapse', 3);
ChangeRowVisibility('collapse', 4);
ChangeRowVisibility('collapse', 5);
ChangeRowVisibility('collapse', 6);
ChangeRowVisibility('collapse', 7);
}


//-->