<!-- the applet name & location -->		
	var appletName = "JNLPLauncher";
	var codebaseURL = "http://www.softworksroes.com/ROES";

<!-- browser detection variables -->		
	var userPlatform = navigator.userAgent;
	var WinIE = userPlatform.indexOf("MSIE") >= 0 && userPlatform.indexOf("Win") >= 0;

	if(WinIE){
		document.writeln("<object classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\" codebase=\"http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Version=1,4,0,0\" WIDTH = 0 HEIGHT = 0 ><PARAM NAME = CODE VALUE =" + appletName + "><PARAM NAME = CODEBASE VALUE = " + codebaseURL + "><PARAM NAME = \"type\" VALUE = \"application/x-java-applet;version=1.4\"><PARAM NAME = \"scriptable\" VALUE = \"false\"><PARAM NAME = " + labconfigKEY + " VALUE = " + labconfigVALUE + "></OBJECT>");
	} else {

		document.writeln("<APPLET CODEBASE = " + codebaseURL + " CODE = " + appletName + " WIDTH = 5 HEIGHT = 5><PARAM NAME =  " + labconfigKEY + " VALUE = " + labconfigVALUE + "></APPLET><br>");
	}
	
	document.writeln("</center><p><br><br>If you aren't notified in a few moments of a Sun Microsystems Java download, or the automatic download fails, please download Java from their <a href=\"http://java.com/en/download/manual.jsp\">Java Download Page</a> then refresh this page.<br><br>Note that Netscape older than 6, & Mac OS older than 10.3 don't have modern Java support & cannot run the Remote Order Entry System.  Mac OS 10.3 without the Java 1.4.2 update causes errant behavior on the first launch.  Simply relaunching will restore expected behavior.</p>");

