' + adres[i] + ' подробнее...'+ '
Только ' + name[i] + '' + ' ' + usdbuy[i] + ' ' + eurbuy[i] }, { iconLayout: squareLayout, iconShape: { type: 'Rectangle',/*'Polygon',*/ coordinates: [[-20, -49], [23, 0]] }});placemarks.push(placemark);}clusterer.add(placemarks);map.geoObjects.add(clusterer);if (clusterer.getClusters().length != 0) { map.setBounds(clusterer.getBounds()); }else { map.setCenter(placemarks[0].geometry.getCoordinates(), 15); }};function phoneformat(phone) {var len = phone.length;if (len == 10) {phone = phone.replace(/(\d{3})(\d{3})(\d{2})(\d{2})/, '+7 ($1) $2-$3-$4');} else if (len == 12) {phone = phone.replace(/(\d{2})(\d{3})(\d{3})(\d{2})(\d{2})/, '+$1 ($2) $3-$4-$5');}return phone;}