function CreateMap(a,b,c){if(GBrowserIsCompatible()){map=new GMap2(document.getElementById(a));map.addControl(new GSmallMapControl);map.setCenter(b,c);AddMapZoom(a)}return map}function CreateMarkerInfo(c,d){var b,a=new GIcon;a.image="/images/marker.png";a.iconSize=new GSize(25,40);a.iconAnchor=new GPoint(13,40);a.shadow="/images/marker-shadow.png";a.shadowSize=new GSize(45,38);a.infoWindowAnchor=new GPoint(13,2);b=new GMarker(c,a);GEvent.addListener(b,"click",function(){b.openInfoWindowHtml(d,{maxWidth:100})});return b}function CreateMarkerSimple(c){var b,a=new GIcon;a.image="/images/marker.png";a.iconSize=new GSize(32,47);a.iconAnchor=new GPoint(13,16);a.shadow="/images/marker-shadow.png";a.shadowSize=new GSize(37,34);a.infoWindowAnchor=new GPoint(13,2);b=new GMarker(c,a);return b}function AddMapZoom(a){$("#"+a).mouseenter(function(){$("#"+a).addClass("map-big")}).mouseleave(function(){$("#"+a).removeClass("map-big")});$("#"+a).parent().find(".js-zoom-map").click(function(){$("#"+a).toggleClass("map-big")});$("#"+a).parent().find(".js-get-map-widget").click(function(){$("#"+a).parent().parent().parent().find(".box-get-widget").toggleClass("cl_Hide")})}
