function getBrowser(obj) 
{
      var b = new Array();
      b[0]="other";
      (isE(obj) ? browser=navigator.userAgent.toLowerCase() : browser=obj);
      
      if (browser.search(/msie\s(\d+(\.?\d)*)/) != -1) 
      {
            b[0]="msie";
      } 
      else
      {
            b[0]="other";
      }
      return b;
}

function isE(input) 
{
    return (input == null || input == "")
}
