function showPreview(title, img, width, height)
{
	window.open('preview.php?image=' + img + '&width=' + width + '&height=' + height + '&title=' + title,
		'PreviewImage','width=' + width + ',height=' + height + ',directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,screenx=150,screeny=150');

	return false;
}
