// Used to display the rollover text and visuals for projects
function display(objectName) {
	// hide the default object
	document.getElementById('projFPO').style.display = 'none';

	// and hide all other objects...
	for (i=0;i<projArray.length;i++) {
		for (k=0;k<projArray[i].length;k++) {
			var mainObj = document.getElementById(projArray[i][k]);
			mainObj.style.display = 'none';
		}
	}

	// grab the object we want; create a nifty variable
	var myObj = document.getElementById(objectName);
	// show the object we want...
	myObj.style.display = 'block';
}

// Used to restore the placeholder image on rollout
function restore() {
	// show the default object
	document.getElementById('projFPO').style.display = 'block';

	// and hide all other objects...
	for (i=0;i<projArray.length;i++) {
		for (k=0;k<projArray[i].length;k++) {
			var mainObj = document.getElementById(projArray[i][k]);
			mainObj.style.display = 'none';
		}
	}

}

// Used to pop-up a new window (may be affected by pop-up bloocking!)
function poptastic(url) {
	var newWindow=window.open((url + '.html'),'projects','width=670,height=400,resizable=yes,scrollbars=yes');
	if (window.focus) {
		newWindow.focus();
	}
}