
var IndexController = Class.create({
  
  initialize:function()
  {
    this.initGallery();
  },
  
  initGallery:function()
  {
    var i = 0;
    var thumbEl;
    $$('.home-thumbs a').each(function(thumbEl) {
      thumbEl.observe('click', function(e) {
        e.stop();
        
        $('home-photo').src = thumbEl.href;
      });
    }.bind(this));
  }
});

var indexController = false;
document.observe('dom:loaded', function() {
  indexController = new IndexController();
});
