call to js function from aspx source
===

I was write a js function in the code-behind like this:

    Page.ClientScript.RegisterClientScriptBlock(Page.ClientScript.GetType(),"MyScript",
                        "<script type='text/javascript'>"+
                        "var urls="+s +
            "function carousel(params) {"+..."</script>");

How can I call to the javascript function **(that i wrote it in the code-behind)** at the aspx source of the page?? is the aspx know this function?

thanks,