	function showpic(picurl,pagewidth,pageheight){
		var PopUpTotalWidth = pagewidth;
		var PopUpTotalHeight = pageheight;
		var LeftPixel1 = ((screen.availWidth) - PopUpTotalWidth) / 2;
		var TopPixel = ((screen.availHeight) - PopUpTotalHeight) / 2;
		win = window.open('showpic.php?picname='+picurl,'PicWindow','top='+TopPixel+',screeny='+TopPixel+',left='+LeftPixel1+',screenx='+LeftPixel1+',width='+PopUpTotalWidth+',height='+PopUpTotalHeight+',buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no');
	}
