

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

var fen = null ;
var fen2 = null ;
var fen3 = null ;
var fen4 = null ;
var fen5 = null ;
var fen6 = null ;

function fenetre(url) { 

if ((fen == null) || (fen.closed))
  {
  fen=window.open (url,'fenetre','width=766,height=560,resizable=no,scrollbars=yes,left=100,top=50');
  }
else
  {
  fen.document.location = url;
  fen.focus();
  }
}

function fenetre1(url) { 

if ((fen == null) || (fen.closed))
  {
  fen=window.open (url,'fenetre1','width=280,height=330,resizable=no,scrollbars=no,left=400,top=50');
  }
else
  {
  fen.document.location = url;
  fen.focus();
  }
}

function fenetre2(url) { 

if (fen!=null){	if (fen.closed){}
				else {fen.close();}
				;}

if ((fen2 == null) || (fen2.closed))
  {
  fen2=window.open (url,'fenetre2','width=520,height=630,left=400,top=50');
  
  }
else
  {
  fen2.location = url;
  fen2.focus();
  }
}

function fenetre3(url) { 


if ((fen3 == null) || (fen3.closed))
  {
  fen3=window.open (url,'fenetre3','width=516,height=504,scrollbars=yes,left=180,top=150');
  }
else
  {
  fen3.location = url;
  fen3.focus();
  }
}

function fenetre4(url) { 

if ((fen == null) || (fen.closed))
  {
  fen=window.open (url,'fenetre4','width=516,height=516,resizable=no,scrollbars=no,left=400,top=50');
  }
else
  {
  fen.document.location = url;
  fen.focus();
  }
}

function fenetre5(url) { 

if ((fen == null) || (fen.closed))
  {
  fen=window.open (url,'fenetre5','width=516,height=516,resizable=no,scrollbars=no,left=400,top=50');
  }
else
  {
  fen.document.location = url;
  fen.focus();
  }
}


function fenetre6(url) { 

if ((fen == null) || (fen.closed))
  {
  fen=window.open (url,'fenetre6','width=300,height=500,resizable=no,scrollbars=no,left=400,top=50');
  }
else
  {
  fen.document.location = url;
  fen.focus();
  }
}



function on(url) {
        if (top.opener.closed) {
                win1 = window.open (url,'frame','location=yes,toolbar=yes,directories=yes,menubar=yes,resizable=yes,scrollbars=yes,status=yes,width=640,height=800');
        } else {
                top.opener.top.location.href = url ;
				window.close();
        }
}


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);







