function yrBrowser ()
{  
	//deleted code that's no longer required; only supporting NS 4.79/4.8, 6.x, IE 5.5 and 6.0 (10/23/02 NS)

	this.ie55  = (navigator.userAgent.indexOf("MSIE 5.5") != -1)
	this.ie6  = (navigator.userAgent.indexOf("MSIE 6") != -1)
	this.ie7  = (navigator.userAgent.indexOf("MSIE 7") != -1)
	this.ie = this.ie55 || this.ie6 || this.ie7;
	
	//we are only supporting NS 4.77+
	var userAgent = navigator.userAgent
	var index = userAgent.indexOf("Mozilla/4.")
	if (index != -1) {
		this.ns4 = userAgent.substr(index + 10, 1) >= 7 ? true : false
	} else {
		this.ns4 = false
	}
	this.ns6  = (navigator.userAgent.indexOf("Mozilla/5.0") != -1)
	
	var agt=navigator.userAgent.toLowerCase()
	this.win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) )
	this.win95 = ((agt.indexOf("win95")!=-1) || (agt.indexOf("windows 95")!=-1))
	this.win16 = ((agt.indexOf("win16")!=-1)
			|| (agt.indexOf("16bit")!=-1) || (agt.indexOf("windows 3.1")!=-1)
			|| (agt.indexOf("windows 16-bit")!=-1) )  

	this.win31 = (agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16")!=-1) ||
				(agt.indexOf("windows 16-bit")!=-1)
	
	this.win98 = ((agt.indexOf("win98")!=-1)||(agt.indexOf("windows 98")!=-1))
	this.winnt = ((agt.indexOf("winnt")!=-1)||(agt.indexOf("windows nt")!=-1))
	this.win32 = this.win95 || this.winnt || this.win98 || 
				((this.major >= 4) && (navigator.platform == "Win32")) ||
				(agt.indexOf("win32")!=-1) || (agt.indexOf("32bit")!=-1)

	this.os2   = (agt.indexOf("os/2")!=-1) 
				|| (navigator.appVersion.indexOf("OS/2")!=-1)  
				|| (agt.indexOf("ibm-webexplorer")!=-1)

	this.mac    = (agt.indexOf("mac")!=-1)
	this.mac68k = this.mac && ((agt.indexOf("68k")!=-1) || 
							(agt.indexOf("68000")!=-1))
	this.macppc = this.mac && ((agt.indexOf("ppc")!=-1) || 
							(agt.indexOf("powerpc")!=-1))

	this.linux = (agt.indexOf("inux")!=-1)
	this.unix  = (agt.indexOf("x11")!=-1) || this.sun || this.irix || this.hpux || 
				this.sco ||this.unixware || this.mpras || this.reliant || 
				this.dec || this.sinix || this.aix || this.linux || this.freebsd
	
	//IE 5.x and 6.x are not supported on Mac
	this.isCompatible = ((this.ie && !this.mac) || ((this.ns4 || this.ns6) && !this.mac) )?true:false
			
	//If compatible, then set js property to 1.2; otherwise, 0.0
	this.js = (this.isCompatible)?1.2:0.0
}  

function writeHeader(header,bgHeadColor)
{
	document.write('<table   cellspacing="0">')
	document.write('  <tr>')
	document.write('    <td align="left" bgcolor="'+ htmlString(bgHeadColor) + '"')
	document.write('    valign="top"> <font face="Tahoma"  size="2"><strong> ' + htmlString(header) + '</strong></font>')
	document.write('</td>')
	document.write('  </tr>')
	document.write('</table>')
}

function expectedJVMVersion()
{
		var jvmApplet = document.jvmCheckApplet;
		if(jvmApplet)
		{
		    var vendor=jvmApplet.getSystemProperty("java.vendor").toLowerCase();
		    if(vendor.indexOf("sun") == 0)
		    {
   		        var pluginVersion=jvmApplet.getSystemProperty("java.version");
                if(pluginVersion.indexOf("1.3.1") == 0 || pluginVersion.indexOf("1.4.2") == 0)
                {
                    return true;
                }
                else
                    return false;
		    }
		    else
		    {
                var jvmMajor =parseInt(jvmApplet.getJVMMajorVersion(),10);
                var jvmMinor =parseInt(jvmApplet.getJVMMinorVersion(),10);
                var jvmBuild =parseInt(jvmApplet.getJVMBuildIncrement(),10);
                if (jvmMajor < 4) return false;
                if (jvmMajor==4 && jvmMinor < 79) return false;
                if (jvmMajor==4 && jvmMinor==79 && jvmBuild < 2435) return false;

                return true;
			}
		}
		return false;
}



