function showPic( imgName, imgCaption, imgWidth, imgHeight, textColor, bgColor ) {
	if(textColor=="")textColor="#000000"
	if(bgColor=="")bgColor="#ffffff"
	if(imgWidth<=100)imgWidth=100
	if(imgHeight<=100)imgHeight=100
	winHeight=imgHeight+20;
	w = window.open('','Demo','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no,width='+imgWidth+',height='+winHeight);
	w.document.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">" );
	w.document.write( "<html><head><title>"+imgCaption+"</title>" );
	w.document.write( "<style type='text/css'>\n" );
	w.document.write( "@import \"fb.css\";\n" );
	w.document.write( "</style>\n" );
	w.document.write( "<script language='JavaScript'>\n");
	w.document.write( "IE5=NN4=NN6=false\n");
	w.document.write( "if(document.all)IE5=true\n");
	w.document.write( "else if(document.layers)NN4=true\n");
	w.document.write( "else if(document.getElementById)NN6=true\n");
	w.document.write( "function autoSize() {\n");
	w.document.write( "	if(IE5) { pw=34; iw=document.images[0].width;  document.getElementById('c').style.width=iw; self.resizeTo(iw+pw,document.images[0].height+2.3*pw);  }\n");
	w.document.write( "	else if(NN6) top.window.resizeTo(document.images[0].width+45,document.images[0].height+90)\n");
	w.document.write( "	else top.window.resizeTo(document.images[0].width,document.images[0].height+20)\n");
	w.document.write( "	self.focus()\n");
	w.document.write( "}\n</scr");
	w.document.write( "ipt>\n");
	w.document.write( "</head>\n" );
	w.document.write( "<body style=\"text-align:center;\" onLoad=" );
	w.document.write( "'javascript:autoSize();'>" );
	w.document.write( "<div style=\"text-align: center; padding: 10px;\">\n" );
	w.document.write( "<img src=\""+imgName+"\" border=0 alt=\""+imgCaption+"\" class=\"fimg\">" );
	w.document.write( "<br />" );
	w.document.write( "<div id=\"c\" style=\"background-color: #ecf1e9; line-height: 160%; border: solid 1px #969; border-top: 0px; padding: 0px;\">\n" );
	w.document.write( "<div style=\"float:left; font-size: 9px;padding-left:5px;\">&copy; theFlowerBuds.com</div>\n" );
	w.document.write( "<div style=\"text-align:right;padding-right:5px;\"><a href=\"javascript:top.window.close();\" style=\"font-size: 9px;\">close window</a></div>\n" );
	w.document.write( "</div>\n" );
	w.document.write( "</div>\n" );
	w.document.write( "</body></html>" );
	w.document.close();
}

