$(document).ready(function () {
  
	// toggle functions
	
	$('.client_logins_wrap').hide();
	
	
	 $(".top_bar").click(function()
  		{
    		$('.client_logins_wrap').slideToggle(600);
  	});
  	
  	// TOGGLE SCRIPT
	$(".hide").hide();
 
	$("a.read_more").click(function(event){
		// expand the article
		$(this).parents(".summary").find(".hide").slideToggle(600);
		// hide the read more link
 		$(this).hide();
 		// Stop the link click from doing its normal thing
		return false;
	}); // END TOGGLE
	
	
	$("a.close_link").click(function(event){
		$(this).parents(".summary").find(".hide").slideToggle(600);
		$("a.read_more").show();
	}); // END TOGGLE

  
	// slideshow functions
	
	$('.slideshow').cycle({
		pager:      '#pager_links',
		pagerClick: stopSlideshow
	});
	
	function stopSlideshow(){
	$('.slideshow').cycle('pause');
	};
	
	


});

 
    
    

