code: function() {
          if(this.interval && typeof this.interval === "number" && 
              this.interval > 0) {
  
              this.timer = window.setInterval(
                  OpenLayers.Function.bind(this.refresh, this),
                  this.interval);
          }
      }
docs: Method: start
  Start the refresh interval.