
   function picsview(name,width,height)
		{ 
			browserVer = parseInt(navigator.appVersion);
			if (browserVer >= 3) {
				version = "n3";
			} else {
				version = "n2";
			}
				
			if (version != "n2") {	
				
				var newWinOpts=',width=' + width +',height=' + height + ',scrollbars=no,resizable=no,menubar=no,status=no,toolbar=no,location=no,directories=no';
				var valign=0; 
				var align=0;
				if (width > 200) 
					align = Math.round(width/2) - 100;
				else
				 	align = 0;
					
				if (height > 200) 
					valign = Math.round(height/2) - 50;
				else
				 	valign = 0;
							
							
			   	thenewWin = window.open("",'thenewWin',newWinOpts);
				thenewWin.document.open("text/html");
				thenewWin.document.write("<html><head><title>Mireille Darc</title></head><body BGCOLOR=\"black\" background=\"" +name+ "\" LEFTMARGIN=\"0\" TOPMARGIN=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\">"); 
				thenewWin.document.write("<div name=\"telechargement\" STYLE=\"position: absolute; left:" + align + "px; top:" + valign + "px; width:200px; height:100px; visiblity:visible; z-index:1;\"><img src=\"../../images/transp.gif\" border='0' width='200' height='100'></div>")
				thenewWin.document.write("<div name=\"photo\"STYLE=\"position: absolute; left:0px; top:0px; width:" + width +"px; height:"+ height  +"px; visiblity:visible; z-index:2;\">")
				thenewWin.document.write("<a href=\"javascript:self.close()\"><IMG  src=\"../../images/transp.gif\" width=\"" + width +"\" height=\""+ height  +"\" border=0 alt=\"Cliquez pour fermer cette fen&ecirc;tre\"></a>");
				thenewWin.document.write("</div>")
				thenewWin.document.write("</body></html>"); 
				thenewWin.document.close();
				thenewWin.focus();
			} else {
				alert("navigateur non compatible")
			}
		}
		
	