var dweItems={
 items : [], 
 numIndex : 0, 
 LongMax: null, 
 LongMin: null, 
 LatMax: null, 
 LatMin: null, 
 add : function(strMlsId, strLong, strLat)
  {
   if(this.LongMax == null)
    { this.LongMax=strLong; }
   if(this.LongMin == null)
    { this.LongMin=strLong; }
   if(this.LatMax == null)
    { this.LatMax=strLat; }
   if(this.LatMin == null)
    { this.LatMin=strLat; }

   if(this.LongMax < strLong)
    { this.LongMax=strLong; }
   if(this.LongMin > strLong)
    { this.LongMin=strLong; }
   if(this.LatMax < strLat)
    { this.LatMax=strLat; }
   if(this.LatMin > strLat)
    { this.LatMin=strLat; }

   this.items[this.numIndex]=new Array();
   this.items[this.numIndex]['MLS_ID']=strMlsId;
   this.items[this.numIndex]['Long']=strLong;
   this.items[this.numIndex]['Lat']=strLat;
   this.numIndex++;
  }, 
 getLongDiff : function()
  {
   if((this.LongMax) && (this.LongMin))
    { return Number( Math.abs(this.LongMax)-Math.abs(this.LongMin) ); }
  }, 
 getLatDiff : function()
  {
   if((this.LatMax) && (this.LatMin))
    { return Number( Math.abs(this.LatMax)-Math.abs(this.LatMin) ); }
  }, 
 getLongCenter : function()
  {
   if((this.LongMax) && (this.LongMin))
    { return Number(this.LongMax) + (Number( Math.abs(this.LongMax)-Math.abs(this.LongMin) )/2); }
  }, 
 getLatCenter : function()
  {
   if((this.LatMax) && (this.LatMin))
    { return Number(this.LatMax) - (Number( Math.abs(this.LatMax)-Math.abs(this.LatMin) )/2); }
  }
}