function createPage(ptit,pimg){

 var text = '';
 text += '<html>\n<head>\n  <title> [umpf! fabioweb] Visualizzatore immagini </title>\n';
 text += '  <!--base HREF="http://www.umpf.net/fabioweb/"-->\n';
 text += '  <style TYPE="text/css">\n';
 text += '  a	      { font-weight: bold; color: #0000FF; text-decoration: none }';
 text += '  a:hover   { font-weight: bold; color: #800000; text-decoration: underline overline }';
 text += '  #t1       { font-family: "Trebuchet MS", "Trebuchet", "Tahoma", "Lucida Sans Unicode", "Verdana", "Helvetica"; font-size: 10pt;'
 text += '              font-weight: bold; color: #800000 }\n';
 text += '  #d1       { font-family: "Trebuchet MS", "Trebuchet", "Tahoma", "Lucida Sans Unicode", "Verdana", "Helvetica"; font-size: 8pt;'
 text += '              font-weight: bold; color: #800000; background-color: #CCD2FF }\n';
 text += '  #n0       { font-family: "Trebuchet MS", "Trebuchet", "Tahoma", "Lucida Sans Unicode", "Verdana", "Helvetica"; font-size: 8pt;'
 text += '              font-weight: bold; color: #000080 ; background-color: #D8D6FF }\n';
 text += '  #n1       { font-family: "Trebuchet MS", "Trebuchet", "Tahoma", "Lucida Sans Unicode", "Verdana", "Helvetica"; font-size: 8pt;'
 text += '              font-weight: normal; color: #000080 ; background-color: #CCD2FF }\n';
 text += '  #textarea { background-color: #CCD2FF }\n';
 text += '  </style>\n</head>\n';
 text += '<body TEXT="#800000" BGCOLOR="#D8D6FF" TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>\n<center>\n';
 text +=  '<table WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0 CLASS=txtarea>\n'
 text +=  ' <tr><td WIDTH="50%" ALIGN="left" VALIGN="bottom" id=d1><img SRC="img/fwlogo01.gif" BORDER=0><br>&nbsp;&nbsp;<a HREF="'+fwvarurl('fw')+'">'+fwvarsite('fw')+'</a> <b id=n1>[ &quot;appunti on-line&quot; di</b> <a HREF="'+fwvarmail('fw')+'">fabio r crespi</a> <b id=n1>]</b></td>\n'
 text +=  '     <td WIDTH="50%" ALIGN="right" VALIGN="middle" id=d1><img SRC="img/fwpace.jpg" HSPACE=5 BORDER=1 WIDTH=400 HEIGHT=50></td></tr>\n'
 text +=  ' <tr><td COLSPAN=2 BGCOLOR="#800000"><img SRC="img/fwbg01.jpg" BORDER="0"></td></tr>\n'
 text +=  ' <tr><td COLSPAN=2 ALIGN="left" VALIGN="bottom" ID=d1>&nbsp;&nbsp;'+pimg.substring(pimg.lastIndexOf("/")+1,pimg.length)+'</script></td></tr>\n'
 text +=  '</table>\n'
 text +=  '<br>\n'

 text += '<table WIDTH="95%" BORDER=0 CELLPADDING=0 CELLSPACING=0 BGCOLOR="#CCD2FF">\n'
 text += '  <tr><td ALIGN="center"><b ID=t1>' + ptit + '</b><br></td></tr>\n'
 text += '  <tr><td ALIGN="center"><img SRC="' + pimg + '" NOSAVE BORDER=0><br><br></td></tr></table>\n<br>\n'
 text += '<table WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>\n'
 text += '  <tr><td BGCOLOR="#800000"><img SRC="img/fwbg01.jpg" BORDER="0"></td></tr></table>\n'
 text += '[ <b ID=d1><a HREF="javascript:self.close()" ID="n0">Chiudi</a></b> ]</p>\n';
 text += '</center>\n</body>\n</html>';

// document.write(text);

 var temp = window.open()
 temp.document.clear()
 temp.document.write(text)
 temp.document.close()
};
