


function writeNSMsg() {
	document.write("<table cellspacing=0 cellpadding=0 border=0><tr><td bgcolor='#eeeeee'>");
	document.write("<FONT COLOR='#000000' FACE='Verdana,Arial,sans-serif' SIZE='1'>");
	document.write("<b>Note:</b> This site is optimized for standard-compliant browsers. ");
	document.write("Upgrading from Netscape "+parseFloat(navigator.appVersion)+" to Netscape 6.1 ");
	document.write("is recommended for access to all features. ");
	document.write("<a href='/default.cfm?fuseaction=techrequirements'><font color='#000099'>Click here for information.</font></a>");
	document.write("</FONT></td></tr></table>");
}

WM_netscapeCssFixCheckIn();

function WM_netscapeCssFix() {
  /*
    Source: Webmonkey Code Library
    (http://www.hotwired.com/webmonkey/javascript/code_library/)

    Author: Taylor
    Author Email: taylor@wired.com
    Author URL: http://www.taylor.org/
    */

  // This part was inspired by Matthew_Baird@wayfarer.com
  // It gets around another unfortunate bug whereby Netscape 
  // fires a resize event when the scrollbars pop up. This 
  // checks to make sure that the window's available size 
  // has actually changed.
  if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function WM_netscapeCssFixCheckIn() {
  // This function checks to make sure the version of Netscape 
  // in use contains the bug; if so, it records the window's 
  // width and height and sets all resize events to be handled 
  // by the WM_netscapeCssFix() function.
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.WM == 'undefined'){
      document.WM = new Object;
    }
    if (typeof document.WM.WM_scaleFont == 'undefined') {
      document.WM.WM_netscapeCssFix = new Object;
      document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
      document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = WM_netscapeCssFix;
  }
}




// FUNCTION: Jump Menu
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

// FUNCTION: Display Status Bar Message
function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

// FUNCTION: Add to Favorite (IE only)
function addFavorite(favTitle){
  if ((navigator.appVersion.indexOf("MSIE") > 0) && (parseInt(navigator.appVersion) >= 4)) {
    window.external.AddFavorite(location.href, unescape(favTitle));
  }
  else {
		window.alert("Netscape/Other Browser User:\n\n" +
					"To bookmark this web page:\n\n"+
					"1. Click Bookmarks. On Mac OS, open the\n"+
					"Bookmarks menu--the green bookmark icon to\n"+
					"the right of the Go menu.\n"+
					"2. Choose Add Bookmark.");
  }
}

// FUNCTION: Make Homepage (IE only)
function makeHomepage(src,homePage){
	if ((navigator.appVersion.indexOf("MSIE") > 0) && (parseInt(navigator.appVersion) >= 4)) {
		src.style.behavior='url(#default#homepage)';
		src.setHomePage(homePage);
	}
	else {
		window.alert("Netscape/Other Browser User:\n\n" +
					"To make this web page your homepage:\n\n"+
					"1. From the Edit menu, choose Preferences.\n"+
					"2. Click the Navigator category.\n"+
					"3. Click Use Current Page to select the current\n"+
					"page as your home page.");	
	}
}

// FUNCTION: Preload Images
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

// FUNCTION: Swap Image
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// FUNCTION: Swap Image Restore
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}



function mOvr(src,clrOver){ // adapted for NS6
//	if (!src.contains(event.fromElement)){
	if (src.onmouseover){
		src.style.cursor = 'hand';
		src.bgColor = clrOver;
		src.style.background = clrOver;
	}
} 
function mOut(src,clrIn){ // adapted for NS6
//	if (!src.contains(event.toElement)){
	if (src.onmouseout){
		src.style.cursor = 'default';
		src.bgColor = clrIn;
		if (clrIn == '') { clrIn = 'transparent'; }
		src.style.background = clrIn;
	}
} 
function mClk(src){ // IE only
	if(event.srcElement.tagName=='td')
		src.children.tags('a')[0].click();
	}