/* Content and Link Controller.  Written by Joe McCormack. */
function loadMediumThumbnail(data, target) {
/* Set Active Medium Image */
document.getElementById(target).src = data;
/* Set Large Image Link Ref */
var txtMatch = "_400";
var txtChange = "_800";
var destination = "largeThumbnail";
var source = "mediumThumbnail";
var path = data.replace(txtMatch, txtChange);
if (navigator.userAgent.toLowerCase().indexOf("msie") > -1) { /* IE */
							     document.links(destination).href = path;
							    }
else { /* FF */
      document.links[destination].href = path;
     }
}
function displayContent(target) {
hideContent();
document.getElementById(target).style.display = "inline";
}
function hideContent() {
document.getElementById("concept").style.display = "none";
document.getElementById("phases").style.display = "none";
document.getElementById("phase1experiment").style.display = "none";
document.getElementById("phase1materialsheet").style.display = "none";
document.getElementById("phase1construction").style.display = "none";
}

