// JavaScript Utilities Document

$(function() {

	var navDuration = 300; //time in miliseconds
    var navJumpHeight = "0.75em";

      $('#navigation li a').hover(function() {
          $(this).animate({ top : "-.75em"}, navDuration);            
      }, function() {
          $(this).animate({ top: "0"}, navDuration);
      });
});	  
	  

$(function() {
var tabContainers = $('div#content-container > + div');
	tabContainers.hide().filter(':first').slideDown();
	
	$('div#content-container .secondary-nav ul a').click(function () {
		tabContainers.hide();
		tabContainers.filter(this.hash).show();
		$('div#content-container .secondary-nav ul a').removeClass('current');
		$(this).addClass('current');
		return false;
	}).filter(':first').click();
	
});

$( function() {
   
    $('a[rel="external"]').click( function() {
        window.open( $(this).attr('href') );
        return false;
    });
   
});











	
