// JavaScript Document

if ( javaWsInstalled && javaPluginInstalled ){
	document.write("<p><b><center><font color=\"red\">Your system is up to date</font>.</center></b></p>");
}
else if ( javaWsInstalled ){
	document.write("<p><b><center><font color=\"red\">Your system is up to date</font>.</center></b></p>");
}
else if ( javaPluginInstalled ){
		document.write("<center><p>Java is installed, but Webstart is not present or can't be detected. <br>If you are not certain that it is installed please update your Java environment.</p></center>");
		document.write("<form>\n<center><p><input TYPE=\"BUTTON\" NAME=\"Submit\" onClick=\"openJavaPage()\" VALUE=\"Update Java\"> </p></center></form>");
		document.write("<br><center><i><p><font color=red>Reload this page after the installation to validate configuration.</font></p></i></center>");
		document.write("<br/><center><p>If Java and WebStart are actually installed but do not automatically handle sequence and structure display applications, you need to manually specify the corrent application type. <br>If you are using Netscape 6 and above or Mozilla, ");
		document.write("click <a href=\"javascript:openWindow(\'explorer/config.html\')\"><b>here</b></a> for configuration instructions.</p></center>");
}
else{
	document.write("<center><p>Java environment needs to be installed.</p></center>");
	document.write("<form>\n<center><p><input TYPE=\"BUTTON\" NAME=\"Submit\" onClick=\"openJavaPage()\" VALUE=\"Install Java\"> </p></center></form>");
	document.write("<br><br><center><i><p><font color=red>Reload this page after the installation to validate configuration.</font></p><i></center>");
}
