function showHideSimple(sourceId) {
	showHide(sourceId,sourceId);
}

/**
 * This shows a 'zoomed' image.  Unfortunately, SELECT elements leak through in IE, so we
 * need to individually hide each SELECT element in the form.
 */
function showHide(sourceId, destId) {
	var thumbPic = document.getElementById("img_thumb_"+sourceId);
	var zoomPic = document.getElementById("img_zoom_"+destId);
	var zoomDiv = document.getElementById("div_zoom_"+destId);
	var urlArray = getFilename(thumbPic.src);
	
	if( urlArray['file'] == "no_picture_100.gif" ) {
		return;
	}
	
	// First, set the zoom pic to be the correct pic.
	var urlPrefix = location.protocol+"//"+location.host+"/";
	var spacerUrl = urlPrefix+"images/spacer.gif";
	zoomPic.src = spacerUrl;
	var match_fileprefix = /^.*-/.exec(urlArray['fileBase']);
	var fileprefix = null;
	if( match_fileprefix != null ) {
		fileprefix = match_fileprefix[0]
	}
	zoomPic.src = urlArray['urlBase']+fileprefix+"largeImage."+urlArray['fileExt'];
	//alert("zoomPic is ["+zoomPic.src+"], fileprefix=["+fileprefix+"]");

	// Next, we toggle the display of the div containing the zoom image, and, if necessary (IE only),
	// toggle the display of any 'select' boxes
	var zoomDivStyle= zoomDiv.style;
	if( zoomDivStyle.display == "block" ) {
		zoomDivStyle.display = "none";
		toggleIEItems(true);
	} else {
		zoomDivStyle.display = "block";
		toggleIEItems(false);
	}
	return false;
}

