$(document).ready(function(){
	$('div.roll').each(function(){
		var _hold = $(this);
		var _btn = _hold.find('a.button');
		var _box = _hold.find('div.inner');
		_box.hide();
		var _f = true;
		var _h = _box.height();
		_btn.click(function(){
			if(_f){
				_f = false;
				if(_box.is(':hidden')){
					_box.show();
					_h = _box.height();
					_box.height(0);
				}
				_box.stop().animate({height:_h}, 500, function(){ $(this).height('auto');});
			}
			else{
				_f = true;
				_box.stop().animate({height: 0}, 500, function(){ $(this).css({display:'none', height:'auto'});});
			}
			return false;
		});
	});
});