/* =====================================
   Intralign™ V1.00 - Released July 2010
   Copyright © 2010, Intraversed Pty Ltd
   Sydney, NSW Australia
   -------------------------------------
   History:
   V1.00 - first release.

   Author: Mark Gavin Atkins
   =====================================
*/
$(document).ready( function ()
	{
	function showMe(t){
		t.parent().parent().next().slideDown('slow');
		t.text('less...').unbind().bind('click',
			function(){
				hideMe(t);
				return false;
			});
		
	}
	
	function hideMe(t){
		t.parent().parent().next().slideUp('slow');
		t.text('more...').unbind().bind('click',
			function(){
				showMe(t);
				return false;
			});
	}
	
	$('#smithDetail,#atkinsDetail').addClass('hidden');
	$('#smithSummary p:last,#atkinsSummary p:last').removeClass('hidden');
	$('#smithSummary a,#atkinsSummary a').bind('click',
		function(){
			showMe($(this));
			return false;
		});
// end of the document ready code	
	});
