<!-- 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("<br><br><table width=\"75%\"  border=\"1\" align=\"center\" cellpadding=\"25\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"><tr><td><p><span class=\"text_header\">Silverback ROES is Currently Launching</span><br><strong>Thank you for your patience!</strong> Depending on the speed of your internet connection, it may take a few minutes to download the necessary components. When you have successfully launched Silverback ROES once, subsequent launches will be faster.</p><p><strong>Windows users:</strong> Java from Sun Microsystems is required to run Silverback ROES.  If you do not already have Java installed, Silverback ROES will attempt to download and install it on your computer. 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\" target=\"_blank\">Java Download Page</a> then relaunch Silverback ROES. Use the Windows Offline Installation installer for best results.</p><p> If you already have a recent Java version installed and are having trouble launching, you can try a <a href=\"http://www.softworksroes.com/ROES/labs/Silverback/launch.jnlp\">Direct Launch by clicking here</a>.<br><br><strong>Mac users with OS X 10.2 and above:</strong> Java is included in the OS X software and will not be downloaded with the ROES application. To ensure that you have the latest Java release available for your version of OS X, click on the Apple Menu and select &quot;Software Update...&quot; </p><p>Note that Netscape older than 6, &amp; Mac OS older than 10.1 don't have modern Java support &amp; cannot run Silverback ROES. Mac OS 10.2 without the Java 1.4.1 update causes errant behavior on the first launch. Simply relaunching will restore expected behavior.</p><p><a href=\"http://www.bayphoto.com/bayweb/pro_support.htm\" target=\"_blank\"><strong>Still have questions?</strong> Click here for support.</a></p><p><strong>When you have successfully launched Silverback ROES, you may close this window.<strong></p></td></tr></table>");


