This sample page uses the State Change Observer to listen for the state change event generated by switching to the image map view.