Effects = function(){

	
	this.SmallY = function(id){
		x = document.getElementById('video_' + id);
		if(!x) return;
		x.style.overflow = 'hidden';
		x.style.height = '93px';
		
		var height = x.style.height;
		var step = 10;
					
		var speed = 100;
		var enota = 'px'; 
					
		ElementSmallingY(x, parseInt(height) % step);
		id = setInterval(function(){ElementSmallingY(x, step);}, speed);
		setTimeout(function(){clearInterval(id);}, speed * step + speed);
		setTimeout(function(){ElementSmallingYZero(x);ESYResponse();}, speed * step + speed + speed);
	}
				
	function ElementSmallingYZero(x){
		if(parseInt(x.style.height) != '0'){
			x.style.height = '0';
		}
	}
				
	function ElementSmallingY(id, s){
					
		if(arguments.length > 2) {
			enota = arguments[2];
		} else {
			enota = 'px';
		}
		var h = id.style.height;
		var val = parseInt(h);
		id.style.height = (val - s) + enota;
	}
}