<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="/" />
<script type="text/javascript">
  var _event_transid='2626025038';
  var _event_clientip='66.249.83.46';
  var _event_clientport='51616';
</script>

    <style>
        body, html {
            font-family: arieal, verdana;
            margin: 0;
            padding: 0;
        }

        /*.oopsHeader {
            background-color: #D9D9D9;
            width: 100%;
            height: 102px;
        }

        .oopsHeader img {
            line-height: 102px;
            margin-left: 35px;
        }*/

        .oopsMessage {
            border-radius: 12px;
            width: 848PX;
            height: 322PX;
            background-color: #F4F4F4;
            border: 1px solid #1B4A85;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }

            .oopsMessage img {
                margin: 0 auto;
                width: 100%;
            }

        .oopsMessageTitle p {
            color: #ff0000;
            font-size: 16px;
            font-family: arieal, verdana;
            width: 675px;
            padding: 5px;
            margin: 16px auto 15px;
        }

        .oopsMessageTitle {
            width: 100%;
            background-image: url("http://j1.gatewayinterface.com/App_Themes/SecurityPage/icon.png");
            background-repeat: no-repeat;
            margin: 0 auto;
            BACKGROUND-POSITION: 63px 40px;
            padding-top: 34px;
            text-align: center;
        }

        .oopsMessagetext {
            font-size: 15px;
            font-family: arieal, verdana;
            margin: 10px auto 30px;
            width: 721px;
            padding: 0;
        }

            .oopsMessagetext p {
                margin: 2px 0;
                padding: 0;
            }

        .oopsMessageButtons {
            width: 715px;
            margin: 0 auto;
        }

        .homePageButton {
            text-decoration: none;
            text-align: center;
            background-color: #1B4A85;
            -webkit-border-radius: 7px;
            -moz-border-radius: 7px;
            border-radius: 7px;
            width: 355px;
            height: 60px;
            display: inline-block;
            font-size: 19px;
            line-height: 50px;
            color: rgba(252,252,252,1);
            font-weight: bold;
        }

        .homePageButton {
            margin-bottom: 25px;
            margin-bottom: 10px;
        }

        @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
            .oopsHeader {
                height: 44px;
            }

                .oopsHeader img {
                    line-height: 52px;
                    height: 52px;
                }

            .oopsMessageTitle {
                BACKGROUND-POSITION: 50% 12px;
                padding-top: 34px;
            }

            .oopsMessage {
                width: 332px;
                height: 375px;
            }

            .oopsMessageTitle p {
                font-size: 14px;
                width: 292px;
                margin: 21px auto 0px;
            }

            .oopsMessagetext {
                text-align: left;
                font-size: 13px;
                margin: 15px auto 41px;
                width: 309px;
                padding: 0;
            }

            .homePageButton, .customServButton {
                display: block;
            }

            .oopsMessageButtons {
                width: 310px;
                margin-bottom: 5px;
            }

            .oopsMessage img {
                margin: 0 auto;
                width: 250px;
            }

            .homePageButton {
                margin: 2px auto 0;
                width: 310px;
                height: 60px;
                font-size: 15px;
            }
        }

        @media only screen and (min-device-width : 320px) and (max-device-height : 480px) {
            .oopsHeader {
                height: 52px;
            }

                .oopsHeader img {
                    line-height: 52px;
                    height: 52px;
                }

            .oopsMessageTitle {
                BACKGROUND-POSITION: 50% 12px;
                padding-top: 34px;
            }

            .oopsMessage {
                width: 290px;
                height: 375px;
                top: 30px;
            }

            .oopsMessageTitle p {
                font-size: 13px;
                width: 292px;
                margin: 21px auto 0px;
            }

            .oopsMessagetext {
                text-align: left;
                font-size: 12px;
                margin: 5px auto 40px;
                width: 282px;
                padding: 0;
            }

            .homePageButton, .customServButton {
                display: block;
            }

            .oopsMessageButtons {
                width: 310px;
                margin-bottom: 5px;
            }

            .oopsMessage img {
                margin: 0 auto;
                width: 250px;
            }

            .homePageButton {
                margin: 2px 20px 0;
                width: 250px;
                height: 50px;
                font-size: 15px;
            }
        }



        @media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
            .oopsMessagetext {
                width: 420px;
            }

            .oopsMessageTitle p {
                width: 390px;
                margin: 0 auto;
            }

            .oopsMessageTitle {
                BACKGROUND-POSITION: 2% 35px;
            }

            .oopsMessage {
                width: 480px;
                height: 240px;
            }

            .homePageButton {
                margin-top: -34px;
            }
        }
    </style>

    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
    <div class="oopsPageContainer">
        <!--<div class="oopsHeader">
            <a href="#">
                <img src="/Services/GeneralData/SiteImage.ashx" />
            </a>
        </div>-->
        <div class="oopsMessage">
            <div class="oopsMessageTitle">

                <p>Oooops... There seems to be a problem with the page you are trying to reach</p>
                <img src="http://j1.gatewayinterface.com/App_Themes/SecurityPage/line.png" />
            </div>
            <div class="oopsMessagetext">
                <p> Our apologies. The page you are attempting to reach is currently disabled for your device.</p>
                <p> If you believe you received this message in error please contact us at <a id="mailto" class="customServButton" href="mailto:info@wlmailer.com" target="_top">info@wlmailer.com.</a></p>
                <p>Please be sure to include the following issue number in your email: <span id="issueIdWrapper">$issuenumber$</span></p>
            </div>
            <div class="oopsMessageButtons">
                <a class="homePageButton" href="/">Take me Back to Home Page</a>
            </div>
        </div>
    </div>
    <script>
       // window._event_transid = 4564;
        var ticketId = window._event_transid !== undefined && window._event_transid || -1; 
        var issueIdWrapper = document.getElementById("issueIdWrapper");
        if (issueIdWrapper) {
            issueIdWrapper.innerHTML = ticketId;
        }

        var mailto = document.getElementById("mailto");
        if (mailto) {
            mailto.setAttribute("href", "mailto:info@wlmailer.com?Subject=issueid=" + ticketId);
        }
        

        sendSQS(ticketId);

        function sendSQS(ticketId) {               
            var params = { "QueueUrl": "https://sqs.us-east-1.amazonaws.com/119287891138/LOGS", "Version": "2012-11-05", "Action": "SendMessage" };
            params = Object.keys(params).map(function (k) {
                    return encodeURIComponent(k) + '=' + encodeURIComponent(params[k])
            }).join('&');


            var messageBody = {};
            messageBody['ticketId'] = ticketId || -1;
			messageBody['bagsrv'] = getCookieVal("bagsrv");
            messageBody['@originname'] = 'Waf Block Guest';
			messageBody['@originid'] = '1142';            
            messageBody['@cliententrytime'] = new Date();
            messageBody['http_user_agent'] = encodeURIComponent(navigator.userAgent);
            messageBody['http_referer'] = encodeURIComponent(window.location.href);

            params += "&MessageBody=" + JSON.stringify(messageBody);

            var xhr = new XMLHttpRequest();
            xhr.open("POST", 'https://sqs.us-east-1.amazonaws.com/', true);
            xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
            xhr.send(params);
        }

        function getCookieVal(cName) {
			var x, y, ARRcookies = document.cookie.split(";");
			for (var i = 0; i < ARRcookies.length; i++) {
				x = ARRcookies[i].substr(0, ARRcookies[i].indexOf("="));
				y = ARRcookies[i].substr(ARRcookies[i].indexOf("=") + 1);
				x = x.replace(/^\s+|\s+$/g, "");
				if (x == cName) {
					return unescape(y);
				}
			}
		}
    </script>
</body>
</html>
