var AbstractMapController={dL:false,cS:null,setResizeObserver:function(){Event.observe(window,"resize",this.fit.bind(this));},lZ:null,fit:function(fQ){if(this.lZ!=null){window.clearTimeout(this.lZ);}this.lZ=window.setTimeout(this.eK.bind(this,fQ),300);},toggleFullscreen:function(){if(this.dL==false){$("mapWrapper").style.position='absolute';this.dL=true;this.eK();}else if(this.dL==true){$("mapWrapper").style.position='relative';this.dL=false;this.eK();}return this.dL;},gp:function(bq){this.cS=bq;},yI:function(){return this.cS;},nm:null,logMapRequest:function(ep,hI){if(this.nm!=null){clearTimeout(this.nm);}this.nm=setTimeout(this.uT.bind(this,ep,hI),350);},qi:null,uT:function(ep,hI){var aq=this.getViewport();var img=document.createElement('img');var gA="http://services.webatlas.no/weblog/Log2.aspx?"+"WMS-REQUEST=BBOX="+aq.minLon+","+aq.minLat+","+aq.maxLon+","+aq.maxLat+"&MAPSTYLE="+hI.getMapStyle()+"&ZOOMLEVEL="+hI.getZoomLevel()+"&PROVIDER="+hI.getType()+"&CUSTOMER="+ep;if(gA!=this.qi){this.qi=gA;img.src=gA;img=null;}}}