function fAfficheImg(pImg) {
	var i1 = new Image;
	var url = pImg.getAttribute('href')
	var htmlPopupImage = '<HTML><HEAD><TITLE>Image pirates-corsaires.com</TITLE>';
  htmlPopupImage += '<style type="text/css">html,body,p{margin:0;border:0;padding:0;background:#000;}</style>';
  htmlPopupImage += '<script>function patience() {window.resizeTo(document.imageTest.width+8,document.imageTest.height+70);';
  htmlPopupImage += 'document.getElementById("charge").style.display="none";}<\/script></HEAD>';
  htmlPopupImage += '<BODY><div id=charge>&nbsp;Chargement de l\'image...</div>';
  htmlPopupImage += '<IMG SRC="'+url+'" BORDER=0 NAME=imageTest onLoad="patience();"></BODY></HTML>';
	var popupImage = window.open('','_blank','width=500,height=500,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,status=no');
	popupImage.window.moveTo(10,10);
  popupImage.document.open();
	popupImage.document.write(htmlPopupImage);
	return false;
}
