// Pop up window for images


// make imgPop window
function imgPop
(
	source,		// imgPop image source
	width,		// width of image
	height		// height of image
)
{
	imgPopWindow = window.open ('_img/' + source,"", "resizable=yes, status=no, width=" + width + ", height=" + height + "\"");
	with (imgPopWindow.document)
	{
		writeln('<html><head><title>CooktownHotel | Photo - Loading...</title>');
		writeln('<link rel="stylesheet" href="_imgPop.css" type="text/css" />');

//		writeln('<style type="text/css">#pic { visibility:hidden; } </style>');


		writeln('</head>');

		writeln('<body style="background-image: url(_img/' + source + ')" onload="self.focus(); document.title=\'Cooktownhotel | Photo\'">');
		writeln('</body></html>');
		close();
	}
}
