Calling a script funciton
Scripts functions are called through a number of events in the browser, such as the OnLoad, OnClick or OnMouseOver events. A <script> tag that is placed in the <body> element is executed when it is parsed by the browser.