	function NetscapeCheck ()
 	{
  	browser = 'an unknown browser';
  	var u = navigator.userAgent;
  	var i = u.indexOf('WebTV');
  	if(i >= 0) { browser = 'WebTV'; i += 6; }
  	else {
    	i = u.indexOf('MSIE');
    	if (i >= 0) { browser = 'Internet Explorer'; i += 5; }
    	else {
      	i = u.indexOf('Opera');
      	if (i >= 0) { browser = 'Opera'; i = u.indexOf(') ') + 2; }
      	else {
        	i = u.indexOf('Mozilla/');
        	if (i >= 0) { browser = 'Netscape'; i += 8; }
      	}
    	}
  	}
  	version = parseFloat(u.substring(i, i+4));
  
  	if(browser=="Netscape" && version>=5) {
  		version=6;
  		return(true);
		}
	return(false);
	}

	function Netmessage ()
	  {
		alert("Unfortunately, this calculator is unavailable in Netscape 6.");
	  }
		
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/
    */

  if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function WM_netscapeCssFixCheckIn() {
  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;
  }
}

WM_netscapeCssFixCheckIn();

function Open_Help(URL)
{
	var Open_Window = false;
	if (Open_Window && (!Open_Window.closed))
	{
		Open_Window.focus();
		Open_Window.document.location = URL;
	}
	var windowAttributes = "height=300,width=500,top=0,left=0,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,location=no";
	Open_Window = window.open(URL, "Linkpage", windowAttributes);
}		