i use simple loader images from ajaxload.info with a little js script i knocked up for pages i knock up that need loaders e.g.
http://www.topofthewardrobe.com/light2/if you are using tabs to swap divs, it would be easier not to use ajax, load all the info onscreen at once and use js to swap them over, this wouldn't need any loaders.
something like
<div id="tab1">
blah blah blah
</div>
<div id="tab2" style="display:none;">
blah blah blah
</div>
<div id="tab3" style="display:none;">
blah blah blah
</div>
<div id="tab4" style="display:none;">
blah blah blah
</div>
and have an onclick along the lines of onClick="show(2)"
where
function show(foo)
{
for(i=1;i<=4;i++)
{
document.getElementById("tab"+i).style.display='none';
}
document.getElementById("tab"+foo).style.display='inline';
}
That code is untested and written straight in here, so i apologise for any dumb ass mistakes, but it should give you the jist of the method i've used i the past
Keri.