if(!Control) var Control = {};
Control.MemberImage = Class.create();

var people_images = Array();

Control.MemberImage.prototype = {
  initialize: function(ele, bw, color) {
    this.ele = $(ele);
    
    var i = people_images.length;
    people_images[i] = { };
    people_images[i].bw = new Image();
    people_images[i].bw.src = bw;
    
    this.ele.bw = people_images[i].bw;
    
    this.ele.color = new Image();
    this.ele.color.src = color;
    
    this.ele.src = this.ele.bw.src;
    
    this.ele.onmouseover = this.use_color;
    this.ele.onmouseout = this.use_bw;
  },
  
  use_color: function(ele) {
    this.src = this.color.src;
    
  },
  
  use_bw: function() {
    this.src = this.bw.src;
  }
};
