open links in the current tab in one tab only

open links in the current tab in one tab only

hi,
    I m having jquery ui tab panel with 2 tabs on it.
    Is there any method by which i can open links on the same tab
only when i click
    the links on second tab and not the first tab.
For example i have the code
    ------------------------------------------------------------------------------------------------------------------------
    $(function(){
    $('#tabs').tabs(
{
load: function(e, ui) {
$('a', ui.panel).click
(function() {
$('#tabs').tabs("url",
1, this.href).tabs("load",1);
return false;
});
}
,
selected: 1
});
    });
    ------------------------------------------------------------------------------------------------------------------------
    Now in this example all the links on the tab 1(tab 0) as well as on
tab 2(tab 1) gets opened
    in tab2(tab 1). What can be done to open only the links in the same
tab for only tab2(tab1)
    and the links in tab 1 go the simple way, not the ajax way(change the
browser's url).
    Thanks
    Pradyut
    http://pradyut.tk
    http://void.co.nr
    India
--