function PopupImage(img) {
	titre="Image taille reelle";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+40); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

<!--Protection de l'image
var message = "Vous n'etes pas autorisé a utiliser le bouton droit de la souris.";
var ns4 = (document.layers)? true:false;   					//NS 4 
var ie4 = (document.all)? true:false;   						//IE 4 
var dom = (document.getElementById)? true:false;		//DOM

if (dom)
	{
  if (document.addEventListener)
  	document.addEventListener("mouseup",RightMouseDisable,false);
  else
  	document.oncontextmenu = IsForbidden;
  }
else if (ie4)
	{
  document.onkeydown = CheckKey;
  document.onmousedown = RightMouseDisable;
  }
else if (ns4)
	{
  document.captureEvents(Event.MOUSEDOWN);
  document.onmousedown = RightMouseDisable;
  }

function CheckKey()
	{
  var MyKey = event.keyCode;
	if (MyKey==93)
  	{
    var MyValue = IsForbidden;
    return false;
    }
	}
  
function RightMouseDisable(e)
	{
	var MyNumber=0;
	if (ie4)
		MyNumber = event.button;
  else
    MyNumber = e.which;
	if (MyNumber==2||MyNumber==3)
  	{
		var MyValue = IsForbidden();
    return false;
  	}
  else
  	return true; 
  }

function IsForbidden()
	{
  alert(message);
  return false;
	}

//-->