function Browser()
{
    this.UserAgent = navigator.userAgent;
    this.FullVersion = navigator.appVersion;
    this.Version = parseInt(navigator.appVersion);
    this.AppCodeName = navigator.appCodeName;
    this.AppName = navigator.appName;
    this.MinorVersion = navigator.appMinorVersion;
    this.CpuClass = navigator.cpuClass;
    this.Platform = navigator.platform;
    this.Plugins = navigator.plugins;
    this.OpsProfile = navigator.opsProfile;
    this.UserProfile = navigator.userProfile;
    this.SystemLanguage = navigator.systemLanguage;
    this.UserLanguage = navigator.userLanguage;
    this.IsOnLine = navigator.onLine;
    this.IsCookieEnabled = navigator.cookieEnabled;
} 

function Browser_IsIE() 
{
    return (/MSIE/.test(navigator.userAgent)); 
}

Browser.prototype.IsIE = Browser_IsIE;

function Browser_IsFireFox() 
{
    return (/Firefox/.test(navigator.userAgent)); 
}

Browser.prototype.IsFireFox = Browser_IsFireFox;

var browser = new Browser();