//  DÉBUT SCRIPT POUR DÉTECTION BROWSER
function lib_bwcheck()
{
   this.ver=navigator.appVersion;
   this.v=parseInt(this.ver);
   this.nam=navigator.appName;
   this.dom=document.getElementById?1:0
   this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
   this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
   this.ie4=(document.all && !this.dom)?1:0;
   this.ie=this.ie4||this.ie5||this.ie6;
   this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
   this.ns4=(this.nam=="Netscape" && this.v==4);
   this.ns408=(parseFloat(this.ver)==4.08);
   this.ns=this.ns4||this.ns5;
   this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns5);
   this.mac=(this.ver.indexOf("Mac") != -1)?1:0;
   this.pc=(this.ver.indexOf("Win")>-1)?1:0;
   return this;
}

var is = new lib_bwcheck();
//  FIN SCRIPT POUR DÉTECTION BROWSER

// DEBUT fonctions rollover

function MM_swapImgRestore()
	{
	var i,x,a=document.MM_sr;
	for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
	}

function MM_findObj(n, d)
	{
	var p,i,x;
	if(!d) d=document;
	if((p=n.indexOf("?"))>0&&parent.frames.length)
		{
		d=parent.frames[n.substring(p+1)].document;
		n=n.substring(0,p);
		}
	if(!(x=d[n])&&d.all) x=d.all[n];
	for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	return x;
	}

function MM_swapImage()
	{
	var i,j=0,x,a=MM_swapImage.arguments;
	document.MM_sr=new Array;
	for(i=0;i<(a.length-2);i+=3)
	if ((x=MM_findObj(a[i]))!=null)
		{
		document.MM_sr[j++]=x;
		if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];
		}
	}

// FIN fonctions rollover

// BEGIN pop-up
function NewWindow(mypage, myname, w, h, scroll)
	{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4)
		{
		win.window.focus();
		}
	}
// END pop-up

function MM_reloadPage(init) {  //reloads the window if Nav4 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);