// JavaScript Document
var instructor = {
	init : function() {
		var active = $('div[@class*=active]'), first = $('div[@class*=instructor]:first'), full = $('span[@class=total_bio]');
		$(first).before(active);
		$(full).slideUp("fast");
		$(full).before('<span class="read_more">&hellip; <a href="#">read more &raquo;</a></span>');
		$('span[@class=read_more]').click(instructor.showBio);
	},
	showBio : function() {
		$(this).hide();
		var sib = $(this).siblings('span[@class=total_bio]');
		$(sib).slideDown("fast", function(){$(this).css('display','inline') } );
		return false;
	}
}
$(document).ready(instructor.init);