var Icon = Class.create();
Icon.prototype = {
  initialize : function(elename, normal, selected) {
    this.el = elename;
    this.dat_n = normal;
    this.dat_a = selected;
    $(this.el).observe('mouseover', this.mover.bind(this));
    $(this.el).observe('mouseout', this.mout.bind(this));
    $(this.el).observe('click', this.mout.bind(this));
  },
  mover : function(){
    $(this.el).src = this.dat_a;
    var p=0;
  },
  mout : function(){
    $(this.el).src = this.dat_n;
  }
};

