    if (wireless()) {
        window.location="https://mobile.americantrust.com";
    }

    function wireless () {

        try {
            if (window.location.href.indexOf("dsbl_mobi_redir=yes") > -1) return false;

            userAgent = navigator.userAgent;

            if (userAgent == null) return false;

            if(userAgent.indexOf("Novarra-Vision") > -1) return true;

            if(userAgent.indexOf("iPad") > -1) return false;

            var names= ["320x", "160x", "Blazer", "Danger", "UP.Browser", "NetFront", "blackberry", "UP.Link", "CLDC", "J2ME", "AU-MIC", "PalmSource", "PalmOS", "Xiino" , "Windows CE", "Ericsson", "Avantgo", "Nokia", "Samsung", "Symbian", "SEC-SGH", "ATTWS", "Mobile", "Elaine", "OpenWeb", "LGE VX", "LGE-VX", "LGE-LG", "MOTO", "MOT-", "DoCo Mo", "HTC", "SKPD0", "SKPB0", "webOS"];
            for (var x in names ) {
                if(userAgent.indexOf(names[x]) > -1) return true;

                if (names[x] == "blackberry")
                    if (userAgent.toLowerCase().indexOf(names[x]) > -1) return true;
            } //* for

        } catch (ex) { }

        return false;
    } //* wireless

