
       PageLoaded = false

       bName = navigator.appName
       bVer = parseInt(navigator.appVersion)

       if (bName == "Netscape" && bVer >= 3) ver = "n3"
       else if (bName == "Netscape" && bVer == 2) ver = "n2"
       else if (bName == "Microsoft Internet Explorer" && bVer >= 2) ver = "e3"

       function getAppVersion() {
         appname= navigator.appName;
         appversion = navigator.appVersion;
         majorver = appversion.substring(0, 1);
         if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 1;
         if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
         return 0;
       }

       function SetPageLoaded() {
         PageLoaded = true
       }

       function FreakoutLaunch() {
         window.location.href = "freakout.html"
       }

       function FreakoutClick() {
         if (getAppVersion()) {
           if (PageLoaded) {
             if (getCookieValue("FreakoutWarning") == NULL_VALUE) {
               if (confirm("Are you sure you want to go around clicking strange, unmarked buttons?")) {
                 document.cookie = "FreakoutWarning=Warned"
                 FreakOut = true
               } else {
                 FreakOut = false
               }
             } else {
               FreakOut = true
             }
           }
         } else {
           FreakOut = true
         }

         if (FreakOut) {
           //if (getAppVersion()) {
           //  if (bName == "Netscape") { document.freakout.play(false) }
           //  timVar = setTimeout("FreakoutLaunch()",3000)
           //} else {
             FreakoutLaunch()
           //}
         }
       }

