function picview(imgURL, widthSpacing, heightSpacing, windowTitle, comment) {
	
	var TheComment= comment;
	var CouleurFont = "#FFFAEA";
	var CouleurBord = "#ffefdb";
	var CouleurComment = "#000000";
	var windowHeight = heightSpacing ;
	var windowWidth = widthSpacing ;
	var Info = "Cliquez sur l'image pour fermer la fenêtre"
	var globalURL = imgURL	
	var t = ""; 
	
	theWindow = window.open("","Photos","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+windowWidth+",height="+windowHeight+",screenX=0,left=0,screenY=0,top=0");
	
	t += "<HTML>\n";
	t += "<HEAD>\n"
	t += "	<TITLE>" + unescape(windowTitle) + "</TITLE>\n";
	t += "</HEAD>\n";
	t += " <BODY BGCOLOR=\"" + CouleurFont + "\">\n";
	t += "  <TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"100%\" HEIGHT=\"100%\">\n";
	t += "      <TR HEIGHT=\"15\">\n";
	t += "       <TD HEIGHT=\"15\">\n";
	t += "        <P ALIGN=\"center\"><FONT SIZE=\"-2\" FACE=\"Helvetica,Arial,Verdana\" COLOR=\"" + CouleurComment + "\">" + Info + "</FONT></TD>\n";
	t += "      </TR>\n";
	t += "   <TR>\n";
	t += "    <TD ALIGN=\"CENTER\" VALIGN=\"MIDDLE\">";
	t += "<TABLE BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\" BGCOLOR=\"" + CouleurBord + "\">\n";
	t += "      <TR>\n";
	t += "       <TD>\n";
	t += "        <P ALIGN=\"center\"><A HREF=\"javascript:self.close()\" onmouseover=\"window.status='fermer'\; return true\">\n";
	t += "      <IMG SRC=\"" + globalURL + "\" BORDER=0 ALT=\"Cliquez sur l'image pour fermer la fenetre.\"></A></TD>\n";
	t += "      </TR>\n";
	t += "      <TR HEIGHT=\"15\">\n";
	t += "       <TD HEIGHT=\"15\">\n";
	t += "        <P ALIGN=\"center\"><FONT SIZE=\"-2\" FACE=\"Helvetica,Arial,Verdana\" COLOR=\"" + CouleurComment + "\">" + TheComment + "</FONT></TD>\n";
	t += "      </TR>\n";
	t += "     </TABLE>\n";
	t += "    </TD>\n";
	t += "   </TR>\n";
	t += "      <TR>\n";
	t += "       <TD>\n";

	t += "       </TD>\n";
	t += "      </TR>\n";
	t += "  </TABLE>\n";
	t += " </BODY>\n";
	t += "</HTML>\n";

	theWindow.document.clear();
	theWindow.document.write(t);
}
