function tabInit(id) {
tabId = id;
$(tabId+' a[rel="switchTab"]').bind('click', tabClick);
}

function tabClick() {
$(tabId+' li').removeClass('sel');
$(tabId+' a').each(function(){
var e = $(this).attr('href');
$(e).hide();
});
$('#blah').hide();

$(this).parent().addClass('sel');
var id = $(this).attr('href');
$(id).show();
return false;
}

