Probably a really easy question, but i only know how to do it with PHP and need to figure this out to complete a AJAX script.

if my function is rateit(), and i call rateit(5) in my script, what code would I use in the function code to pull the 5 out?