        var YMaps = {};
        YMaps.__MapData = {
            userKey: "AErNwUoBAAAAYWG3MgIAUX6SZaE2C55let7IRLKh3Dm5ZXMAAAAAAAAAAADNy_buxYuJdvO5IiG-dWxUVOupug==",
            versionPath: "http://api-maps.yandex.ru/1.0.6/",
            tileUrlTemplates:{
                map: 'http://vec0%d.maps.yandex.ru/tiles?l=map&%c',
                sat: 'http://sat0%d.maps.yandex.ru/tiles?l=sat&%c',
                skl: 'http://vec0%d.maps.yandex.ru/tiles?l=skl&%c'
            },
            printerHost: 'http:\/\/print.maps.yandex.net\/1.x\/'
        }

        new function () {
            var scriptsToLoad = [
                    YMaps.__MapData.versionPath + 'xml/data.xml?v=' + '1.36.7',
                    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();
                    }
                }
            
        }

        window.onload = function () {
        var map = new YMaps.Map(document.getElementById("YMapsID"));
        map.setCenter(new YMaps.GeoPoint(37.741234,55.723622), 15, YMaps.MapType.MAP);
        map.addControl(new YMaps.Zoom());
        map.addControl(new YMaps.ToolBar());
        map.addControl(new YMaps.TypeControl());
        var s = new YMaps.Style();
        s.iconStyle = new YMaps.IconStyle();
        s.iconStyle.offset = new YMaps.Point(-13,-40);
        s.iconStyle.href = "http://api-maps.yandex.ru/i/0.3/placemarks/pmlbl1.png";
        s.iconStyle.size = new YMaps.Point(36,41);
        YMaps.Styles.add("wizard#lbl1Point", s);


        var s = new YMaps.Style();
        s.iconStyle = new YMaps.IconStyle();
        s.iconStyle.offset = new YMaps.Point(-13,-40);
        s.iconStyle.href = "http://api-maps.yandex.ru/i/0.3/placemarks/pmlbl2.png";
        s.iconStyle.size = new YMaps.Point(36,41);
        YMaps.Styles.add("wizard#lbl2Point", s);


        var s = new YMaps.Style();
        s.iconStyle = new YMaps.IconStyle();
        s.iconStyle.offset = new YMaps.Point(-13,-40);
        s.iconStyle.href = "http://api-maps.yandex.ru/i/0.3/placemarks/pmlbl3.png";
        s.iconStyle.size = new YMaps.Point(36,41);
        YMaps.Styles.add("wizard#lbl3Point", s);


        var s = new YMaps.Style();
        s.lineStyle = new YMaps.LineStyle();
        s.lineStyle.strokeColor = "ff3732FF";
        s.lineStyle.strokeWidth = 5;
        YMaps.Styles.add("wizard#ff3732FF5Line", s);


        var placemark1 = new YMaps.Placemark(new YMaps.GeoPoint(37.740192,55.725483), {style: "wizard#lbl1Point", balloonOptions: {maxWidth: 300}});
        map.addOverlay(placemark1);
        placemark1.setBalloonContent("Магазин спец-одежды &quot;Восток-Сервис&quot;<br/>2-ой Грайвороновский проезд, д.36");
        var placemark2 = new YMaps.Placemark(new YMaps.GeoPoint(37.741764,55.725711), {style: "wizard#lbl2Point", balloonOptions: {maxWidth: 300}});
        map.addOverlay(placemark2);
        placemark2.setBalloonContent("Техцентр &quot;Сузуки&quot;.<br/>2-ой Грайвороновский проезд, д.38");
        var placemark3 = new YMaps.Placemark(new YMaps.GeoPoint(37.742016,55.722061), {style: "wizard#lbl3Point", balloonOptions: {maxWidth: 300}});
        map.addOverlay(placemark3);
        placemark3.setBalloonContent("Въезд.КПП.<br/>Территория завода &quot;Сатурн&quot;<br/>2-ой Грайвороновский проезд, д.46<br/><b>ООО &quot;СК-Конструкторстрой&quot;</b><br>тел: (495)232-50-64");
        var polyline1= new YMaps.Polyline([new YMaps.GeoPoint(37.742061,55.725909),new YMaps.GeoPoint(37.742232,55.72559),new YMaps.GeoPoint(37.742232,55.725493),new YMaps.GeoPoint(37.742115,55.725432),new YMaps.GeoPoint(37.741818,55.725326),new YMaps.GeoPoint(37.74101,55.725067),new YMaps.GeoPoint(37.740417,55.72489),new YMaps.GeoPoint(37.740085,55.724768),new YMaps.GeoPoint(37.739923,55.724677),new YMaps.GeoPoint(37.739824,55.724535),new YMaps.GeoPoint(37.739797,55.724424),new YMaps.GeoPoint(37.739851,55.724282),new YMaps.GeoPoint(37.739977,55.724064),new YMaps.GeoPoint(37.740094,55.723876),new YMaps.GeoPoint(37.740264,55.723587),new YMaps.GeoPoint(37.740525,55.723207),new YMaps.GeoPoint(37.740911,55.722679),new YMaps.GeoPoint(37.741118,55.722507),new YMaps.GeoPoint(37.741908,55.722101)], {style: "wizard#ff3732FF5Line",clickable: 0});
        map.addOverlay(polyline1);
    }
