text: if (!PrimeFaces.env) {
  
      PrimeFaces.env = {
  
          mobile : false,
          touch : false,
          ios: false,
          browser : null,
  
          init : function() {
              this.browser = $.browser;
              this.mobile = this.browser.mobile;
              this.touch = 'ontouchstart' in window || window.navigator.msMaxTouchPoints || PrimeFaces.env.mobile;
              this.ios = /iPhone|iPad|iPod/i.test(window.navigator.userAgent);
          },
  
          isIE: function(version) {
              return (version === undefined) ? this.browser.msie: (this.browser.msie && parseInt(this.browser.version, 10) === version);
          },
  
          isLtIE: function(version) {
              return (this.browser.msie) ? parseInt(this.browser.version, 10) < version : false;
          }
      };
  
      PrimeFaces.env.init();
  
  };