var newCalenvar isMac = (navigator.appVersion.indexOf("Mac") != -1) ? true : falsevar isNav = (navigator.appName == "Netscape") ? true : falsevar isFive=(isNav && (navigator.appVersion.charAt(0) >= 5)) ? true : falsevar isIE = (navigator.appVersion.indexOf("Win") != -1) ? true : falseif(isMac) {    var _info = navigator.userAgent; var _ns = false;    var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);    var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH =330 HEIGHT =300  codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"><NOEMBED><XMP>');    else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.3" java_CODE = "MacHistCalen.class" ARCHIVE = "MacHistCalen.jar" WIDTH = 330 HEIGHT =300   pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED><XMP>');document.write('<APPLET CODE = "MacHistCalen.class"  WIDTH = 330 HEIGHT = 300 ></XMP>')document.write('<PARAM NAME = CODE VALUE = "MacHistCalen.class" >')document.write('<PARAM NAME = ARCHIVE VALUE = "MacHistCalen.jar">')document.write('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">')document.write('</APPLET>')document.write('</NOEMBED></EMBED></OBJECT>')} else {document.writeln('<APPLET CODE="HistCalendar.class" ARCHIVE="HistCalendar.jar" WIDTH=295 HEIGHT=295>')document.write('</APPLET>')}