// Project: Association for Hanna Somatic Education®, Inc.
// File: custom.js (custom jquery functions)
// Creator: VIM Interactive, Inc.
// Copyright: (c) 2011 - VIM Interactive, Inc.

$(function(){
		
	//for global navigation
	$(".global_nav > li").hover(function(){$(this).addClass("hover");}, function(){$(this).removeClass("hover");});
	
	//for homepage tabs
	var ti = $('#tabbed_interface>ul>li>a');
	ti.click(function(){ 
	$('#tabbed_interface>div>div').hide().filter(this.hash).show(); 
	ti.removeClass('highlight').filter(this).addClass('highlight'); 
	return false;
	});
	
	//design clean up
	$('.testimonial:last').css('border', 'none');
	$('.post:last').css('border', 'none');
	$('.events_cat li a:last').css('border', 'none');
	
});

