var bigImageExpander = new Class({
	
	//implements
	Implements: Options,

	//options
	options: {},
	
	//initialization
	initialize: function(options) {
		//set options
		this.setOptions(options);
		this.image = this.options.image;
		this.image.getParent().setStyle('position','relative')
		this.containerDiv = new Element('div')
		this.containerDiv.addClass('bigImageContainer')
		this.containerDiv.setStyles({overflow:'hidden',	width:this.options.dimensions.width ,height:this.options.dimensions.height ,position:'absolute',top:'0',left:'0'})
		this.containerTweener = new Fx.Tween(this.containerDiv,{property:'height'})
		this.containerDiv.inject(this.image,'after')
		this.containerDiv.wraps(this.image);
		this.containerDiv.addEvent('mouseover',function(){this.containerTweener.cancel().start(this.image.getHeight())}.bind(this))
		this.containerDiv.addEvent('mouseout',function(){this.containerTweener.cancel().start(this.options.dimensions.height)}.bind(this))
	}
	
});