jQuery(document).ready(function(){
	var _speed = 500;
	jQuery('div.slide-block').each(function(){
		var _hold = jQuery(this);
		var _btnOpen = jQuery(this).find('a.more');
		var _txtHold = _hold.find('div.description-holder');
		var _H = _txtHold.outerHeight();
		var p_H =_txtHold.find('p').eq(0).outerHeight();
		_txtHold.css('height', p_H);
		_btnOpen.click(function(){
			if(!jQuery(this).hasClass('opened')){
				_txtHold.animate({height: _H}, {queue:false, duration: _speed});
				jQuery(this).addClass('opened');
			}
			else{
				_txtHold.animate({height: p_H}, {queue:false, duration: _speed});
				jQuery(this).removeClass('opened');
			}
			return false;
		});
	});
});