

  var message="Right Click Disabled!";
  function click(e) {
    if (document.all) {
      if (event.button == 2) {
        alert(message);
        return false;
      }
    }
    if (document.layers) {
      if (e.which == 3) {
        alert(message);
        return false;
      }
    }
  }
  if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
  }
  document.onmousedown=click;

function preloadImages() {

    // If there are images embedded in the document...

    if (document.images) {

       // Set the imgFiles variable equal to an array of all the
       // image files passed as arguments to the preloadImages() function.

       var imgFiles = preloadImages.arguments;

       // Create a new array called preloadArray

       var preloadArray = new Array();

       // For each image file sent as an argument to preloadImages()
       // (all x of them)...

       for (var i=0; i < imgFiles.length; i++) {

            // Create a new Image object in the preloadArray array 
            // and associate it with a source file, thus loading
            // that image into memory.

            preloadArray[i] = new Image;
            preloadArray[i].src = imgFiles[i];
       }
    }
}

function swap(id, newsrc) {
   var theImage = locateImage(id);
   if (theImage) {
        theImage.src = newsrc;
    }
}

function locateImage(name) {
    var theImage = false;
    if (document.images) {
        theImage = document.images[name];
    }
    if (theImage) {
        return theImage;
    }
    return (false);
}

function displayMsg(message) {
//alert("in display");    
window.status=message
}

preloadImages(	'../images/brhm1a.gif',
		'../images/brhm1.gif',
		'../images/biohm1a.gif',
		'../images/biohm1.gif',
		'../images/mushm1a.gif',
		'../images/mushm1.gif',
		'../images/newshm1a.gif',
		'../images/newshm1.gif',
		'../images/revhm1a.gif',
		'../images/revhm1.gif',
		'../images/linkhm1a.gif',
		'../images/linkhm1.gif')
//alert ("images preloaded");