Please make sure you replace [handler_function] with the name of the other handler function in the above code.
Below is an example:
<script language='JavaScript'>
<!--
function xyz()
{
alert ('this will be displayed when the page is loaded');
}
addLoadHandler ('xyz');
//-->
</script>