for calling java script function , u have to call it like this<body onload="function Body_onload()" STYLE="MARGIN-TOP: 5" text="#006400" link="#0000ff" alink="#ff0000" vlink="#0000ff" background="Images\Erable.jpg"></body>===========================<script language="javaScript">function Body_onload(){ statement 1 ; statement 2 ; statement 3 ;}