function popupWin(dir, infile, inwidth, inheight) {
/* Opens a window loading the specified image */
	var filename, imgHeight, imgWidth
	
	filename = dir + infile

	imgWidth = inwidth
	imgHeight = inheight
	
	popUpWin01=window.open(filename,"diagram","width=" + imgWidth + ",height=" + imgHeight + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes")

	popUpWin01.focus();

}//end popupWin
