#!/usr/bin/perl
$userAgent = $ENV{"HTTP_USER_AGENT"};
#
# FsmgrApplet does not work with IE JVM, so use Sun's plugin instead.
#
if ($userAgent =~ /MSIE/) {
print <<ENDOFTEXT;
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="75" height="75" align="TOP"
codebase="http://java.sun.com/products/plugin/1.1/jinstall-11-win32.cab#Version=1,1,0,0">
<PARAM NAME="archive" VALUE="fsmgr.jar,sysadm.jar">
<PARAM NAME="code" VALUE="com.sgi.fsmgr.FsmgrApplet">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.1">
No JDK 1.1 support for APPLET!!
</OBJECT>
ENDOFTEXT
} else {
print <<ENDOFTEXT;
<APPLET CODE="com.sgi.fsmgr.FsmgrApplet"
align="TOP"
archive="fsmgr.jar,sysadm.jar,swingall.jar" width=75 height=75>
</APPLET>
ENDOFTEXT
}