/**
 * ViewBoutique
 */
var ViewBoutique = Class.create({
  /**
   * Init ViewBoutique
   */	
  initialize: function() {
	this.options = Object.extend({
	  elemContent : null
	}, arguments[0] || { });		

    this.elemImage = this.options.elemContent.down('.image');
    this.elemImg = this.options.elemContent.down('img');

	this.image = new EggImage(this.elemImage);
    this.image.load();  
	
    this.elemContentText = this.options.elemContent.down('.contenttitle');
    this.contentTextFade = new EggFade({elemContent:this.elemContentText});

    this.elemContentLink = this.options.elemContent.down('.contentlink');
    this.contentLinkFade = new EggFade({elemContent:this.elemContentLink});	
  },
    
  show: function() {	 
	this.options.elemContent.style.visibility = "visible";	
	this.contentTextFade.show();
	this.contentLinkFade.show();
  	this.image.show();	
  },

  hide: function() {
	this.contentTextFade.hide();
	this.contentLinkFade.hide();
	this.image.hide();
  }
  
});
