This is an example of java script. Java script is a scripting language developed by Netscape to enable Web authors to design interactive sites. Although it shares many of the features and structures of the full Java language, it was developed independently. Javascript can interact with HTML source code, enabling Web authors to spice up their sites with dynamic content. You can visit the Javascrip Source Web page and they allow you to search and copy different types of code for animations as long as you keep the javasource link within your site.