Javascript rotating offers

hi there, can someone please let me know if I can do something like this, but not in flash, in javascript???

http://www.pcmall.co.za/ - the top rotating banner, where the viewer can click on next, and it rotates by itself???

thx!