	function wpup(url, width, height)
	{
		var left = (screen.availWidth - width) / 2
		var top = (screen.availHeight - height) / 2
		width+=5;
		height+=5;
		wId=window.open("showalbum.php?im="+url, "wup", 'toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=auto,resizable=yes,left='+left+',top='+top+',width='+width+',height='+height);
		wId.focus();
	}

	function onepup(url, width, height)
	{
		var left = (screen.availWidth - width) / 2
		var top = (screen.availHeight - height) / 2
		width+=5;
		height+=5;
		wId=window.open("onecmp.php?cmp="+url, "wup", 'toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=auto,resizable=yes,left='+left+',top='+top+',width='+width+',height='+height);
		wId.focus();
	}
