<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>App Download Redirect</title>
    <script>
        window.onload = function() {
            var ua = navigator.userAgent.toLowerCase();

            if (ua.indexOf("android") > -1) {
                window.location.href = "https://play.google.com/store/apps/details?id=za.co.iwhizmobile&hl=en_ZA&gl=US";
            } else if (ua.indexOf("iphone") > -1 || ua.indexOf("ipad") > -1) {
                window.location.href = "https://apps.apple.com/za/app/iwhiz/id1494759333";
            } else if (ua.indexOf("huawei") > -1) {
                window.location.href = "https://appgallery.huawei.com/app/C105677397?sharePrepath=ag&channelId=iWhiz%20Channel&id=60d254ff9b7d44d281edef12677fa086&s=F649993A5FD8B5B8BC9CE377B6CE2ED4392A95F6D88DB1C8AF7932C867766B7F&detailType=0&v=&callType=AGDLINK&installType=0000&shareTo=qrcode";
            } else {
                window.location.href = "https://play.google.com/store/apps/details?id=za.co.iwhizmobile&hl=en_ZA&gl=US";
            }
        }
    </script>
</head>
<body>
    Redirecting...
</body>
</html>