function myVoid() {
  return;
}

function hideDiv(id) { // Hide a named div.
// alert(id);
  if (document.getElementById && document.body.style) { // Non-sniffer test for NN6/'standards-compliant' browsers.
      document.getElementById(id).style.display = "none";
  }
}
function showDiv(id) { // Hide, then show a named div.
  hideDiv(currDiv);    // First, hide a (relevant) div if one is now visible.

  if (document.getElementById && document.body.style) { // Non-sniffer test for NN6/standards-compliant browsers.
      document.getElementById(id).style.display = "block";
  }
  currDiv = id;       // Makes this div hide-able by other menu functions.
}

function toggleShowHideDiv(id) { // Doesn't change the currDiv variable, so each hides/displays without toggling the display state of any currDiv.
  if (document.getElementById && document.body.style) { // Non-sniffer test for NN6/standards-compliant browsers.
      if (document.getElementById(id).style.display == "block") {
          document.getElementById(id).style.display = "none";
      } else if (document.getElementById(id).style.display == "none") {
          document.getElementById(currDiv).style.display = "none" ;
          document.getElementById(id).style.display = "block";
          currDiv = id;
      }
  }
}

// Custom clear function; simply reloads original page.
function clearFormFields() {
  document.location = document.location;
}

// Reveal images based onmouseover link that specifies 
// image name & new image's url or array element id.
function swap(imageName,url) {
  if (document.images) {
    (document.images[imageName].src = url);
  }
}


/* *** MINI-SNIFFER - BROWSER VERSION *** 
// convert all characters to lowercase to simplify testing 
var agt=navigator.userAgent.toLowerCase(); 
// Note: On IE5, these return 4, so use is_ie5up to detect IE5. 
var is_major = parseInt(navigator.appVersion); 
var is_minor = parseFloat(navigator.appVersion); 

var is_ie    = (agt.indexOf("msie") != -1);
var is_ie4up = (is_ie  && (is_major >= 4));
var is_ieUnder6   = (is_ie  && (is_major < 6));

var is_mac   = (agt.indexOf("mac")!=-1);

REQUIRES SNIFFER:
// PNG SUPPORT -- [if many users report using browsers that incorrectly display images, the sniffer can be extended and the 'else if' below replaced with specific, known-supportive browsers.
if ((is_ie4up) && (!is_mac)) { // If IE5.5+ on Win32, display PNGs with AlphaImageLoader.
   var pngAlpha = true;
} else if (document.getElementById) { // Or, if the browser can display PNGs normally, do that.
   var pngNormal = true;
}
// PNG display, fixes IE5.5+/Win problem & non-png-capable browsers.
function od_displayImage(strClass,strId,strPath,extAlt,intWidth,intHeight,strAlt) {	// A class (arbitrary name) for the image, the image ID, image URL, extension of the alternate for non-PNG browsers, the iamge width, height and ALT text.
	if (pngAlpha) {
      document.write('<div id="'+strId+'" style="position:absolute; z-index:900; top:-130px; left:2%; height:'+intHeight+'px; width:'+intWidth+'px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+strPath+'.png\');"></div>');
	} else if (pngNormal) {
	  document.write('<img src="'+strPath+'.png" width="'+intWidth+'" height="'+intHeight+'" name="'+strId+'" class="'+strClass+'" alt="'+strAlt+'" style="position:absolute; z-index:900; top:-75px; left:6%;" />');
	} else {
	  document.write('<img src="'+strPath+extAlt+'" width="'+intWidth+'" height="'+intHeight+'" name="'+strId+'" class="'+strClass+'" alt="'+strAlt+'" />');
	}
}
*/
