<!-- 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("<br><br><table width=\"75%\"  border=\"1\" align=\"center\" cellpadding=\"25\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"><tr><td><p><span class=\"text_header\">ExpressPrints 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 ExpressPrints once, subsequent launches will be faster.</p><p><strong>Windows users:</strong> Java from Sun Microsystems is required to run ExpressPrints.  If you do not already have Java installed, ExpressPrints 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 refresh this page. 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/BayPhotoRemote/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 ExpressPrints 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 ExpressPrints. 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/Retail_faq_new.htm\" target=\"_blank\"><strong>Still have questions?</strong> Click here for our FAQ's and Troubleshooting Guide.</a></p><p><strong>When you have successfully launched ExpressPrints, you may close this window.<strong></p></td></tr></table>");


