function imageFlip(position, currentImage, pressIt) {
        // position: array position/index of image
        // currentImage: the current image under your mouse pointer
        // pressIt: want to press the button "up" or "down"

        // detect compatible browser    
      runOK = "no";   // set default = not run
      browserName = navigator.appName;
      browserVersion = parseInt(navigator.appVersion);
      if (browserName == "Netscape" && browserVersion >= 3)
                runOK = "yes";
      else if (browserName == "Microsoft Internet Explorer" && browserVersion >= 4)
                runOK = "yes";
      else
                runOK = "no";

      if (runOK == "yes" && pressIt == "down") {
                document.images[position].src = currentImage;
      }
      else if (runOK == "yes" && pressIt == "up") {
                document.images[position].src = currentImage;
      }
} 
