$(function(){
	var slideHeight = 35; // px
	var defHeight = $('#wrap').height();
	if(defHeight >= slideHeight){
		$('#wrap').css('height' , slideHeight + 'px');
		$('#read-more').append('<a href="#">Click to Read More</a>');
		$('#read-more a').click(function(){
		  var curHeight = $('#wrap').height();
			if(curHeight == slideHeight){
				$('#wrap').animate({
				  height: defHeight
			   }, "normal");
				$('#read-more a').html('Close');
				$('#gradient').fadeOut();
			}else{
				$('#wrap').animate({
				  height: slideHeight
			   }, "normal");
				$('#read-more a').html('Click to Read More');
				$('#gradient').fadeIn();
			}
			return false;
		});
	}
});

// $(function(){
// 	var slideHeight = 220; // px
// 	var defHeight = $('#wrap-wof').height();
// 	if(defHeight >= slideHeight){
// 		$('#wrap-wof').css('height' , slideHeight + 'px');
// 		$('#view-more-wof').append('<a href="#">Click to View More</a>');
// 		$('#view-more-wof a').click(function(){
// 		  var curHeight = $('#wrap-wof').height();
// 			if(curHeight == slideHeight){
// 				$('#wrap-wof').animate({
// 				  height: defHeight
// 			   }, "normal");
// 				$('#view-more-wof a').html('Close');
// 				$('#gradient-wof').fadeOut();
// 			}else{
// 				$('#wrap-wof').animate({
// 				  height: slideHeight
// 			   }, "normal");
// 				$('#view-more-wof a').html('Click to View More');
// 				$('#gradient-wof').fadeIn();
// 			}
// 			return false;
// 		});
// 	}
// });