




function mypopup(url, imageHeight, imageWidth) {
	var image = image
	var newImageHeight = (parseInt(imageHeight) + 40); var newImageWidth = (parseInt(imageWidth) + 40);
	var yPos = ((screen.height / 2) - (parseInt(newImageHeight) / 2));
	var xPos = ((screen.width / 2) - (parseInt(newImageWidth) / 2));

	imageWindow = window.open(url, 'popupImages','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=' + newImageWidth + ',height=' + newImageHeight + ',screenY=' + yPos + ',screenX=' + xPos + ',top=' + yPos + ',left=' + xPos);

	imageWindow.moveTo(xPos, yPos);
	imageWindow.resizeTo(parseInt(imageWidth), parseInt(newImageHeight));

	if (window.focus) {
		imageWindow.focus();
	}
}
	
	
	
	
	
	
	
	