function StripEntry(b,c,e,g,h,j,k,l,m,n,o,p){this.Latitude=b;this.Longitude=c;this.Angle=e;this.BaseFileName=g;this.HotSpotX1=h;this.HotSpotY1=j;this.HotSpotX2=k;this.HotSpotY2=l;this.NextLat=m;this.NextLong=n;this.PrevLat=o;this.PrevLong=p;this.stripTilesCache=null;this.TotalImagesToLoad=8;this.TotalImagesLoaded=0;this.LoadComplete=false;this.LoadStartTime=0;this.LoadEndTime=0;}var stripDB=Array();function StripDBManager(){var baseurl="http://"+basehost+"/striptiles/%1/ExposureList_%1.js";var stripDBQuadHash=new Array();var loadedQuads=new Array();var maxLoadedQuads=100;var amountToUnload=maxLoadedQuads/8;var totalLoadedQuads=0;this.LoadQuad=function(q,r,s){if(q==null){}if(stripDB[q]==null&&stripDBQuadHash[q]==null){if(totalLoadedQuads>=maxLoadedQuads)this.UnloadQuads(amountToUnload);VENetwork.DownloadScript(baseurl.replace("%1",q).replace("%1",q),q+"Script",r,s);loadedQuads.push(q);totalLoadedQuads++;stripDBQuadHash[q]=true;return false;}return true;};this.UnloadQuads=function(t){for(var i=0;i<t;++i){var quadkey=loadedQuads.shift();if(stripDB[quadkey]==null)return;__streetviewer.UnCacheImagesForQuadKey(quadkey);var head=document.getElementsByTagName("head")[0];var quadScript=document.getElementById(quadkey+"Script");if(quadScript!=null)head.removeChild(quadScript);totalLoadedQuads--;stripDBQuadHash[quadkey]=null;}};}