function openWindow (doc, win, width, height)
{
	newWin = window.open ('', win, 'resizable=no,toolbar=no,menubar=no,width=' + width + ',height=' + height );
	newWin.document.writeln ('<head><title>Canyon Creek</title></head>');
	newWin.document.writeln ('<body style="margin: 0; padding: 0;"><a href="javascript:window.parent.close();"> <img src="' +  doc + '" width="' + width + '" height="' + height + '" border="0" alt="click to close" title="click to close"></a></body></html>');
}