if(typeof(d)=="undefined"){var d=document}else{d=document}var map=null;var mapMarkers=new Array();if(typeof(mapPos)=="undefined"){var mapPos=0}var infoWindow=null;var helperProjection=null;var helper=null;if(typeof(colorScheme)=="undefined"){var colorScheme="light"}var highlightColor="#aaf";if(colorScheme=="dark"){highlightColor="#444"}if(typeof(volcanoesShown)=="undefined"){var volcanoesShown=true}if(typeof(quakesShown)=="undefined"){var quakesShown=true}if(typeof(terrainView)=="undefined"){var terrainView=false}if(typeof(quakeInfo)=="undefined"){var quakeInfo=new Array()}if(typeof(maxAge)=="undefined"){var maxAge=86400}if(typeof(minMag)=="undefined"){var minMag=3}if(typeof(volcanoInfo)=="undefined"){var volcanoInfo=new Array()}if(typeof(minStatus)=="undefined"){var minStatus=2}if(typeof(archive)=="undefined"){var archive=false}if(typeof(animated)=="undefined"){var animated=true}if(typeof(firstTime)=="undefined"){var firstTime=true}if(typeof(layout)=="undefined"){var layout=""}var savedMarkerIcon=null;var savedMarkerId=null;var savedRow=null;var savedColor=null;var tempMarker=null;var savedMarkerIcon=null;var shakingLabels=new Array("Not felt","MMI II (Very weak shaking)","MMI III (Weak shaking)","MMI IV (Light shaking)","MMI V (Moderate shaking)","MMI VI (Strong shaking)","MMI VII (Very strong shaking)","MMI VIII (Severe shaking)","MMI IX (Violent shaking)");if(typeof(eqReportStore)=="undefined"){var eqReportStore=new Array()}var template_mapmarker_EQReport="###LOCATION### - ###SHAKING###
###REPORT###";var template_maptitle_EQReport="###LOCATION### - ###SHAKING###";function initMap(){var e=document;if(mapPos==0){return false}var b=google.maps.MapTypeId.SATELLITE;if(terrainView){b=google.maps.MapTypeId.TERRAIN}var g=new google.maps.LatLng(mapPos[0],mapPos[1]);var a={zoom:mapZoom,center:g,mapTypeId:b,scrollwheel:false,scaleControl:true,navigationControl:true,navigationControlOptions:{style:google.maps.NavigationControlStyle.DEFAULT}};map=new google.maps.Map(e.getElementById("map_canvas"),a);google.maps.event.addListener(map,"click",function(j){map.setCenter(j.latLng)});var c=e.createElement("div");c.style.cssText="border: 1px solid black; margin-top: 8px; color:black; padding: 5px;";c.innerHTML="";var a={disableAutoPan:true,maxWidth:0,pixelOffset:new google.maps.Size(10,-70),zIndex:null,boxStyle:{background:"#fafafa",opacity:0.85,font:"10px Verdana,sans-serif",color:"#000",padding:"5px",margin:"5px",border:"1px solid #bb202a",width:"160px"},closeBoxMargin:"10px 2px 2px 2px",closeBoxURL:"https://www.google.com/intl/en_us/mapfiles/close.gif",infoBoxClearance:new google.maps.Size(1,1),isHidden:false,pane:"floatPane",enableEventPropagation:false};infoWindow=new InfoBox(a);google.maps.event.addListener(map,"click",closeInfoWindow);helper=new google.maps.OverlayView();helper.setMap(map);helper.draw=function(){if(!this.ready){this.ready=true;google.maps.event.trigger(this,"ready")}};helper.draw();var f=e.getElementById("mapContainer");if(f!=null){e.getElementById("mapContainer").style.display=""}e.getElementById("map_canvas").style.display="";if(e.getElementById("latlon")!=null){google.maps.event.addListener(map,"mousemove",function(j){e.getElementById("latlon").innerHTML=Math.round(j.latLng.lat()*1000)/1000+" / "+Math.round(j.latLng.lng()*1000)/1000+" | "})}if(eqReportStore.length>0){for(i=eqReportStore.length-1;i>=0;i--){makeEQReportMarker(eqReportStore[i])}}if(window.location.host=="earthquakes.volcanodiscovery.com"){setTimeout("loadNewQuakes()",5000)}}function addToMap(c,m,b,o,t,r,e,s,q,p,n,f){if(map==null){return false}var f=f||true;if(f!==true){f=false}var c=c||0;if(c!=0){if(typeof(mapMarkers[c])!="undefined"){return}}var n=n||1;var e=e||20;var q=q||Math.round(e/2);var s=s||20;var p=p||Math.round(s/2);var t=t||"";var o=o||"marker";var r=r||"default";var a=window.location.href;var k=a.split("/");var l=k[0]+"//"+k[2];if(r!="default"){if(r.substr(0,4)!="http"){r=l+"/fileadmin/voldis/png/"+r}var g=new google.maps.MarkerImage(r,new google.maps.Size(e,s),new google.maps.Point(0,0),new google.maps.Point(q,p))}else{var g=new google.maps.MarkerImage(r)}var j=new google.maps.LatLng(m,b);if(r!="default"){marker=new google.maps.Marker({position:j,map:map,icon:g,optimized:0,title:o,zIndex:n,visible:f})}else{marker=new google.maps.Marker({position:j,map:map,title:o,zIndex:n,visible:f})}attachToMark(map,marker,t);mapMarkers[c]=marker}function showMarker(b){if(typeof(mapMarkers[b])=="undefined"){return false}var a=mapMarkers[b];if(a!==null){a.setVisible(true)}}function hideMarker(b){if(typeof(mapMarkers[b])=="undefined"){return false}var a=mapMarkers[b];if(a!==null){a.setVisible(false)}}function makeEQReportMarker(e,c){var c=c||true;var b="eqreport-"+e.id;if(typeof(mapMarkers[b])!="undefined"){return false}var g=e.lat;lon=e.lon;var f=replaceEQReportMarker(template_mapmarker_EQReport,e);var k=replaceEQReportMarker(template_maptitle_EQReport,e);var n=getEQReportIcon(e);var p=n[0];var a=n[1];var o=n[2];var m=n[3];var l=n[4];var j=n[5];if(infoWindow!=null){addToMap(b,g,lon,k,f,p,a,o,m,l,j,c)}else{storedMarkers.push([b,g,lon,k,f,p,a,o,m,l,j,c])}}function replaceEQReportMarker(e,b){var f=b.location;e=e.replace("###LOCATION###",f);var a=parseInt(b.intensity)-1;if(a<0){a=0}if(a>8){a=8}var c=shakingLabels[a];e=e.replace("###SHAKING###",c);e=e.replace("###REPORT###",b.report);return e}function getEQReportIcon(b){var a=b.intensity;if(a<1){a=1}if(a>9){a=9}var e="shakegif-"+a+".png";w=16;var c=[e,w,w,Math.floor(w/2),Math.floor(w/2),100];return c}function translate(a){return a}closeInfoWindow=function(){infoWindow.close()};openInfoWindow=function(a,c){var b=a.getPosition();infoWindow.setContent(c);infoWindow.open(map,a)};function contains(b,e){var c=b.length;while(c--){if(b[c]===e){return true}}return false}function showHideVolcanoes(){if(volcanoesShown===false){if(typeof(showList)!="undefined"){if(showList.length>1){for(i=0;i=minStatus||minStatus<=1){showMarker("volcano-"+volcanoInfo[i][0])}}volcanoesShown=true}else{for(i=0;if){a.options[i].style.display="none"}else{a.options[i].style.display=""}}}function loadArchiveQuakeSet(){var f=document.getElementById("mmYYYY").options[document.getElementById("mmYYYY").selectedIndex].value;var b=f.substring(0,2);if(b.substr(0,1)==0){b=b.substr(1,1)}var g=f.substring(2);var c=parseInt(document.getElementById("dd").options[document.getElementById("dd").selectedIndex].value);var e=window.location.href;var a=e.split("/");tableFile=a[0]+"//"+a[2]+"/getQuakes.php?";quakeFileJS=a[0]+"//"+a[2]+"/widget/archive/earthquake-data";if(area){tableFile+="lat1="+lat1+"&lat2="+lat2+"&lon1="+lon1+"&lon2="+lon2+"&"}if(area){quakeFileJS+=lat1+"_"+lat2+"_"+lon1+"_"+lon2}tableFile+="year="+g+"&month="+b;if(c!=0){tableFile+="&day="+c}quakeFileJS+="-"+g+"-"+b;if(c!=0){quakeFileJS+="-"+c}quakeFileJS+=".js";if(quakeInfo.length>0){for(i=quakeInfo.length-1;i>=0;i--){hideMarker("quake-"+quakeInfo[i][0])}}archive=1;quakeInfo=new Array();tableLoaded=0;quakesLoaded=0;qDataScriptAdded=0;document.getElementById("quakesList").innerHTML=loadingMessage;loadQuakeTable();getQuakesJS();return}function showHideQuakes(){if(quakesShown===true){for(i=0;i=0;i--){var e="quake-"+quakeInfo[i][0];if((quakeInfo[i][1]>=b)&&(!a||(quakeInfo[i][2]1){var b=showList.length;for(i=c-1;i>=0;i--){if((volcanoInfo[i][1]>=a)&&contains(showList,volcanoInfo[i][0])){showMarker("volcano-"+volcanoInfo[i][0])}else{hideMarker("volcano-"+volcanoInfo[i][0])}}}}else{for(i=c-1;i>=0;i--){if(volcanoInfo[i][1]>=a){showMarker("volcano-"+volcanoInfo[i][0])}else{hideMarker("volcano-"+volcanoInfo[i][0])}}}volcanoesShown=true}function highlightVolcano(c){if(typeof(mapMarkers["volcano-"+c])=="undefined"){return setTimeout("highlightVolcano("+c+")",1000)}var b=mapMarkers["volcano-"+c];b.setZIndex(b.getZIndex()+100);b.setVisible(true);var a=new google.maps.Marker({position:b.getPosition(),map:map,zIndex:b.getZIndex(),title:b.getTitle()})}function highlightUpdated(){if(volcanoesLoaded==false){return setTimeout("highlightUpdated()",1200)}var j=new Date();var e=j.getTime()/1000;animated=true;var c=window.location.href;var a=c.split("/");var g=a[0]+"//"+a[2];for(i=0;ie-(14*86400)){if(volcanoInfo[i][1]>1){var b=mapMarkers["volcano-"+volcanoInfo[i][0]];var f=b.getIcon();f.url=g+"/fileadmin/voldis/png/volcano_level"+volcanoInfo[i][1]+"-an.gif";b.setIcon(f)}}}}function stopAnimation(){animated=false;var j=new Date();var e=j.getTime()/1000;animated=true;var c=window.location.href;var a=c.split("/");var g=a[0]+"//"+a[2];for(i=0;ie-(30*86400)){if(volcanoInfo[i][1]>1){var b=mapMarkers["volcano-"+volcanoInfo[i][0]];var f=b.getIcon();f.url=g+"/fileadmin/voldis/png/volcano_level"+volcanoInfo[i][1]+".png";b.setIcon(f)}}}}function animateMarker(b,a){}function loadNewQuakes(){if(archive||area){return}var a=document;if(a.body.offsetWidth<500){setTimeout("loadNewQuakes()",10000);return}if(!quakesLoaded){setTimeout("loadNewQuakes()",5000);return}if(newestQuakeId==0){newestQuakeId=quakeInfo[0][0]}mkRequest(newQuakesURL+"&latest="+newestQuakeId,"get","",function(e){var b=e.responseText;if(b!=""){var f=b.split("ยง");a.getElementById("newestHeader").style.display="";var g=f[0];a.getElementById("quakeTable").innerHTML=g+a.getElementById("quakeTable").innerHTML;a.getElementById("quake-"+f[1]).style.backgroundColor="#fcc";quakeInfo.push([f[1],f[2],f[3]]);addToMap("quake-"+f[1],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],parseInt(f[13]));newestQuakeId=f[1];setTimeout("loadNewQuakes()",10000)}else{if(area){var c=600000}else{var c=180000}setTimeout("loadNewQuakes()",c)}})}function autosetVolcanoes(){if(typeof(map)=="undefined"){setTimeout("autosetVolcanoes()",1000);return}if(map==null){setTimeout("autosetVolcanoes()",1000);return}if(typeof(addToMap)=="undefined"){setTimeout("autosetVolcanoes()",1000);return}if(volcanoInfo.length==0){setTimeout("autosetVolcanoes()",1000);return}var f=document;var e=map.getZoom();var b=f.getElementById("map_canvas").offsetWidth;if(e==0){e=1}var c=Math.round(b*e);var a=minStatus;if(typeof(showList)!="undefined"){if(showList.length<200){minStatus=1}}else{if(c<400){minStatus=3}else{if(c<1500){minStatus=2}}}if(a!=minStatus){showVolcanoes(minStatus)}if(animated){highlightUpdated();f.getElementById("highlightLink").style.display="none";f.getElementById("stopAnimationLink").style.display=""}else{stopAnimation();f.getElementById("highlightLink").style.display="";f.getElementById("stopAnimationLink").style.display="none"}if(typeof(showList)!="undefined"){if(showList.length==1){highlightVolcano(showList[0])}}}function showTime(){var a=new Date();var b=a.toUTCString();b=b.substring(0,b.length-7)+" UTC";if(document.getElementById("clock")!="undefined"){document.getElementById("clock").innerHTML=b}setTimeout("showTime()",1000)}function autoZoom(){if(typeof(map)=="undefined"){setTimeout("autoZoom()",1000);return}if(map==null){setTimeout("autoZoom()",1000);return}var b=map.getBounds();if(typeof(b)=="undefined"){setTimeout("autoZoom()",1000);return}if(typeof(b)==null){setTimeout("autoZoom()",1000);return}var m=document;var l=m.getElementById("map_canvas").offsetWidth;var e=m.getElementById("map_canvas").offsetHeight;var f=b.getNorthEast();var p=b.getSouthWest();var g=256;var r=180;var q=p.lng();var o=f.lng();var t=p.lat();var c=f.lat();if(angleLon<0){angleLon+=360}var k=Math.round(Math.log(l*360/angleLon/g)/Math.LN2);var j=Math.round(Math.log(e*180/angleLat/r)/Math.LN2);map.setZoom(Math.min(k,j));var a=new google.maps.LatLng(mapPos[0],mapPos[1]);map.setCenter(a);firstTime=false}function adjustWindow(){var g=document;if(g.body&&g.body.offsetWidth){var b=g.body.offsetWidth;var f=g.body.offsetHeight}if(map!=null){if(b>490){map.setOptions({scrollwheel:true})}}var a=adwinspaceleft;if(!hidead){if(adwinvertical){if(b>5*adwinwidth){g.getElementById("g-ad").style.display=""}else{g.getElementById("g-ad").style.display="none";a=0}}else{if((b>1.2*adwinwidth)&&((f-50)>3*adwinheight)){g.getElementById("g-ad").style.display=""}else{g.getElementById("g-ad").style.display="none";a=0}}}g.getElementById("quakesList").style.left=(5+a)+"px";if(firstTime==true){if(quakesShown!==false){if(layout!="vertical"){if(b>799){g.getElementById("quakesList").style.display=""}else{g.getElementById("quakesList").style.display="none"}}else{if(b>499){g.getElementById("map_canvas").style.bottom="50%";g.getElementById("quakesList").style.display=""}else{g.getElementById("map_canvas").style.bottom="30px";g.getElementById("quakesList").style.display="none"}}}}if(b>699){if(!newstickerhide){g.getElementById("newstickerWin").style.display=""}}else{g.getElementById("newstickerWin").style.display="none"}if(b>480){g.getElementById("title").innerHTML=title;g.getElementById("clock").style.display="";g.getElementById("latlon").style.display="";if(g.getElementById("shComment")){g.getElementById("shComment").style.display=""}if(layout!="vertical"){g.getElementById("quakesList").style.bottom=(adwinspacebottom+20)+"px";g.getElementById("newsList").style.bottom=(adwinspacebottom+20)+"px"}}else{g.getElementById("title").innerHTML=titleShort;g.getElementById("clock").style.display="none";g.getElementById("latlon").style.display="none";g.getElementById("quakesList").style.bottom="30px";g.getElementById("newsList").style.bottom="30px";if(g.getElementById("shComment")){g.getElementById("shComment").style.display="none"}}if(b>360){g.getElementById("shDonate").style.display="";g.getElementById("newsListLink").style.display="";if(firstTime==true){g.getElementById("earthquakesPanel").style.display=""}if(firstTime==true){if(!area){g.getElementById("volcanoesPanel").style.display=""}}}else{g.getElementById("shDonate").style.display="none";g.getElementById("newsListLink").style.display="none";if(firstTime==true){g.getElementById("earthquakesPanel").style.display="none"}if(firstTime==true){g.getElementById("volcanoesPanel").style.display="none"}}if(b>350){g.getElementById("title").style.display="";g.getElementById("break").style.display="";g.getElementById("webcamLink").style.display=""}else{g.getElementById("title").style.display="none";g.getElementById("break").style.display="none";g.getElementById("webcamLink").style.display="none"}if(b>280){g.getElementById("addThis").style.display="";g.getElementById("top").style.fontSize="11px";if(b>450){g.getElementById("title").style.fontSize="12px"}for(i=1;i<5;i++){g.getElementById("stat-label"+i).style.display=""}g.getElementById("highlightLinkPart").style.display=""}else{g.getElementById("addThis").style.display="none";g.getElementById("top").style.fontSize="9px";for(i=1;i<5;i++){g.getElementById("stat-label"+i).style.display="none"}g.getElementById("highlightLinkPart").style.display="none"}if(layout!="vertical"){if(g.getElementById("quakesList").style.display=="none"){g.getElementById("map_canvas").style.left=(a+8)+"px"}else{if(b>1000){g.getElementById("map_canvas").style.left=(488+a)+"px";g.getElementById("quakesList").style.width="468px"}else{var c=Math.round((b-30-a)/2);g.getElementById("quakesList").style.width=c+"px";g.getElementById("map_canvas").style.left=(20+c+a)+"px"}}}else{if(g.getElementById("quakesList").style.display=="none"){g.getElementById("map_canvas").style.bottom="30px"}else{g.getElementById("map_canvas").style.bottom="50%"}}if(volcanoesShown==false){g.getElementById("vToggle-sh").innerHTML=show}else{g.getElementById("vToggle-sh").innerHTML=hide}if(quakesShown==false){g.getElementById("eToggle-sh").innerHTML=show}else{g.getElementById("eToggle-sh").innerHTML=hide}var e=g.getElementById("top").offsetHeight;g.getElementById("map_canvas").style.top=(e+7)+"px";g.getElementById("newsList").style.top=(e+7)+"px";if(layout!="vertical"){g.getElementById("quakesList").style.top=(e+7)+"px";if(adwinvertical){g.getElementById("g-ad").style.top=(e+13)+"px"}}g.getElementById("newsList").height=(f-e-adwinspacebottom-40)+"px";if(map==null){return setTimeout("adjustWindow()",400)}if(map!=null){google.maps.event.trigger(map,"resize")}}function setToTop(a){if(a=="newsList"){document.getElementById("quakesList").style.display="none"}if(a=="quakesList"){document.getElementById("newsList").style.display="none"}}function attachToMark(c,a,b){google.maps.event.addListener(a,"click",function(){helperProjection=helper.getProjection();var f=helperProjection.fromLatLngToContainerPixel(a.getPosition());if(f.x<100||f.y<100){c.setCenter(a.getPosition())}var e=c.getDiv().offsetWidth;if(e>=180){openInfoWindow(a,b)}})}function switchMap(p,o,n,m,e,c,r,q,g,b){var s=document;var k=s.getElementById("mapContainer");var x=s.getElementById("mapContainer_1");var a=s.getElementById("map_canvas");var u=s.getElementById("mapSwitch").firstChild;if(u.nodeValue==n){u.nodeValue=m}else{u.nodeValue=n}var j=k.parentNode.getAttribute("id");if(j==p){var f=o}else{var f=p}var l=s.getElementById(f);if(j==p){a.style.width=q;a.style.height=c}else{a.style.width=r;a.style.height=e}if(x!=null){l.appendChild(x)}l.appendChild(k);l.style.display="";s.getElementById(j).style.display="none";google.maps.event.trigger(map,"resize");var t=new google.maps.LatLng(g,b);map.setCenter(t)}
/*!
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
;function InfoBox(a){a=a||{};google.maps.OverlayView.apply(this,arguments);this.content_=a.content||"";this.disableAutoPan_=a.disableAutoPan||false;this.maxWidth_=a.maxWidth||0;this.pixelOffset_=a.pixelOffset||new google.maps.Size(0,0);this.position_=a.position||new google.maps.LatLng(0,0);this.zIndex_=a.zIndex||null;this.boxClass_=a.boxClass||"infoBox";this.boxStyle_=a.boxStyle||{};this.closeBoxMargin_=a.closeBoxMargin||"2px";this.closeBoxURL_=a.closeBoxURL||"https://www.google.com/intl/en_us/mapfiles/close.gif";if(a.closeBoxURL===""){this.closeBoxURL_=""}this.infoBoxClearance_=a.infoBoxClearance||new google.maps.Size(1,1);this.isHidden_=a.isHidden||false;this.pane_=a.pane||"floatPane";this.enableEventPropagation_=a.enableEventPropagation||false;this.div_=null;this.closeListener_=null;this.eventListener1_=null;this.eventListener2_=null;this.eventListener3_=null;this.contextListener_=null;this.fixedWidthSet_=null}InfoBox.prototype=new google.maps.OverlayView();InfoBox.prototype.createInfoBoxDiv_=function(){var e;var a=this;var b=function(f){f.cancelBubble=true;if(f.stopPropagation){f.stopPropagation()}};var c=function(f){f.returnValue=false;if(f.preventDefault){f.preventDefault()}if(!a.enableEventPropagation_){b(f)}};if(!this.div_){this.div_=document.createElement("div");this.setBoxStyle_();if(typeof this.content_.nodeType==="undefined"){this.div_.innerHTML=this.getCloseBoxImg_()+this.content_}else{this.div_.innerHTML=this.getCloseBoxImg_();this.div_.appendChild(this.content_)}this.getPanes()[this.pane_].appendChild(this.div_);this.addClickHandler_();if(this.div_.style.width){this.fixedWidthSet_=true}else{if(this.maxWidth_!==0&&this.div_.offsetWidth>this.maxWidth_){this.div_.style.width=this.maxWidth_;this.div_.style.overflow="auto";this.fixedWidthSet_=true}else{e=this.getBoxWidths_();this.div_.style.width=(this.div_.offsetWidth-e.left-e.right)+"px";this.fixedWidthSet_=false}}this.panBox_(this.disableAutoPan_);if(!this.enableEventPropagation_){this.eventListener1_=google.maps.event.addDomListener(this.div_,"mousedown",b);this.eventListener2_=google.maps.event.addDomListener(this.div_,"click",b);this.eventListener3_=google.maps.event.addDomListener(this.div_,"dblclick",b)}this.contextListener_=google.maps.event.addDomListener(this.div_,"contextmenu",c);google.maps.event.trigger(this,"domready")}};InfoBox.prototype.getCloseBoxImg_=function(){var a="";if(this.closeBoxURL_!==""){a="
"}return a};InfoBox.prototype.addClickHandler_=function(){var a;if(this.closeBoxURL_!==""){a=this.div_.firstChild;this.closeListener_=google.maps.event.addDomListener(a,"click",this.getCloseClickHandler_())}else{this.closeListener_=null}};InfoBox.prototype.getCloseClickHandler_=function(){var a=this;return function(b){b.cancelBubble=true;if(b.stopPropagation){b.stopPropagation()}a.close();google.maps.event.trigger(a,"closeclick")}};InfoBox.prototype.panBox_=function(a){if(!a){var F=this.getMap();var j=F.getBounds();var y=F.getDiv();var B=y.offsetWidth;var x=y.offsetHeight;var G=j.toSpan();var A=G.lng();var n=G.lat();var q=A/B;var m=n/x;var l=j.getSouthWest().lng();var s=j.getNorthEast().lng();var E=j.getNorthEast().lat();var e=j.getSouthWest().lat();var H=this.position_;var k=this.pixelOffset_.width;var g=this.pixelOffset_.height;var r=this.infoBoxClearance_.width;var p=this.infoBoxClearance_.height;var b=H.lng()+(k-r)*q;var f=H.lng()+(k+this.div_.offsetWidth+r)*q;var u=H.lat()-(g-p)*m;var o=H.lat()-(g+this.div_.offsetHeight+p)*m;var t=(bs?s-f:0);var D=(u>E?E-u:0)+(o=0;i--){var arr=storedMarkers[i];if(typeof(arr[6])!="undefined"){var w=arr[6]}else{var w=0}if(typeof(arr[7])!="undefined"){var h=arr[7]}else{var h=0}if(typeof(arr[8])!="undefined"){var ax=arr[8]}else{var ax=0}if(typeof(arr[9])!="undefined"){var ay=arr[9]}else{var ay=0}if(typeof(arr[10])!="undefined"){var z=arr[10]}else{var z=1}if(typeof(arr[11])!="undefined"){var v=arr[11]}else{var v=true}addToMap(arr[0],arr[1],arr[2],arr[3],arr[4],arr[5],w,h,ax,ay,z,v)}}};