          var bName = navigator.appName;
          var bVer = parseInt(navigator.appVersion);
          var NS4   = (bName == "Netscape" && bVer >= 4);
          var IE472 = (bName == "Microsoft Internet Explorer" && bVer >= 4.72);
          var IE4   = (bName == "Microsoft Internet Explorer" && bVer >= 4 && bVer < 4.72);
          var NS3   = (bName == "Netscape" && bVer < 4);
          var IE3   = (bName == "Microsoft Internet Explorer" && bVer < 4);
          
          function selection(url_path)
          {
            //agent = navigator.userAgent;
            //if (agent.toUpperCase().indexOf("MOZILLA/3.01 (MAC") > -1)
            //  location = url_path;
            //else if ((IE3) | (IE4))
            //  location = url_path;
            //else
            //{
              max =window.open(url_path,'Documenti','width=535,height=510,top=0,left=0,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,screenX=100,screenY=60');
            //  /*self.close();*/
            //}
          }

          function deselection(url_path)
          {
            agent = navigator.userAgent;
            if (agent.toUpperCase().indexOf("MOZILLA/3.01 (MAC") > -1)
              history.back();
            else if ((IE3) | (IE4))
              history.back();
            else
            {
              /*max =window.opener.location = url_path;*/
              /*(url_path,window.opener.name,'width=530,height=510,top=0,left=0,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,screenX=100,screenY=60');*/
              self.close();
            }
          }
         

