def detect_black_berry_high()

      if (detect_black_berry_web_kit())
        return false
      end
      if (detect_black_berry())
        if (detect_black_berry_touch() || user_agent.include?(DEVICE_B_B_BOLD) || user_agent.include?(DEVICE_B_B_TOUR) || user_agent.include?(DEVICE_B_B_CURVE))
          return true
        else
          return false
        end
      else
        return false
      end
    end
def detect_black_berry_high()

      if (detect_black_berry_web_kit())
        return false
      end
      if (detect_black_berry())
        if (detect_black_berry_touch() || user_agent.include?(DEVICE_B_B_BOLD) || user_agent.include?(DEVICE_B_B_TOUR) || user_agent.include?(DEVICE_B_B_CURVE))
          return true
        else
          return false
        end
      else
        return false
      end
    end
=begin
*
     * Detects if the current browser is a BlackBerry device AND
     *   has a more capable recent browser. Excludes the Playbook.
     *   Examples, Storm, Bold, Tour, Curve2
     *   Excludes the new BlackBerry OS 6 and 7 browser!!
     * @return detection of a Blackberry device with a better browser

=end