// This is a simple mouseover function which allows for an image swap
function switchImg(imgName, state)
{	
	var imageSwitch
	imageSwitch = imgName + "_" + state;
	document.images[imgName].src = eval(imageSwitch + ".src")

}

// Generates a JavaScript Popup Window, Pass values of the URL to be accessed and the window name 
// created. Variables like height, width and scrolling can be altered in the function.
function popUpWin(url){
var options = "height=500,width=500,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,left=100,top=100" 
	window.open(url, 'newWin', options);
}