Function with no arguments
This example uses two programmer-defined functions called regular and large. The functions are defined in the head section of the page. Neither function has an argument -- they are self contained. (The comment is designed to hide the function definition from early Web clients that did not recognize Javascript).
The onClick event handlers in the page body call the two functions.