<!-- Check if browser is JWS-ready, with Java Web Start properly installed. -->
<!-- check for Netscape family browsers using javascript -->
<!-- Opera will also pass once the application/x-java-jnlp-file:jnlp association is configured in the browser. -->
<script language="javascript" type="text/javascript">
<!--
var jwsinstalled = 0;
var tryIE = "false";
if ( navigator.mimeTypes && navigator.mimeTypes.length && navigator.mimeTypes[ 'application/x-java-jnlp-file' ] ) jwsinstalled = 1;
else tryIE = "true";
// --></script>
<!-- check IE, using vbscript NOT javascript -->
<script language="vbscript" type="text/vbscript">
<!--
on error resume next
if tryIE = "true" Then
if IsObject(CreateObject( "JavaWebStart.isInstalled" )) Then
jwsinstalled = 1
end If
end If
// --></script>
<!-- generate corresponding message using JavaScript -->
<script language="javascript" type="text/javascript">
<!--
if ( jwsinstalled ) document.write( '<div class="ok">Your browser appears to be already configured properly for Java Web Start.</div>' );
else document.write( '<div class="oops">Your browser is <i>not</i> configured properly for Java Web Start *.jnlp and application/x-java-jnlp-file MIME types! Click to learn how to <a class="button" href="installingJWS.html">Repair</a> the damage.</div>' );
// --></script>