// pop up window to display picture (detail = image address. description = description of item)

backgroundColour = "#ffffff"; // background colour
textColour = "#000000"; // text colour
fontName = "arial"; // font name

function popUp(detail,description) {
	var content="<html>\n<head>\n<title>"+description+"</title>\n</head>\n<body onBlur='window.close()' bgcolor='" + backgroundColour + "' text='#ffffff'>\n<center>\n<img src='"+detail+"' name='picture' onMouseDown='window.close()'>\n<br>\n<font size='-1' color='" + textColour + "' face='" + fontName + "'>"+description+"</font>\n<br>\n<br>\n<font size='-1' color='" + textColour + "' face='" + fontName + "'>\n<a href='javascript:window.close()'>Close Window</a></font>\n</center>\n</body>\n</html>\n"
	props=window.open("","poppage","height=450,width=450,left=200,top=50,toolbars=0,scrollbars=0,location=0,statusbars=0,menubars=0,resizable=1");
	props.document.write(content);
	props.focus();
	props.document.close();
}
