
	
$(document).ready(function(){
	
	// setup tabs
	$('#container').tabs({ fxFade: true, fxSpeed: 'fast' });
	
	// hide sub_content content
	$("div#td_bio_sub_content").addClass("hide");
	$("div#jw_bio_sub_content").addClass("hide");
	$("div#gp_bio_sub_content").addClass("hide");
	$("div#ks_bio_sub_content").addClass("hide");
	
	// create link to show sub_content
	$("div#td_bio_intro").append('<p><a href="#dickinson" id="td_show_bio"><strong>View the rest of the profile:</strong> Business Experience, Education, Licenses &amp; Certifications, and Author/Speaker details</a></p>');
	
	// create link to show sub_content
	$("div#td_bio_sub_content").append('<p><a href="#dickinson" id="td_hide_bio">Hide profile</a></p>');
		
	// show the rest of the bio
	$("a#td_show_bio").click(function(){
		
		$("a#td_show_bio").slideUp("slow");
		
		$("div#td_bio_sub_content").slideDown("slow");
	   
		return false;
	});
	 
	$("a#td_hide_bio").click(function(){
			
		$("div#td_bio_sub_content").slideUp("slow");
		
		$("a#td_show_bio").slideDown("slow");
			
		return false;
	});
		 
	// create link to show sub_content
	$("div#jw_bio_intro").append('<p><a href="#wheelock" id="jw_show_bio"><strong>View the rest of the profile:</strong> Business Experience, Education, Licenses &amp; Certifications, and Author/Speaker details</a></p>');
	
	// create link to show sub_content
	$("div#jw_bio_sub_content").append('<p><a href="#wheelock" id="jw_hide_bio">Hide profile</a></p>');
		
	// show the rest of the bio
	$("a#jw_show_bio").click(function(){
		
		$("a#jw_show_bio").slideUp("slow");
		
		$("div#jw_bio_sub_content").slideDown("slow");
	   
		return false;
	});
	 
	$("a#jw_hide_bio").click(function(){
			
		$("div#jw_bio_sub_content").slideUp("slow");
		
		$("a#jw_show_bio").slideDown("slow");
		
		return false;
	});
	
	// create link to show sub_content
	$("div#gp_bio_intro").append('<p><a href="#propes" id="gp_show_bio"><strong>View the rest of the profile:</strong> Education and Licenses &amp; Certifications</a></p>');
	
	// create link to show sub_content
	$("div#gp_bio_sub_content").append('<p><a href="#propes" id="gp_hide_bio">Hide profile</a></p>');
		
	// show the rest of the bio
	$("a#gp_show_bio").click(function(){
		
		$("a#gp_show_bio").slideUp("slow");
		
		$("div#gp_bio_sub_content").slideDown("slow");
	   
		return false;
	});
	 
	$("a#gp_hide_bio").click(function(){
			
		$("div#gp_bio_sub_content").slideUp("slow");
		
		$("a#gp_show_bio").slideDown("slow");
		
		return false;
	});	
	
		// create link to show sub_content
	$("div#ks_bio_intro").append('<p><a href="#shiffman" id="ks_show_bio"><strong>View the rest of the profile:</strong> Education and Licenses &amp; Certifications</a></p>');
	
	// create link to show sub_content
	$("div#ks_bio_sub_content").append('<p><a href="#shiffman" id="ks_hide_bio">Hide profile</a></p>');
		
	// show the rest of the bio
	$("a#ks_show_bio").click(function(){
		
		$("a#ks_show_bio").slideUp("slow");
		
		$("div#ks_bio_sub_content").slideDown("slow");
	   
		return false;
	});
	 
	$("a#ks_hide_bio").click(function(){
			
		$("div#ks_bio_sub_content").slideUp("slow");
		
		$("a#ks_show_bio").slideDown("slow");
		
		return false;
	});	 
});
