//hide/show team_link & services info
$(document).ready(function() {

$("div[id^='team_link']").hide();
$('#clear').show();

$("a[id^='member']").click(function () { 

	var treatclass = $(this).attr('class');
	var newclass = treatclass + ' selected';
	
	$("a.selected").removeClass("selected");
	
    $(this).addClass(newclass);
 
	$('.team_links').hide();
	
	var team = $(this).attr('href');
	$(team).show();
	
	$.scrollTo($(team), 400, {offset:-50} );

	return false;
});
		return false;

});



$(document).ready(function() {

$("div[id^='service_link']").hide();
$("div[id^='service_link0']").show();
$('#clear').show();

$("a[id^='svc']").click(function () { 

	var treatclass = $(this).attr('class');
	var newclass = treatclass + ' selected';
	
	$("a.selected").removeClass("selected");
	
    $(this).addClass(newclass);
 
	$('.service_links').hide();
	
	var service = $(this).attr('href');
	$(service).show();

	 $.scrollTo($(service), 400, {offset:-50} );

	return false;
});
		return false;

});
