heres an example:<br><br><FONT FACE=monospace><br><%'<!--Step 0 Authenication-->%><br><BODY <%if IsEmpty(Session("LogName"

) and Request.Form("Command"

<> "LogName" then%> onload="Load_Up" <%end if%> ><br></font><br><br>if the user never loged on in my example, then it inserts onload="Load_Up" right in the body tag<br>so what you get is <br><BODY onload="Load_Up"><br><br>so when the user finally downloads the ASP, it see's that, and executes the function. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
</a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)