jQuery Tabs problem

jQuery Tabs problem

I am trying to get this to work:
  1.     <div id="tabs">
  2.         <ul>
  3.             <li><a href="Tool1">Tool One</a></li>
  4.             <li><a href="Tool2">Tool Two</a></li>
  5.             <li><a href="Tool3">Tool Three</a></li>
  6.         </ul>
  7.     </div>
And in my document ready:
  1.     $( "#tabs" ).tabs( {
  2.         beforeLoad: function ( event, ui ) {
  3.             ui.jqXHR.error( function () {
  4.                 ui.panel.html(
  5.                   "Couldn't load this tab." );
  6.             } );
  7.         }
  8.     } );
Tool1, Tool2 and Tool3 are tools located on my web api app- same app that serves up the page with the tabs.

The problem is that while the first tab appears to be loaded perfectly and everything looks good, when I click on the second tab I get taken directly to http://localhost/Tool2` instead of seeing Tool2 content in the tab area.

Any thoughts on why this might be happening?