To simplify Ajax integration into your web page, we've created an Ajax Script generator. Go to this web page:
Fill out the form and follow the instructions. For reference, you can also look at the example page at:
When the page is visible in the browser, right click on it and choose View Source.