
//function to open window and write image 
//using content passed from calling code as pageContent.

function openWin( windowURL, windowName, windowFeatures ) {
	return window.open( windowURL, windowName, windowFeatures );
}
function writePage() {
	newWindow.document.writeln ('<HEAD><TITLE>Diane Dirks Needlepoint</TITLE></HEAD>')
	newWindow.document.writeln ('<body onBlur=window.close()  bgcolor=#451717><div  style="position: absolute; top: 0px; left: 0px">');
	newWindow.document.writeln (pageContent);
	newWindow.document.writeln ('</div></body>');
	newWindow.document.close();
}
