function Button(path,base,title,onclick,width,height) {
  var self = this;
  this.path = 'image/'+path;
  this.base = base;
  this.onclick = onclick;
  this.title = title;
  this.o = document.createElement('img');
  this.o.src = this.path+this.base+'.gif';
  this.o.title = this.title;
  this.mouseover = function() {
    this.src = self.path+self.base+'_1.gif';
  }
  this.mouseout = function() {
    this.src = self.path+self.base+'.gif';
  }
  this.o.style.width = (width?width+'px':'39px');
  this.o.style.height = (height?height+'px':'13px');
  this.o.className = 'button';
  this.o.onmouseover = this.mouseover;
  this.o.onmouseout = this.mouseout;
  this.o.onclick = (this.onclick?this.onclick:null);
  preload(this.path+this.base+'_1');
}