function MM_reloadPage(init) {  //recharger fenetre si NN4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

// popup
var ff,ff3,ffa;
function WinPop(fname,w,h) {
  if (ff3==null || ff3.closed) ff3=window.open(fname,'ChampagneBoulard','resizable=yes,scrollbars=yes,width='+w+',height='+h);
  else {
 	ff3.focus();
	ff3.resizeTo(w+12,h+36);
	ff3.location.href=fname;
  }
}
function WinPopa(fname,w,h) {
  if (ffa==null || ffa.closed) ffa=window.open(fname,'ChampagneBoulard','resizable=yes,scrollbars=no,width='+w+',height='+h);
  else {
 	ffa.focus();
	ffa.resizeTo(w+12,h+36);
	ffa.location.href=fname;
  }
}
function wPop(fname,larg,haut) {
  if (ff==null || ff.closed)ff=window.open(fname,"","scrollbars=yes,resizable=yes,width="+larg+",height="+haut);
  else{
   ff.focus();
   ff.location.href=fname;
  }
}  
function setprof()
{ 
if (navigator.appName == "Netscape" && eval(navigator.appVersion.substring(0,3) ) < 5) document.pge.document.mainpge.document.corps.document.corps1.document.courrier.prof[1].checked=true;
else document.courrier.prof[1].checked=true;
}


