function addMouseOverEffect (idName) {
	// Assumptions: If there's an "A"
	//   The A's first child is an image (or this won't be applied)
	//   Only one image swap for every A
	//   Over file must be name + "-over"
	//   Over file must be in the same folder
	//   Image must have a unique NAME (aboutBtn)
//alert("addMouseOverEffect invoked. idName="+idName);
	if (!document.getElementsByTagName) return false;
	if (!document.getElementById) return false;
	if (!document.getElementById(idName)) return false;

	// Find the document URL (minus the anchor link)
	var documentURL = document.URL;
	if (documentURL.lastIndexOf("#") >0){
		var documentURL = documentURL.slice(0,documentURL.lastIndexOf("#"));
	}
	// Set pointer to idName
	var divWithLinks = document.getElementById(idName);
	// Get array of links
	var links = divWithLinks.getElementsByTagName("a");
	// Create array for -OVER filenames
	preloadArray = new Array (links.length);

	// For all links
	for (var i=0; i < links.length; i++) {
		// If the link has child nodes,
		if (links[i].hasChildNodes()) {
			// If the firstChild is an element node
			if (links[i].firstChild.nodeType == 1) {
				// If the firstChild of the link is an image
				if (links[i].firstChild.tagName.toUpperCase()=="IMG" ) {
					var source = links[i].firstChild;
					var sourceName = source.id;
					if (sourceName != "") { 
						var sourceFile = source.src;
						var sourceFolder = sourceFile.slice(0,sourceFile.lastIndexOf("/")+1);
						var sourceType = sourceFile.slice(sourceFile.lastIndexOf("."),sourceFile.length);
						var sourceOverFile = sourceFolder+sourceName+"-over"+sourceType;
						// If this file is NOT the OVER version,
						if (sourceFile != sourceOverFile) {
							// Add mouseover actions
							links[i].onmouseover = new Function ( "this.firstChild.src='"+sourceOverFile+"';" );
							// Add mouseout actions
							links[i].onmouseout = new Function ( "this.firstChild.src='"+sourceFile+"';" );
							//Add -over state to array of preloaded images 
							preloadArray[i]=document.createElement( "img" );
							preloadArray[i].src = sourceOverFile;
						} 
					}
				}
			}
		}
	}
}
var preloadArray;
