    ma = document.getElementById && (navigator.appName.indexOf("Microsoft") != -1);
    if (ma)
    {
      document.write('<link rel="stylesheet" href="/css/ma.css">');
      imgdir = '/global_imgs';
      darr = new Image();
      uarr = new Image();
      darr.src = imgdir + "/arwh.gif";
      uarr.src = imgdir + "/dawh.gif";
    }

    function mopen(i)
    {
      if (!ma) return;
      var men = document.getElementById('menu_' + i);
      var imm = document.images['mimg_' + i];
      var sep = document.getElementById('sepa_' + i);
      if (men.style.display != 'block')
      {
        men.style.display = 'block';
        imm.src = uarr.src;
        if (sep) sep.style.display = 'none';
      }
      else
      {
        men.style.display = 'none';
        imm.src = darr.src;
        if (sep) sep.style.display = 'block';
      }
    };

    eNS4 = (navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4);
    if (eNS4)
    {
      var os = navigator.platform.substr(0,3);
      if (os == "Win" || os == "IRI" || os == "Sun" || os == "X11") var link2 = "netw";
      else var link2 = "nets";
    }
    else var link2 = "main";
    document.write('<link rel="stylesheet" href="/css/' + link2 + '.css">');


    function newin(link, winame, ifbars, ifsize, largh, altez)
    {
      if (ifbars == 'n') opzioni = "toolbar=0,menubar=0,location=0,status=0,resizable=1,scrollbars=1";
      else opzioni = "toolbar=1,menubar=1,location=1,status=1,resizable=1,scrollbars=1";
      if (ifsize == 'y') opzioni += ",width=" + largh + ",height=" + altez;
      w = window.open(link, winame, opzioni);
      w.focus(); return w;
    };

    function bordo1(o)
    {
      o.style.borderColor = '#000000';
    }

    function bordo0(o)
    {
      o.style.borderColor = '#999999';
    }

