Replaced getElementById with prototype $ function.
Replaced xmlHttpRequest with Ajax.Updater
Replaced xmlHttpRequest with Ajax.Request.