
Kaas.googlemaps.setXXX = function() {
	
	var g = this.gmap;
	var _array = ['aM0','aM1','aM2','aM4','aM6','aM5','aM3','aM7'];

//	alert(document.getElementById(_array[0]));

	for (var i = 0; i < _array.length; i++) {
		var a = document.getElementById(_array[i]);
		a.m = this.mark[i];
		a.marker = this.getMarker[i];

	a.onclick = function() {
			var _a = this;
			g.panTo(new GLatLng(this.m.latlng[0], this.m.latlng[1]));
			
			if (this.m.html != undefined) {
				var w = Kaas.googlemaps.infoWindowMaxWidth;
				var infoWindowOpt = g.getInfoWindow();
				infoWindowOpt.maxWidth = w;
				var timerId = setTimeout(function() {
					_a.marker.openInfoWindowHtml(_a.m.html, infoWindowOpt);
				}, 300);
				
			}

			if (anchor) {
				window.location.href = anchor;
			}
			
		};
	}
}