function isMobile() {
        return (/android|blackberry|iemobile|ipad|iphone|ipod|opera mini|webos/i).test(navigator.userAgent);
    }
@returns {Boolean} true if agent is probably a mobile device. Don't really care if this is accurate.