function popPicture(picName,caption,w,h) {
  //pop a confirmation message
  //alert("picName="+picName+" width="+w+" height="+h);
  var confHTML = new String (
    "<html>\n"+
    "<head>\n"+
    "<title>Secret Screen</title>\n"+
    "<link rel='stylesheet' type='text/css' href='http://www.secretscreen.com/css/secretscreen.css'>\n"+
    "</head>\n"+
    "<body bgcolor='#FFFFFF'>\n"+
    "<form>\n"+
    "<table width='100%' align='center'>\n"+
    "<tr><td align='center'>\n"+
    "<img src='/images/"+picName+"' border='0'>\n"+
    "<br><br>\n"+caption+"\n<br><br>\n"+
    "<input type='button' value='Close' onClick='javascript:window.close();'>\n"+
    "</td></tr>\n"+
    "</table>\n"+
    "</form>\n"+
    "</body>\n"+
    "</html>\n"
  );
  //alert(confHTML);
  var winConf = window.open("", "winPicPop", "width="+w+",height="+h+",status=no,resizable=yes,top=100,left=100");
  winConf.opener = self;
  winConf.focus();
  var docConf = winConf.document;
  docConf.write (confHTML);
  docConf.close();

}
