// JavaScript Document
function Margaret(imageName,imageWidth,imageHeight,text) 
{ 
	var h=imageHeight+100;
	var left = (screen.width-imageWidth)/2;
	var top = (screen.height-h)/2;
	
	newWindow = window.open("","MargiePhoto","width="+imageWidth+",height="+h+",scrollbars=no,left="+left+",top="+top);
	newWindow.document.open();
	newWindow.document.write("<html><title>Margaret Mitchell Photography</title>\n")
	newWindow.document.write('<body bgcolor="#ebebdf" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onClick="self.close()" onBlur="self.close()">\n'); 
	newWindow.document.write('<img src=\"'+imageName+'\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\" >\n'); 	
	newWindow.document.write("<p>"+text+"</p>\n");
	newWindow.document.write('</body></html>\n');
	newWindow.document.close();
	newWindow.focus();
}