
        var YMaps = {};
        YMaps.__MapData = {
            userKey: "AD-3Q1IBAAAAmqOMKwMAnEJwVPsZuudWcVWFPW_LTx7UX_UAAAAAAAAAAAD5sdeAWMFGK2cR3BI5ktyOXwR-pw==",
            versionPath: "http://api-maps.yandex.ru/1.0.8/",
            tileUrlTemplates:{
                map: 'http://vec0%d.maps.yandex.net/tiles?l=map&%c&%g',
                sat: 'http://sat0%d.maps.yandex.net/tiles?l=sat&%c&%g',
                skl: 'http://vec0%d.maps.yandex.net/tiles?l=skl&%c&%g'
            },
            printerHost: '\/\/static-maps.yandex.ru\/1.x\/'
        }

        new function () {
            var scriptsToLoad = [
                    YMaps.__MapData.versionPath + 'xml/data.xml?v=' + '3.177.04.19.4',
                    YMaps.__MapData.versionPath + '_YMaps.js'
                ],
                cssToLoad = [
                    YMaps.__MapData.versionPath + '_YMaps.css',
                    YMaps.__MapData.versionPath + '_YMaps-ie.css'
                ],
                i = 0, l = scriptsToLoad.length;
            // Добавляем включение VML для IE
            document.write(
                '<!--[if IE]><style type="text/css">vml\\:shape,vml\\:group{behavior: url(#default#VML);display:inline-block;}</style><![endif]-->'
            );
            
                var include = function include (src) {
                    document.write("<script src='" + src + "' type='text/javascript' charset='utf-8'></script>");
                };

                var userAgent = window.navigator.userAgent.toLowerCase(),
                    isIe = userAgent.indexOf('opera') == -1 && userAgent.indexOf('msie') != -1;

                if (isIe && (!document.documentMode || document.documentMode < 8)) {
                    document.write('<link rel="stylesheet" href="' + cssToLoad[1] + '"/>');
                } else {
                    document.write('<link rel="stylesheet" href="' + cssToLoad[0] + '"/>');
                }

                for (; i < l; i++) {
                    include(scriptsToLoad[i]);
                }

                YMaps.load = function (callback) {
                    if (typeof callback == 'function') {
                        callback();
                    }
                }
            
        }
    