Understand how to add events to your templates like onclick and onready etc..
Right click and 'View page source' to see how this page was rendered.