<!DOCTYPE html>
<!--[if lte IE 9]>
<html dir="$TextDirection$" class="lt-ie9"> <![endif]-->
<!--[if gt IE 9]><!-->
<html dir="$TextDirection$">
<!--<![endif]-->
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
    <link rel="shortcut icon" href="data:image/x-icon;base64,malformed-to-disable-favicon">
    <title>$SafeNavigateIntermediateStubInfoHeader$</title>
    <style>
        !main_styles.css!
        !controls.css!
        !spinner.css!
    </style>
    <noscript>
        <meta http-equiv="REFRESH" content="0; url=%CheckPassedUrl%">
    </noscript>
</head>
<body tag="safe-banking-intermediate">
    <table class="wrapper">
        <tr>
            <td>
                <div class="main">
                    <div class="aside">
                        <img src="#banking_stubs.png#" alt="Safe money" />
                    </div>
                    <div class="content">
                        <h1>$SafeNavigateIntermediateStubInfoTitle$</h1>
                        <div id="spinner">
                            <img id="loader" src="#html_loader.png#" alt="" />
                            <div id="loader_old"> </div>
                        </div>

                        <p>$Website$: %TargetUrl%</p>
                        <div class="buttons"></div>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td height="50">
                <a href="%GetMoreInfoUrl%" class="info" target="_blank">$GetMoreInfoAboutProduct$</a>
                <img class="logo" src="#logo.png#" alt="Kaspersky Lab" />
                <div class="clear"></div>
            </td>
        </tr>
    </table>
    <script type="text/javascript">%SpinnerScript%</script>
    <script type="text/javascript">?safe_nav_check_environment.js?</script>
    <script type="text/javascript">

        var exploratoryRequestsSent = false;
        function processExploratoryRequest(request)
        {
            if(!exploratoryRequestsSent && request && request.urlsToExplore)
            {
                var forceLoadImage = 0;
                for(i = 0; i < request.urlsToExplore.length; i++)
                {
                    var element = document.createElement("img");
                    element.src = request.urlsToExplore[i];
                    element.setAttribute("style", "display:none");
                    document.body.appendChild(element);
                    forceLoadImage += element.width;
                }
                exploratoryRequestsSent = true;
            }
        }

        function cookieNames(cookiesString)
        {
            var allCookies = cookiesString.split(';');
            var namesString = '';
            for (var i = 0 ; i < allCookies.length; i++) 
            {
                namesString += allCookies[i].split('=')[0] + '=;';
            }
            return namesString;
        }

        setCustomScriptData(cookieNames(document.cookie));
        setCustomCommandProcessor(processExploratoryRequest);

        enqueueIntermediateStubCheck();
    </script>
</body>
</html>

