OpenLayers.Util.modifyAlphaImageDiv=function(a,b,j,i,d,h,f,e,c){OpenLayers.Util.modifyDOMElement(a,b,j,i,h,null,null,c);var g=a.childNodes[0];if(d){g.src=d}OpenLayers.Util.modifyDOMElement(g,a.id+"_innerImage",null,i,"relative",f);if(OpenLayers.Util.alphaHack()){if(a.style.display!="none"){a.style.display="inline-block"}if(e==null){e="scale"}a.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+g.src.replace(/%/g,"%25")+"', sizingMethod='"+e+"')";if(parseFloat(a.style.opacity)>=0&&parseFloat(a.style.opacity)<1){a.style.filter+=" alpha(opacity="+a.style.opacity*100+")"}g.style.filter="alpha(opacity=0)"}};OpenLayers.Control.DragPan.prototype.panMap=function(b){if(!this.panned){if(this.map.panTween){this.map.panTween.stop()}this.map.events.triggerEvent("movestart");this.panned=true}this.map.layerContainerDiv.style.left=(parseInt(this.map.layerContainerDiv.style.left)-this.handler.last.x+b.x)+"px";this.map.layerContainerDiv.style.top=(parseInt(this.map.layerContainerDiv.style.top)-this.handler.last.y+b.y)+"px";var a=this.map.getViewPortPxFromLonLat(this.map.center);this.map.center=this.map.getLonLatFromViewPortPx(new OpenLayers.Pixel(a.x+this.handler.last.x-b.x,a.y+this.handler.last.y-b.y));this.map.events.triggerEvent("move")};OpenLayers.Control.DragPan.prototype.panMapDone=function(b){if(this.panned){var a=this.map.getViewPortPxFromLonLat(this.map.center);this.map.setCenter(this.map.getLonLatFromViewPortPx(new OpenLayers.Pixel(a.x+this.handler.last.x-b.x,a.y+this.handler.last.y-b.y)));this.panned=false}};OpenLayers.Map.prototype.minZoom=0;OpenLayers.Map.prototype.isValidZoomLevel=function(a){return((a!=null)&&(a>=this.minZoom)&&(a<this.getNumZoomLevels()))};OpenLayers.Map.prototype.getZoomForExtent=function(a,b){if(this.baseLayer!=null){return Math.max(this.minZoom,this.baseLayer.getZoomForExtent(a,b))}return null};OpenLayers.Map.prototype.setMinZoom=function(a){this.minZoom=a};OpenLayers.Control.PanZoomBar.prototype._addZoomBarOrg=OpenLayers.Control.PanZoomBar.prototype._addZoomBar;OpenLayers.Control.PanZoomBar.prototype._addZoomBar=function(b){b=this._addZoomBarOrg(b);try{var a=(this.zoomStopHeight*(this.map.getNumZoomLevels()-this.map.minZoom));if(this.zoombarDiv.style){this.zoombarDiv.style.height=(a)+"px"}}catch(c){}return b.add(0,-this.zoomStopHeight*this.map.minZoom)};OpenLayers.Control.PanZoomBar.prototype.zoomWorldIcon=true;OpenLayers.Map.prototype.initExtent=null;OpenLayers.Map.prototype.setInitExtent=function(a){this.initExtent=a};OpenLayers.Control.PanZoom.prototype.buttonDown=function(a){if(!OpenLayers.Event.isLeftClick(a)){return}switch(this.action){case"panup":this.map.pan(0,-this.map.getSize().h/2,{animate:true});break;case"pandown":this.map.pan(0,this.map.getSize().h/2,{animate:true});break;case"panleft":this.map.pan(-this.map.getSize().w/2,0,{animate:true});break;case"panright":this.map.pan(this.map.getSize().w/2,0,{animate:true});break;case"zoomin":this.map.zoomIn();break;case"zoomout":this.map.zoomOut();break;case"zoomworld":if(this.map.initExtent){var b=this.map.getZoomForExtent(this.map.initExtent);if(b!=this.map.getZoom()){this.map.zoomTo(b)}this.map.panTo(this.map.initExtent.getCenterLonLat())}else{this.map.zoomToMaxExtent()}break}OpenLayers.Event.stop(a)};OpenLayers.Control.PanZoomBar.prototype.buttonDown=OpenLayers.Control.PanZoom.prototype.buttonDown;OpenLayers.Control.PanZoomBar.prototype.wheelHandler=null;OpenLayers.Control.PanZoomBar.prototype.enableZoomWheel=function(){if(!this.wheelHandler){this.wheelHandler=new OpenLayers.Handler.ZoomWheel(this,{up:this.wheelUp,down:this.wheelDown})}this.wheelHandler.activate()};OpenLayers.Control.PanZoomBar.prototype.disableZoomWheel=function(){if(this.wheelHandler){this.wheelHandler.deactivate()}};OpenLayers.Control.PanZoomBar.prototype.wheelChange=function(a,c){var b=this.map.getZoom()+c;if(!this.map.isValidZoomLevel(b)){return}this.map.zoomTo(b)};OpenLayers.Control.PanZoomBar.prototype.wheelUp=function(a){this.wheelChange(a,1)};OpenLayers.Control.PanZoomBar.prototype.wheelDown=function(a){this.wheelChange(a,-1)};OpenLayers.Handler.ZoomWheel=OpenLayers.Class(OpenLayers.Handler,{wheelListener:null,mousePosition:null,initialize:function(c,a,b){OpenLayers.Handler.prototype.initialize.apply(this,arguments);this.wheelListener=OpenLayers.Function.bindAsEventListener(this.onWheelEvent,this)},destroy:function(){OpenLayers.Handler.prototype.destroy.apply(this,arguments);this.wheelListener=null},onWheelEvent:function(c){var a=false;var b=OpenLayers.Event.element(c);while(b!=null){if(this.control&&b==this.control.div){a=true;break}b=b.parentNode}if(a){if(!this.map||!this.checkModifiers(c)){return}var b=OpenLayers.Event.element(c);while(b!=null){if(b==this.control.div){this.wheelZoom(c);break}b=b.parentNode}OpenLayers.Event.stop(c)}},wheelZoom:function(a){var b=0;if(!a){a=window.event}if(a.wheelDelta){b=a.wheelDelta/120;if(window.opera&&window.opera.version()<9.2){b=-b}}else{if(a.detail){b=-a.detail/3}}if(b){if(this.mousePosition){a.xy=this.mousePosition}if(!a.xy){a.xy=this.map.getPixelFromLonLat(this.map.getCenter())}if(b<0){this.callback("down",[a,b])}else{this.callback("up",[a,b])}}},mousemove:function(a){this.mousePosition=a.xy},activate:function(a){if(OpenLayers.Handler.prototype.activate.apply(this,arguments)){var b=this.wheelListener;OpenLayers.Event.observe(window,"DOMMouseScroll",b);OpenLayers.Event.observe(window,"mousewheel",b);OpenLayers.Event.observe(document,"mousewheel",b);return true}else{return false}},deactivate:function(a){if(OpenLayers.Handler.prototype.deactivate.apply(this,arguments)){var b=this.wheelListener;OpenLayers.Event.stopObserving(window,"DOMMouseScroll",b);OpenLayers.Event.stopObserving(window,"mousewheel",b);OpenLayers.Event.stopObserving(document,"mousewheel",b);return true}else{return false}},CLASS_NAME:"OpenLayers.Handler.ZoomWheel"});OpenLayers.Control.CenterCursor=OpenLayers.Class(OpenLayers.Control,{element:null,elementMap:null,size:23,opacity:0.6,initialize:function(){OpenLayers.Control.prototype.initialize.apply(this,arguments)},draw:function(){OpenLayers.Control.prototype.draw.apply(this,arguments);var a=this.createCursor();this.div.appendChild(a);this.element=a;this.element.style.display="none";this.moveCenter();this.map.events.register("movestart",this,this.moveStart);this.map.events.register("resize",this,this.moveCenter);this.map.events.register("moveend",this,this.moveEnd);return this.div},createCursor:function(){var b="red";var a="white";var e=document.createElement("div");e.className="CenterCursor";var c=e.style;c.width=c.height=this.size+"px";c.position="absolute";c.opacity=this.opacity;var d=Math.floor(this.size/2);e.appendChild(this.createLine(0,d-1,d-3,3,a));e.appendChild(this.createLine(d+4,d-1,d-3,3,a));e.appendChild(this.createLine(d-1,0,3,d-3,a));e.appendChild(this.createLine(d-1,d+4,3,d-3,a));e.appendChild(this.createLine(1,d,d-4,1,b));e.appendChild(this.createLine(d+4,d,d-4,1,b));e.appendChild(this.createLine(d,1,1,d-4,b));e.appendChild(this.createLine(d,d+4,1,d-4,b));return e},createLine:function(g,f,b,e,c){var a=document.createElement("div");var d=a.style;d.position="absolute";d.overflow="hidden";d.top=f+"px";d.left=g+"px";d.width=b+"px";d.height=e+"px";d.backgroundColor=c;return a},moveStart:function(){this.element.style.display="";this.elementMap.style.display="none"},moveEnd:function(){this.element.style.display="none";this.elementMap.style.display="";this.moveCenter()},moveCenter:function(){var a=this.map.getSize();this.element.style.left=((a.w-this.size)/2)+"px";this.element.style.top=((a.h-this.size)/2)+"px";var b=this.map.layerContainerDiv;if(!this.elementMap){this.elementMap=this.createCursor();this.elementMap.style.zIndex=750;b.appendChild(this.elementMap)}else{this.elementMap.style.left=((a.w-this.size)/2-b.offsetLeft)+"px";this.elementMap.style.top=((a.h-this.size)/2-b.offsetTop)+"px"}},CLASS_NAME:"OpenLayers.Control.CenterCursor"});OpenLayers.Control.ScaleBar=OpenLayers.Class(OpenLayers.Control,{element:null,scale:1,displaySystem:"metric",minWidth:100,maxWidth:200,divisions:2,subdivisions:2,showMinorMeasures:false,abbreviateLabel:false,singleLine:false,align:"left",div:null,scaleText:"scale 1/",thousandsSeparator:"",measurementProperties:{english:{units:["mile","feet","inche"],abbr:["mi","ft","in"],inches:[63360,12,1]},metric:{units:["kilometer","meter","centimeter"],abbr:["km","m","cm"],inches:[39370.07874,39.370079,0.393701]}},limitedStyle:false,customStyles:null,defaultStyles:{},appliedStyles:null,initialize:function(b){OpenLayers.Control.prototype.initialize.apply(this,[b]);if(!document.styleSheets){this.limitedStyle=true}if(this.limitedStyle){this.appliedStyles=OpenLayers.Util.extend({},this.defaultStyles);OpenLayers.Util.extend(this.appliedStyles,this.customStyles)}this.element=document.createElement("div");this.element.style.position="relative";this.element.className=this.displayClass+"Wrapper";this.labelContainer=document.createElement("div");this.labelContainer.className=this.displayClass+"Units";this.labelContainer.style.position="absolute";this.graphicsContainer=document.createElement("div");this.graphicsContainer.style.position="absolute";this.graphicsContainer.className=this.displayClass+"Graphics";this.numbersContainer=document.createElement("div");this.numbersContainer.style.position="absolute";this.numbersContainer.className=this.displayClass+"Numbers";this.element.appendChild(this.graphicsContainer);this.element.appendChild(this.labelContainer);this.element.appendChild(this.numbersContainer)},destroy:function(){this.map.events.unregister("moveend",this,this.onMoveend);this.div.innerHTML="";OpenLayers.Control.prototype.destroy.apply(this)},draw:function(){OpenLayers.Control.prototype.draw.apply(this,arguments);this.dxMarkerMajor=(this.styleValue("MarkerMajor","borderLeftWidth")+this.styleValue("MarkerMajor","width")+this.styleValue("MarkerMajor","borderRightWidth"))/2;this.dxMarkerMinor=(this.styleValue("MarkerMinor","borderLeftWidth")+this.styleValue("MarkerMinor","width")+this.styleValue("MarkerMinor","borderRightWidth"))/2;this.dxBar=(this.styleValue("Bar","borderLeftWidth")+this.styleValue("Bar","borderRightWidth"))/2;this.dxBarAlt=(this.styleValue("BarAlt","borderLeftWidth")+this.styleValue("BarAlt","borderRightWidth"))/2;this.dxNumbersBox=this.styleValue("NumbersBox","width")/2;var g=["Bar","BarAlt","MarkerMajor","MarkerMinor"];if(this.singleLine){g.push("LabelBoxSingleLine")}else{g.push("NumbersBox","LabelBox")}var f=0;for(var h=0;h<g.length;++h){var e=g[h];f=Math.max(f,this.styleValue(e,"top")+this.styleValue(e,"height"))}this.element.style.height=f+"px";this.xOffsetSingleLine=this.styleValue("LabelBoxSingleLine","width")+this.styleValue("LabelBoxSingleLine","left");this.div.appendChild(this.element);this.map.events.register("moveend",this,this.onMoveend);this.update();return this.div},onMoveend:function(){this.update()},update:function(m){if(this.map.baseLayer==null||!this.map.getScale()){return}this.scale=(m!=undefined)?m:this.map.getScale();this.element.title=this.scaleText+OpenLayers.Number.format(this.scale);this.element.style.width=this.maxWidth+"px";var t=this.getComp();this.setSubProps(t);this.labelContainer.innerHTML="";this.graphicsContainer.innerHTML="";this.numbersContainer.innerHTML="";var n=this.divisions*this.subdivisions;var s={left:0+(this.singleLine?0:this.dxNumbersBox),center:(this.maxWidth/2)-(n*this.subProps.pixels/2)-(this.singleLine?this.xOffsetSingleLine/2:0),right:this.maxWidth-(n*this.subProps.pixels)-(this.singleLine?this.xOffsetSingleLine:this.dxNumbersBox)};var u,p,l,q,o;for(var r=0;r<this.divisions;++r){u=r*this.subdivisions*this.subProps.pixels+s[this.align];this.graphicsContainer.appendChild(this.createElement("MarkerMajor"," ",u-this.dxMarkerMajor));if(!this.singleLine){p=(r==0)?0:OpenLayers.Number.format((r*this.subdivisions)*this.subProps.length,this.subProps.dec,this.thousandsSeparator);this.drawNumbersBox(p,u)}for(var v=0;v<this.subdivisions;++v){if((v%2)==0){q="Bar";o=u-this.dxBar}else{q="BarAlt";o=u-this.dxBarAlt}this.graphicsContainer.appendChild(this.createElement(q," ",o,this.subProps.pixels));if(v<this.subdivisions-1){l=(r*this.subdivisions)+v+1;u=l*this.subProps.pixels+s[this.align];this.graphicsContainer.appendChild(this.createElement("MarkerMinor"," ",u-this.dxMarkerMinor));if(this.showMinorMeasures&&!this.singleLine){p=l*this.subProps.length;this.drawNumbersBox(p,u)}}}}u=n*this.subProps.pixels;u+=s[this.align];this.graphicsContainer.appendChild(this.createElement("MarkerMajor"," ",u-this.dxMarkerMajor));p=OpenLayers.Number.format(n*this.subProps.length,this.subProps.dec,this.thousandsSeparator)+" "+this.subProps.abbr;if(!this.singleLine){this.drawNumbersBox(p,u)}},drawNumbersBox:function(d,c){this.numbersContainer.appendChild(this.createElement("NumbersBoxBgUp",d,c-this.dxNumbersBox-1));this.numbersContainer.appendChild(this.createElement("NumbersBoxBgUp",d,c-this.dxNumbersBox+1));this.numbersContainer.appendChild(this.createElement("NumbersBoxBg",d,c-this.dxNumbersBox-1));this.numbersContainer.appendChild(this.createElement("NumbersBoxBg",d,c-this.dxNumbersBox+1));this.numbersContainer.appendChild(this.createElement("NumbersBox",d,c-this.dxNumbersBox))},createElement:function(j,f,g,h){var i=document.createElement("div");i.className=this.displayClass+j;OpenLayers.Util.extend(i.style,{position:"absolute",textAlign:"center",overflow:"hidden",left:Math.floor(g)+"px"});i.appendChild(document.createTextNode(f));if(h){i.style.width=Math.round(h)+"px"}return i},getComp:function(){var J=this.measurementProperties[this.displaySystem];var v=J.units.length;var t=new Array(v);var w=this.divisions*this.subdivisions;for(var H=0;H<v;++H){t[H]={};var D=OpenLayers.DOTS_PER_INCH*J.inches[H]/this.scale;var F=((this.minWidth-this.dxNumbersBox)/D)/w;var u=((this.maxWidth-this.dxNumbersBox)/D)/w;for(var E=0;E<w;++E){var y=F*(E+1);var A=u*(E+1);var I=this.getHandsomeNumber(y,A);var x={value:(I.value/(E+1)),score:0,tie:0,dec:0,displayed:0};for(var s=0;s<w;++s){var B=I.value*(s+1)/(E+1);var z=this.getHandsomeNumber(B,B);var C=((s+1)%this.subdivisions==0);var G=((s+1)==w);if((this.singleLine&&G)||(!this.singleLine&&(C||this.showMinorMeasures))){x.score+=z.score;x.tie+=z.tie;x.dec=Math.max(x.dec,z.dec);x.displayed+=1}else{x.score+=z.score/this.subdivisions;x.tie+=z.tie/this.subdivisions}}x.score*=(H+1)*x.tie/x.displayed;t[H][E]=x}}return t},setSubProps:function(m){var j=this.measurementProperties[this.displaySystem];var o=Number.POSITIVE_INFINITY;var i=Number.POSITIVE_INFINITY;for(var k=0;k<m.length;++k){var n=OpenLayers.DOTS_PER_INCH*j.inches[k]/this.scale;for(var p in m[k]){var l=m[k][p];if(l.value>=0.33&&l.value<330){this.subProps={length:l.value,pixels:n*l.value,units:j.units[k],abbr:j.abbr[k],dec:l.dec};o=l.score;i=l.tie;break}}}},styleValue:function(r,k){var l=0;if(this.limitedStyle){l=this.appliedStyles[r][k]}else{r="."+this.displayClass+r;rules:for(var o=document.styleSheets.length-1;o>=0;--o){var n=document.styleSheets[o];if(!n.disabled){var i;try{if(typeof(n.cssRules)=="undefined"){if(typeof(n.rules)=="undefined"){continue}else{i=n.rules}}else{i=n.cssRules}}catch(q){continue}for(var p=0;p<i.length;++p){var m=i[p];if(m.selectorText&&(m.selectorText.toLowerCase()==r.toLowerCase())){if(m.style[k]!=""){l=parseInt(m.style[k]);break rules}}}}}}return l?l:0},getHandsomeNumber:function(x,z,p){p=(p==null)?10:p;var w={value:x,score:Number.POSITIVE_INFINITY,tie:Number.POSITIVE_INFINITY,dec:3};var u,v,n,y,t,q,o;for(var r=0;r<3;++r){u=Math.pow(2,(-1*r));v=Math.floor(Math.log(z/u)/Math.LN10);for(var s=v;s>(v-p+1);--s){n=Math.max(r-s,0);y=u*Math.pow(10,s);if((y*Math.floor(z/y))>=x){if(x%y==0){t=x/y}else{t=Math.floor(x/y)+1}q=t+(2*r);o=(s<0)?(Math.abs(s)+1):s;if((q<w.score)||((q==w.score)&&(o<w.tie))){w.value=parseFloat((y*t).toFixed(n));w.score=q;w.tie=o;w.dec=n}}}}return w},CLASS_NAME:"OpenLayers.Control.ScaleBar"});OpenLayers.Control.Attribution.prototype.updateAttribution=function(){var d=[];var c={};if(this.map&&this.map.layers){for(var b=this.map.layers.length-1;b>=0;b--){var a=this.map.layers[b];if(a.attribution&&a.getVisibility()&&!c[a.attribution]){d.push(a.attribution);c[a.attribution]=true}}this.div.innerHTML=d.join(this.separator)}};OpenLayers.Control.OverviewMap.prototype.updateOverview=function(){var a=this.map.getResolution();var b=this.ovmap.getResolution();var c=b/a;if(c>this.maxRatio*this.zoom){b=this.minRatio*this.zoom*a}else{if(c<=this.minRatio*this.zoom){b=this.maxRatio*this.zoom*a}}b=Math.max(b,this.minResolution*this.zoom);this.ovmap.setCenter(this.map.center,this.ovmap.getZoomForResolution(b));this.updateRectToMap()};OpenLayers.Control.OverviewMap.prototype.minResolution=null;OpenLayers.Control.OverviewMap.prototype.zoom=1;OpenLayers.Control.OverviewMap.prototype.zoomIn=function(){if(this.zoom>0.125){this.zoom/=2;this.updateOverview();console.log(this.zoom)}};OpenLayers.Control.OverviewMap.prototype.zoomOut=function(){if(this.zoom<8){this.zoom*=2;this.updateOverview();console.log(this.zoom)}};OpenLayers.Tile.prototype.draw=function(){var b=this.layer.maxExtent;var a=(b&&this.bounds.intersectsBounds(b,false));this.shouldDraw=(a||this.layer.displayOutsideMaxExtent);if(!this.layer.overDraw){this.clear()}return this.shouldDraw};OpenLayers.Layer.WMS.prototype.overRedraw=function(){this.overDraw=true;this.redraw(true);this.overDraw=false};OpenLayers.Layer.HTTPRequest.prototype.mergeNewParams=function(a){this.params=OpenLayers.Util.extend(this.params,a);return this.redraw(true)};OpenLayers.Layer.WMS.prototype.layerId=null;OpenLayers.Control.SearchArea=OpenLayers.Class(OpenLayers.Control,{callbackArea:null,callbackSearch:null,type:OpenLayers.Control.TYPE_TOOL,distance:false,draw:function(){this.handler=new OpenLayers.Handler.SearchBox(this,{start:this.startDrag,drag:this.dragArea,done:this.searchArea},{keyMask:this.keyMask})},startDrag:function(b){this.callbackArea()},dragArea:function(c,d){this.callbackArea(this.map.getLonLatFromPixel(c),this.getBounds(d))},searchArea:function(e,d){if(d){var e=this.map.getLonLatFromPixel(e);var f=this.getBounds(d);this.callbackArea(e,f)}this.callbackSearch()},getBounds:function(d){var e=this.map.getLonLatFromPixel(new OpenLayers.Pixel(d.left,d.bottom));var f=this.map.getLonLatFromPixel(new OpenLayers.Pixel(d.right,d.top));return new OpenLayers.Bounds(e.lon,e.lat,f.lon,f.lat)},CLASS_NAME:"OpenLayers.Control.SearchArea"});OpenLayers.Handler.SearchBox=OpenLayers.Class(OpenLayers.Handler,{dragHandler:null,boxDivClassName:"olHandlerBoxZoomBox",initialize:function(e,f,d){OpenLayers.Handler.prototype.initialize.apply(this,arguments);var f={down:this.startBox,move:this.moveBox,out:this.endBox,up:this.endBox};this.dragHandler=new OpenLayers.Handler.Drag(this,f,{keyMask:this.keyMask});this.dragHandler.start=new OpenLayers.Pixel(0,0)},setMap:function(b){OpenLayers.Handler.prototype.setMap.apply(this,arguments);if(this.dragHandler){this.dragHandler.setMap(b)}},startBox:function(b){this.map.div.style.cursor="crosshair";this.callback("start",[this.dragHandler.start])},moveBox:function(c){var d=this.getBounds(c);this.callback("drag",[this.dragHandler.start,d])},endBox:function(c){this.map.div.style.cursor="";var d=(c)?this.getBounds(c):null;this.callback("done",[this.dragHandler.start,d])},getBounds:function(j){var k=this.dragHandler.start;var l=Math.min(k.y,j.y);var i=Math.max(k.y,j.y);var g=Math.min(k.x,j.x);var h=Math.max(k.x,j.x);return new OpenLayers.Bounds(g,i,h,l)},activate:function(){if(OpenLayers.Handler.prototype.activate.apply(this,arguments)){this.dragHandler.activate();return true}else{return false}},deactivate:function(){if(OpenLayers.Handler.prototype.deactivate.apply(this,arguments)){this.dragHandler.deactivate();return true}else{return false}},CLASS_NAME:"OpenLayers.Handler.SearchBox"});OpenLayers.Feature.Vector.style={"default":{fillColor:"white",fillOpacity:0.4,hoverFillColor:"white",hoverFillOpacity:0.8,strokeColor:"red",strokeOpacity:1,strokeWidth:2,strokeLinecap:"round",strokeDashstyle:"dash",hoverStrokeColor:"red",hoverStrokeOpacity:1,hoverStrokeWidth:0.2,pointRadius:4,hoverPointRadius:1,hoverPointUnit:"%",pointerEvents:"visiblePainted",cursor:"inherit"},select:{fillColor:"blue",fillOpacity:0.4,hoverFillColor:"white",hoverFillOpacity:0.8,strokeColor:"blue",strokeOpacity:1,strokeWidth:2,strokeLinecap:"round",strokeDashstyle:"solid",hoverStrokeColor:"red",hoverStrokeOpacity:1,hoverStrokeWidth:0.2,pointRadius:6,hoverPointRadius:1,hoverPointUnit:"%",pointerEvents:"visiblePainted",cursor:"pointer"}};OpenLayers.Layer.WMS.prototype.getURLOrg=OpenLayers.Layer.WMS.prototype.getURL;OpenLayers.Layer.WMS.prototype.getURL4612=function(c){c=this.adjustBounds(c);var a=this.getImageSize();var d=new OpenLayers.Bounds(c.bottom,c.left,c.top,c.right);var e={BBOX:this.encodeBBOX?d.toBBOX():d.toArray(),WIDTH:a.w,HEIGHT:a.h};var b=this.getFullRequestString(e);return b};OpenLayers.Layer.WMS.prototype.getURL=function(a){if(this.url.match(/CRS=EPSG(\:|\%3A)4612/)){this.getURL=this.getURL4612}else{this.getURL=this.getURLOrg}return this.getURL(a)};
