function IE(){if(document.all)return false}

function NS(e){if(document.layers||(document.getElementById&&!document.all)){if(e.which==2||e.which==3){return false;}}}

if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=NS;}else{document.onmouseup=NS;document.oncontextmenu=IE;}

document.oncontextmenu=new Function("return false");document.onselectstart=new Function("return false");document.ondragstart=new Function("return false");




function fAfficheImg(pImg) {
	var i1 = new Image;
	var url = pImg.getAttribute('href')
	var htmlPopupImage = '<HTML><HEAD><TITLE>Zoom sur image - Geogalion</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;
}
