function ELabel(a){this.point=a.latlng;this.html=a.label;this.classname=a.classname||"";this.pixelOffset=a.offset||new google.maps.Size(0,0);if(a.opacity&&(0>a.opacity&&(a.opacity=0),100<a.opacity))a.opacity=100;this.percentOpacity=a.opacity;this.overlap=a.overlap||!1;this.hidden=!1;this.clicktarget=a.clicktarget?a.clicktarget:!1}ELabel.prototype=new google.maps.OverlayView; ELabel.prototype.onAdd=function(a){var b=document.createElement("div");b.style.position="absolute";b.innerHTML='<div class="'+this.classname+'">'+this.html+"</div>";this.getPanes().floatShadow.appendChild(b);this.map_=a;this.div_=b;if(this.percentOpacity&&("string"==typeof b.style.filter&&(b.style.filter="alpha(opacity:"+this.percentOpacity+")"),"string"==typeof b.style.KHTMLOpacity&&(b.style.KHTMLOpacity=this.percentOpacity/100),"string"==typeof b.style.MozOpacity&&(b.style.MozOpacity=this.percentOpacity/ 100),"string"==typeof b.style.opacity))b.style.opacity=this.percentOpacity/100;this.overlap&&(a=1E3*(90-this.point.lat()),this.div_.style.zIndex=parseInt(a));this.hidden&&this.hide();if(this.clicktarget){var c=this.clicktarget;"undefined"!=typeof jQuery&&jQuery(this.div_).click(function(){google.maps.event.trigger(c,"click")})}};ELabel.prototype.onRemove=function(){this.div_.parentNode.removeChild(this.div_)}; ELabel.prototype.copy=function(){return new ELabel({latlng:this.point,label:this.html,classname:"label",offset:new google.maps.Size(-18,-12),opacity:100,overlap:!0,clicktarget:!1})};ELabel.prototype.draw=function(){var a=this.getProjection().fromLatLngToDivPixel(this.point);this.div_.style.left=a.x+this.pixelOffset.width+"px";this.div_.style.top=a.y+this.pixelOffset.height+"px"};ELabel.prototype.show=function(){this.div_&&(this.div_.style.display="",this.draw());this.hidden=!1}; ELabel.prototype.hide=function(){this.div_&&(this.div_.style.display="none");this.hidden=!0};ELabel.prototype.isHidden=function(){return this.hidden};ELabel.prototype.supportsHide=function(){return!0};ELabel.prototype.setContents=function(a){this.html=a;this.div_.innerHTML='<div class="'+this.classname+'">'+this.html+"</div>";this.draw()}; ELabel.prototype.setOpacity=function(a){a&&(0>a&&(a=0),100<a&&(a=100));if(this.percentOpacity=a)if("string"==typeof this.div_.style.filter&&(this.div_.style.filter="alpha(opacity:"+this.percentOpacity+")"),"string"==typeof this.div_.style.KHTMLOpacity&&(this.div_.style.KHTMLOpacity=this.percentOpacity/100),"string"==typeof this.div_.style.MozOpacity&&(this.div_.style.MozOpacity=this.percentOpacity/100),"string"==typeof this.div_.style.opacity)this.div_.style.opacity=this.percentOpacity/100}; ELabel.prototype.getPoint=function(){return this.point};