// Attach a handler to the init event.
Sys.Application.add_init(applicationInitHandler);
function applicationInitHandler() {
// Add two custom controls to the application.
$create(Demo.HoverButton, {text: 'A HoverButton Control'},
{click: start, hover: doSomethingOnHover,
unhover: doSomethingOnUnHover},
null, $get('Button1'));
$create(Demo.HighVis, null, null, null, $get('Button2'));
}