function openImage(image, width, height) {
	if (width && height) {
    	window.open(image, "image", "width=" + (width + 40) + ",height=" + (height + 150) + ",scrollbars=no,menubar=no,toolbar=no,resizable=yes,location=no,status=no");	
	} else {
    	window.open(image, "image", "scrollbars=no,menubar=no,toolbar=no,resizable=yes,location=no,status=no");			
	}
}