             
       function brandSwitch(id)
       {
            if($(id).is(':hidden'))
            {
                $(id).fadeIn(1000); 
				return false;  
            }
            $(id).fadeOut(500); 
       }
       
       function numericKey(e)
       {
                var key = (typeof e.charCode == 'undefined' ? e.keyCode : e.charCode);
                if (e.ctrlKey || e.altKey || key < 32) return true;
                key = String.fromCharCode(key);
                return /[\d\.]/.test(key);
       }

       function AddFavorite(){
        if(/MSIE/.test(navigator.userAgent)) {
          window.external.AddFavorite(document.location.href,document.title);
          return false;
        }
        else if(/Mozilla/.test(navigator.userAgent)){
          if (typeof window.sidebar == "object")
            window.sidebar.addPanel (document.title, document.location.href, "");
          return false;
        }
        else if(/Opera/.test(navigator.userAgent)) {
          var a = document.createElement('A');
          if (!a) return false;
          a.setAttribute('rel','sidebar');
          a.setAttribute('href',document.location.href);
          a.setAttribute('title',document.title);
          a.click();
          return true;
        }
        else
          return false;
      }
