//sends pre and post images plus procedure(type) and descriptions for pre and post for dynamic popup load.

function popup( pre, post, type, des_pre, des_post) {
	var popwindow = window.open("", "", "top=100, left=50, height=450, width=550, 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='" + pre + "' alt='" + type + " - " + des_pre + "' /> <img src='" + post + "' alt='" + type + " - " + des_post + "' />");
	popwindow.document.write("<h4>" + type + "</h4>");
	popwindow.document.write("<p class='holder'>" + des_pre + " and " + des_post + "</p>");
	popwindow.document.close();
}
