anchor.diff:      console.log(e.message);
     });
     map.addControl(geolocationControl);
  +  map.enableScrollWheelZoom(true);
     
     geocoder.getPoint(address, function(point) {
   		if (point) {
  
positive.code: 			}
  		%>	
  		
  		function drawBaiduPoint (point, text, scrName, profileImg){		
  			var contentString = '<div id="content">'+
  			      '<div id="siteNotice">'+
  			      '</div>'+
  
negative.code: 			var infoWindow = new BMap.InfoWindow(contentString);  // 创建信息窗口对象
  	
  			var marker = new BMap.Marker(point);
  			//map.addOverlay(marker);
  			marker.addEventListener("click", function(){          
  			   this.openInfoWindow(infoWindow);
  			   //图片加载完毕重绘infowindow
  			   document.getElementById('profile_img').onload = function (){
  				   infoWindow.redraw();   //防止在网速较慢，图片未加载时，生成的信息框高度比图片的总高度小，导致图片部分被隐藏
  			   }
  			});
  			while(arrayContains(markerCollector, marker)){
  				marker.getPosition().lng += (0.5 - Math.random())*0.01;
  				marker.getPosition().lat += (0.5 - Math.random())*0.01;
  			}
  			markerCollector.push(marker);
  			if(markerCollector.length == maxLength){
  				//最简单的用法，生成一个marker数组，然后调用markerClusterer类即可。
  				markerClusterer = new BMapLib.MarkerClusterer(map, {markers:markerCollector});
  			}
  		}
  		
  		function arrayContains(markerArray, marker){
  			if(!markerArray || !marker) return false;
  			for(var k in markerArray){
  				if(markerArray[k].getPosition().equals(marker.getPosition())){
  					return true;
  				}
  			}
  			return false;
  		}
    });
  }
  
  