function GrowImage(vimg,vtitle,vheight,vwidth)
{
	var px,py;
	var limg="img/l.gif";
	px = (screen.width-vwidth)/2;
	py = (screen.height-vheight-40)/2;
	var vwin="<html><head><title>"+vtitle+"</title></head>";
	vwin+="<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onMouseDown='javascript: window.close();' style='background-image: url("+limg+");background-position: center center; background-repeat: no-repeat;'>"
	vwin+="<table height="+vheight+" width="+vwidth+" cellpadding=0 cellspacing=0 align=center><tr><td style='background-image: url("+vimg+");background-position: top center;'>&nbsp;</td></tr></table>";
	vwin+="</body></html>";
	var vf='height='+vheight+',width='+vwidth+',innerHeight='+vheight+',innerWidth='+vwidth+',toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,left='+px+',screenX='+px+',top='+py+',screenY='+py+'';
	var ewin=window.open('about:blank','',vf);
	ewin.document.writeln(vwin);
	ewin.document.close();
};
/*
function GrowImage(vimg,vtitle,vheight,vwidth)
{
	var px,py;
	px = (screen.width-vwidth)/2;
	py = (screen.height-vheight-40)/2;
	var vwin="<html><head><title>"+vtitle+"</title></head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 style='background-image: url("+vimg+");background-position: top center;' onMouseDown='javascript: window.close();'></body></html>";
	var vf='height='+vheight+',width='+vwidth+',innerHeight='+vheight+',innerWidth='+vwidth+',toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,left='+px+',screenX='+px+',top='+py+',screenY='+py+'';
	var ewin=window.open('about:blank','',vf);
	ewin.document.writeln(vwin);
	ewin.document.close();
};
*/

