I am trying to fill up a slideshow containing several images. I want to use AJAX to populate the items. However, I do not know how to access the array and call the items from that array in.

I am making a call to the server with the function:

var makeRequest = function(slideshow, url, query, start, num)

If any one can tell me what these parameters reference and how can I write an array that is called by this function to populate my slideshow, I would be very thankful