
/* Scripts Hatchepsout */

function pop(lien,larg,haut){open(lien,'','width='+larg+',height='+haut+',scrollbars=yes');}

// Fonction d'activation des liens e-mail
function activeEmail(){
	var As=document.getElementsByTagName('a');
	var liens='';
	for(var i=0; i < As.length; i++){
		var monLien=As[i].href;
		var expr=new RegExp("^"+protocole[0]);
		if(monLien.match(expr)){
			As[i].onfocus=remplacementEmail;
			}
		}
	}

// Variables et fonction de remplacement des liens e-mail
var protocole=new Array('courriel','mailto');
var arobase=new Array('[CHeZ]','@');
function remplacementEmail() {
	this.href=this.href.replace(arobase[0],arobase[1]);
	this.href=this.href.replace(protocole[0],protocole[1]);
	}

// Variables et fonction d'initialisation d'animations Flash
var quality=new Array('low','autolow','medium','high','autohigh','best');
var scale=new Array('default','noorder','exactfit');
var alignement=new Array('','top','right','bottom','left');
var wMode=new Array('window','opaque','transparent');
function activeFlash(calque,anim){
	if(document.getElementById){
		document.getElementById(calque).innerHTML=anim;
		}
	}
