if (navigator.appName.indexOf("Explorer") != -1)
  {
    if (navigator.appVersion.indexOf("Windows") != -1)
{
//URL to MSIE Win CSS
document.write('<link rel=stylesheet href="../styles/ie_win.css" type="text/css">');
}
    else  // MSIE is only for Windows and MacOS
    {
//URL to MSIE Mac CSS
      document.write('<link rel=stylesheet href="styles/ie_mac.css" type="text/css">');
}
  }

  else if (navigator.appName.indexOf("Netscape") != -1)
  {
if (navigator.appVersion.indexOf("Win") != -1)    // Netscape specific navigator.appVersion
{                                      //URL to Netscape Win CSS
document.write('<link rel=stylesheet href="styles/netscape_win.css" type="text/css">');
    }
else if (navigator.appVersion.indexOf("Macintosh") != -1)
    {
//URL to Netscape Mac CSS
      document.write('<link rel=stylesheet href="styles/netscape_mac.css" type="text/css">');
}
    else  // Netscape on a Linux/Unix platform
    {
//URL to Netscape Unix/Linux CSS
document.write('<link rel=stylesheet href="styles/netscape_linux.css" type="text/css">');
    }
  }
else  // Browser is not MSIE or Netscape - generic style sheet
    {
//URL to Generic CSS
      document.write('<link rel=stylesheet href="styles/generic.css" type="text/css">');
    }

function ouvrirFenetreCentree(adresse,nomFenetre,w,h,scroll) {
 var win
 LeftPosition=(screen.width) ? (screen.width-w)/2-10 : 0
 TopPosition=(screen.height) ? (screen.height-h)/2-10 : 0
 parametres='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no'
 if ((adresse.substring(adresse.length-3,adresse.length).toUpperCase()=="GIF") || (adresse.substring(adresse.length-3,adresse.length).toUpperCase()=="JPG")) {
  win=window.open("",nomFenetre,parametres)
  win.document.write("<html><head><title>Hôtel Le Donjon (Carcassonne)</title>\n")
  win.document.write("<meta http-equiv=\"imagetoolbar\" content=\"no\">\n")
  win.document.write("</head><body bgcolor=white>\n")
  win.document.write("<center><img src=\""+adresse+"\"></center>\n")
  win.document.write("</body></html>\n")
  win.document.close()
 }
 else {
  win=window.open(adresse,nomFenetre,parametres)
 }
}

function affichage_popup(nom_de_la_page, nom_interne_de_la_fenetre)
{
window.open (nom_de_la_page, nom_interne_de_la_fenetre, config='height=500, width=700, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no')
}