I am not sure what is hard about it. It is basic DHTML.
Have an image hidden on the page with the display set to none. Set its position to absolute and set the top and left location to where you want it to appear.
When you call your Ajax function you set the display to block/inline
When the Ajax call returns when it is complete you set the display back to none.