It looks like there is a bit of confusion between server and client side.
You don't "call" a client side script from server side. Server side you
create an HTML page. You can inject in this page some client side script
that will be called client side once this part is loaded client side or on
whatever event is available client side.
IMO Martin made a good suggestion ie. using the onload event on the body
tag. If reporting JS errors is disabled note also the event may work but get
unoticed because of an error in your javascript code. You could start by
just displaying an alert box when the document is loaded to see if it fires
correclty before plugin here more complex scripts. Make sure also your
browser is configured to report js errors...
Under its simplest form, you could just have :
<body onload="alert('Loaded !')"> in your ASPX page.
Patrice
--