<!-- 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;jpi-version=1.4.2\"><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("<p>LabOnline should launch in just a moment. If it does not open plaese click <a href=\"http://www.softworksroes.com/ROES/labs/RRColorEconomy/launch.jnlp\" class=\"noul\">here</a>.</p>");


