Note: This example uses the DOM style methods and will fail in Internet Explorer.