This example must be run on a server to work properly and will only work in Firefox.