function droit(e) {
 if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
  alert('Copyright CSA LARZAC !!')
  return false;
 }
 else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
  alert('Copyright CSA LARZAC !!')
  return false;
 }
 return true;
}
document.onmousedown=droit;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=droit;

function Voir(page,hauteur) {
msg=open(page,"DisplayWindow","toolbar=no,directories=no,menubar=no,width=800,height="+hauteur+",scrollbars=no");
}
<!-- ###### hauteur = 160 - 1 ligne ####### -->
<!-- ###### hauteur = 190 - 2 lignes ####### -->
<!-- ###### hauteur = 220 - 3 lignes - +30 à chaque ligne ####### -->

<!-- ###### ouvre un popup de l'image sélectionnée ####### -->

function PopupImage(img) {
	titre="Popup Image - Tout Javascript.com";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE>");
	w.document.write("<SC"+"RIPT language=java"+"script> function checksize()  { if (document.images['img'].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT></HEAD>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0 name='img'>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}


<!-- ###### modifie l'aspect de l'image au passage de la souris ####### -->

function ModifAlpha(nom,alpha){
	if (document.images[nom]) {
		if (document.images[nom].filters) {
			document.images[nom].filters.alpha.opacity=alpha;
		}
	}
}


