/*---------- QUICKBOOK SLIDER SCRIPT ----------*/
$(document).ready(function() {
var oldHeight = $("#innercontentright").height() + 'px';
		$("#quickbookspace").hover( function() {
		{	
			if($("#quickbookspace").css("height") == "140px"){
				$("#quickbookspace").animate({ 
					height: "338px"
					}, 500 );
				$("#qbiframe").animate({ 
					height: "302px"
				}, 500 );

				$("#topMenuImage").html('<img src="/includes/imgs/quickbook-close.gif" alt="close" />');
						
			}
		}
		});  
		$("#topMenuImage").click( function() {
		{	
			if($("#quickbookspace").css("height") == "338px"){
				$("#quickbookspace").animate({ 
					height: "140px"
					}, 500 );
				$("#qbiframe").animate({ 
					height: "104px"
				}, 500 );

				$("#topMenuImage").html('');
			}
						
		}
		});  
		$(".showContent").click( function() {
		{	

			if($("#contentright").height() == 77){
				$("#contentright").animate({ height: oldHeight }, 500 );
				$(".showContent").html('Read Less');
			}
			else{
				$("#contentright").animate({height: "77px"}, 500 );
				$(".showContent").html('Read More');
			}

						
		}
		}); 
});


