Don't we have a style for this already? I think there's something in Oasis called "startThrobbing()". There's probably a classname that shows the ajax gif.