function clicie() {
	// Fonction de détection pour Internet Explorer
	if (event.button==2) {
		alert("Respecter les droits d'auteur.");
	}
}
function clicns(e){
	// Fonction pour Netscape
	if(e.which==3){
		alert("Respecter les droits d'auteur.");
		return false;
	}
}
if (document.all) {	document.onmousedown=clicie;}
if (document.layers) {document.captureEvents(Event.MOUSEDOWN); document.onmousedown = clicns;}


//ouverture de fenetre pour agrandissement des images


function LaFerme() {
 if (parent.personne.Fenetre != null) {
    parent.personne.Fenetre.close();
 }
}

function LaFerme2() {
 //alert(parent.contenu.location)
 //if (parent.contenu.personne.Fenetre != null) {
 //   parent.contenu.personne.Fenetre.close();
 //}
}

var Fenetre=null
function gloss(mypage,myname,w,h,scroll) {
 var win
 Fenetre=null
 LeftPosition=(screen.width) ? (screen.width-w)/2 : 0
 TopPosition=(screen.height) ? (screen.height-h)/2 : 0
 settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no'
 win=window.open(mypage,myname,settings)
}

function stop(){
compt=setTimeout("self.close();",15000)
}
