var $j = jQuery.noConflict();

$j(function () {
	var tabContainers = $j('div.tabs div.tab');
	tabContainers.hide();//.filter(':first').show();
	
	
	$j('div.tabs a.tab-bar').click(function () {
		tabContainers.hide();
		//tabContainers.filter(this.hash).show();
		
		//var thisId = this.hash.slice(6);
		//sideContainers.hide();
		//$j('div#t-'+thisId).show();
		$j(this).next('div').show();
		

		$j('div.tabs a.tab-bar').removeClass('selected');
		$j(this).addClass('selected');
		return false;
	});//.filter(':first').click();
});	

jQuery(document).ready(function($jx) {
	$jx('#person-1').hover(
	  function () {
	    $jx('#callout-1').show();
	  },
	  function () {
	    $jx('#callout-1').hide();
	 });
	 
	 $jx('#person-2').hover(
	  function () {
	    $jx('#callout-2').show();
	  },
	  function () {
	    $jx('#callout-2').hide();
	 });
	 
	 $jx('#person-3').hover(
	  function () {
	    $jx('#callout-3').show();
	  },
	  function () {
	    $jx('#callout-3').hide();
	 });
	 
	 $jx('#person-4').hover(
	  function () {
	    $jx('#callout-4').show();
	  },
	  function () {
	    $jx('#callout-4').hide();
	 });
});
