function ticker () {

   this.i = 0;
   this.j = 0;
   this.k = 0;
   this.objID = "slider";
   this.height = 0;

   this.init = function() {
      height = this.getObj(this.objID).style["height"];
      allHeight = this.getObj("slideFrame").style["height"];
      this.setInterval(100);
   }

   this.setInterval = function (interval){
      setInterval("ticker.slide()",interval);
   }
   
   this.slide = function() {
      if(height > this.i + "px") {
          this.getObj(this.objID + "2").style.top = "-"+this.j+"px";
      }
/*      if(height == this.j + "px") {
         this.j = 0;
         this.getObj(this.objID).style.top = "-"+this.j+"px";
      }*/
      this.i++;
      this.j++;
   }
   
   this.getObj = function(objID) {
      obj = document.getElementById(objID);
      return obj;
   }
    
}
