// Creates the popup window for displaying larger images.
var newwindow=null;
var url=null;
var imgH=0;
var imgW=0;
var name =null;
function popitup(name, url, imgW, imgH)
{
	name=name;
    url=url;
	imgH=imgH;
	imgW=imgW;
	newwindow=window.open('',''+name+'','resizable,height='+imgH+',width='+imgW+' ');
	newwindow.document.write('<HTML><HEAD><TITLE>Church Lane Designs</TITLE>');
	newwindow.document.write('</HEAD><BODY>');
	newwindow.document.write('<img src='+url+'>');
	newwindow.document.write('<P><A HREF="javascript:self.close()">Close</A> the popup.</P>');
	newwindow.document.write('</BODY></HTML>');
	newwindow.document.close();
}
