Imitating Flash with JavaScript?

Go there and click on any of the thumbnail images near the bottom. How do they get such smooth animations and a preloader without Flash? Is this Javascript or something? How can I do this? Can you show me some links to good tutorials on imitating Flash animations with Javascript? It would be a lot better to use Javascript than Flash becuase Flash cannot use Google Ads and cannot be crawled by a search engine.