<!--
// Determines which stylesheet to write based on browser/platform combination.  
	var bV = parseInt(navigator.appVersion), bN = navigator.appName, coll = "", styleObj = "", bP = navigator.userAgent
	if (bV == 3) {
		document.location.href="/update_browser.html"
	}
	var isMac = (bP.indexOf("Mac") != -1) ? true : false;
	var isPC = (bP.indexOf("Win") != -1) ? true : false;
	var isLinux = (bP.indexOf("Linux") != -1) ? true : false;
	var isIE4 = (bP.indexOf("MSIE 4") != -1) ? true : false;
	var isIE45 = (bP.indexOf("MSIE 4.5") != -1) ? true : false;
	var isNav3 = (bV == 3 && bN == "Netscape") ? true : false;
	var isNav4 = (bV == 4 && bN == "Netscape") ? true : false;
	var isNav6 = (bV > 4 && bN == "Netscape") ? true : false;
	var isIE = (bN.indexOf("Microsoft") != -1) ? true : false;
	var isDHTML = (bV > 3) ? true : false;
	
	if (isNav6) {
		coll = "getElementById."
		styleObj = ".style"
	} else if (isIE) {
		coll = "all."
		styleObj = ".style"
	}
	//load the style sheets
	if (isNav4 && isMac) {
		document.writeln("<link href='../i2e/css/mac_ns.css' rel='stylesheet' type='text/css'>");
	}
	if (isNav4 && isPC) {
		document.writeln("<link href='../i2e/css/win_ns.css' rel='stylesheet' type='text/css'>");
	}
	if (isNav4 && isLinux) {
		document.writeln("<link href='../i2e/css/win_ie.css' rel='stylesheet' type='text/css'>");
	}
	if (isIE) {
		if (isIE4 && isMac) {
			document.writeln("<link href='../i2e/css/mac_ie.css' rel='stylesheet' type='text/css'>");
		} else {
			document.writeln("<link href='../i2e/css/win_ie.css' rel='stylesheet' type='text/css'>");
		}
	}
	if (isNav6) {
			document.writeln("<link href='../i2e/css/ns6.css' rel='stylesheet' type='text/css'>");
	}
	
// Pop-up Window Script -->
function openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// Reloads the window if Nav4 resized -->
function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//  pulldown jump-to-URL script (Quickly Find Information)
function formHandler2(form){
if(form.options[form.selectedIndex].value != "")
window.location.href = form.options[form.selectedIndex].value;
 }

function openWindow(url, name)
{  
    popupWin = window.open(url, name, "width=392,height=314,status=no,toolbar=no,menubar=no");
}

function sendevent(event,action,validate)
{	
	var ret = true;

	if(typeof(validate) != 'undefined')
	{
		if (validate != '')
			eval(" ret=" + validate + "()");
	}
	if (ret == true)
	{
		document.forms[0].event.value = event;
		document.forms[0].action = action;
		document.forms[0].method = 'post';
		document.forms[0].submit();
		return(true);
	}
	return(false);
}
