//sends pre and post images plus procedure(type) and descriptions for pre and post for dynamic popup load.

function popup_single(image, type, desc) {
	var popwindow = window.open("", "", "top=100, left=50, height=450, width=400, resizable, scrollbars");
	//open popup window
	popwindow.document.open();
	popwindow.document.write("<title>Clinical Photographs - " + type + "</title>");
	popwindow.document.write("<link rel='stylesheet'	href='style_mds.css' type='text/css' />");
	popwindow.document.write("<h1>Mark Duncan-Smith | Plastic Surgeon</h1>");
	popwindow.document.write("<img src='" + image + "' alt='" + type + " - " + desc + "' />");
	popwindow.document.write("<h4>" + type + "</h4>");
	popwindow.document.write("<p class='holder'>" + desc + "</p>");
	popwindow.document.close();
}
