<!--
	function getWindowPos(aiSize, asXorY) {
		if (screen.width) {
			switch (asXorY) {
				case "W":
					return (screen.width / 2) - (aiSize / 2);
					break;
				case "H":
					return (screen.height / 2) - (aiSize / 2);
					break;
			}
		} else {

			return 100;
		}

	}

	function largerPic(spicfilename, xsize, ysize) {
		var winLeft = getWindowPos(xsize, "W");
		var winTop = getWindowPos(ysize, "H");
		var ls_url = "site/webapps/dispimage.php?pic=" + spicfilename + "&x=" + xsize + "&y=" + ysize ;
		var ls_features = "menubar=no,resizeable=no,scrollbars=no,toolbar=no,status=no,width=" + xsize + ",height=" + (ysize+30) + ",top=" + winTop + ",left=" + winLeft;
		var myWindow = window.open(ls_url, "picWindow", ls_features);
	}

	function popImage(spicfilename, xsize, ysize) {
		var winLeft = getWindowPos(xsize, "W");
		var winTop = getWindowPos(ysize, "H");
		var ls_url = "site/webapps/dispportfolioimage.php?pic=" + spicfilename + "&x=" + xsize + "&y=" + ysize ;
		var ls_features = "menubar=no,resizeable=no,scrollbars=no,toolbar=no,status=no,width=" + xsize + ",height=" + (ysize+30) + ",top=" + winTop + ",left=" + winLeft;
		var myWindow = window.open(ls_url, "picWindow", ls_features);
	}

	function popSeminarImage(spicfilename, xsize, ysize) {
		var winLeft = getWindowPos(xsize, "W");
		var winTop = getWindowPos(ysize, "H");
		var ls_url = "site/webapps/dispseminarimage.php?pic=" + spicfilename + "&x=" + xsize + "&y=" + ysize ;
		var ls_features = "menubar=no,resizeable=no,scrollbars=no,toolbar=no,status=no,width=" + xsize + ",height=" + (ysize+30) + ",top=" + winTop + ",left=" + winLeft;
		var myWindow = window.open(ls_url, "picWindow", ls_features);
	}
//-->

