
/* ------------------------- POP ---------------------------------- */

function PopImg(imgUrl,titre) {
	var hauteur = 300;
	var largeur = 300;
	var top = (screen.height-hauteur)/2;
	var left = (screen.width-largeur)/2;
	i1 = new Image;
	i1.src = imgUrl;
	var html = '<HTML><HEAD><TITLE>'+titre+'</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="'+imgUrl+'" BORDER="0" NAME="MyImage" onLoad="window.resizeTo(document.MyImage.width+10,document.MyImage.height+27)" onClick="self.close()"></CENTER></BODY></HTML>';
	var popupImage = window.open('','titre','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,status=1,top='+top+',left='+left+',width='+largeur+',height='+hauteur);
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close();
	//if (parseInt(navigator.appVersion) >= 4) { titre.window.focus(); }
}

function popup(url, name, w, h) {
	var l = (screen.availWidth-10 - w) / 2;
	var t = (screen.availHeight-20 - h) / 2;
	features = "width="+w+",height="+h+",left="+l+",top="+t+",screenX="+l+",screenY="+t+",scrollbars=1,resizable=1,location=0,menubar=0,toolbar=0,status=1";
	window.open(url, name, features);
	if (parseInt(navigator.appVersion) >= 4) { name.window.focus(); }
}

function RollOver(img,lien){
document.images[img].src=lien;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}