jQuery(document).ready(function(){ // make sure the jquery is loaded
	
	
	
	// ----------------------------- carousel hover/click
    jQuery("#carousel .panel").click(function(event){ 
			window.location=jQuery(this).find("a").attr("href");
			return false;
		 })
		 // cursor
		 .hover(function(){
			jQuery(this).find('p').slideToggle();
		 });
	
	
	
	// ----------------------------- homepage random fact widget clickable
     jQuery("#main-content .widget").click(function(event){ 
			window.location=jQuery(this).find("a").attr("href");
			return false;
		})
		// cursor
		.hover(function() {
			jQuery(this).css('cursor','pointer');
		});
	
	
	
	// ----------------------------- homepage mission statment clickable
     jQuery("#mission").click(function(event){ 
			window.location=jQuery(this).find("a").attr("href");
			return false;
		})
		// cursor
		.hover(function() {
			jQuery(this).css('cursor','pointer');
		});
	
	
	
	// ----------------------------- Push feature
     jQuery("#push-row").click(function(event){ 
			window.location=jQuery(this).find("a").attr("href");
			return false;
		})
		// cursor
		.hover(function() {
			jQuery(this).css('cursor','pointer');
		});
	// add a arrow after it
	 jQuery("#push-row a").append('<img src="/wp-content/themes/PARforlife/library/images/more.gif" alt="more" />');
	
	
});
