function entries_ajax_form(sUrl) {
		
		
// Create a shorthand for YAHOO.util.Connect
var YUC = YAHOO.util.Connect;

/*
 * Create an object to handle all of the Connection Manager custom events.
 *
 * NOTE: You can also choose to represent your event handlers as global
 * functions instead of object members, and omit the scope argument from
 * subscribe().
 */
var handleEvents = {
	start:function(args){
	// do something when startEvent fires.
	// Argument eventType will have a string value of: startEvent
	// Argument args is an array, and the response object will be the
    // first element in the array.  The response object will have one
    // property: tId (the transaction ID).
    },

	complete:function(args){
	// do something when completeEvent fires.
	},

	success:function(args){
	// do something when successEvent fires.

	pageContent = '';
	try {
      		messages = YAHOO.lang.JSON.parse(args.responseText);
   			}
    		catch (x) {
        		//alert("JSON Parse failed!");
            		pageContent = 'Unable to retrieve the guestbook entries for this item';
					//return;
        			}

	for (var i = 0, len = messages.length; i < len; ++i) {
		var m = messages[i];
		pageContent = pageContent + '<div class="nexstar_classifieds_guestbook_entry_box_border">';
		pageContent = pageContent + '<div class="nexstar_classifieds_guestbook_entry_box_date">' + m.date + '</div>';
		pageContent = pageContent + '<div class="nexstar_classifieds_guestbook_entry_box_message">' + m.message + '</div>';
		pageContent = pageContent + '<div class="nexstar_classifieds_guestbook_entry_box_name">--' + m.firstname + ' ' + m.lastname + '</div>';
		pageContent = pageContent + '<div class="nexstar_classifieds_guestbook_entry_box_city">' + m.city + ', ' + m.state + '</div>';
		pageContent = pageContent + '&nbsp;</div>';
		}
	
    document.getElementById("nexstar_classifieds_guestbook_entries").innerHTML = pageContent;
	  
	
	},

	failure:function(args){
	// do something when failureEvent fires.
    document.getElementById("nexstar_classifieds_guestbook_entries").innerHTML = '<div style="padding-top: 20px; text-align: center; width: 100%;">There are no guestbook entries.</div>';
	},

	// Define this event handler for file upload transactions *only*.
	// This handler will not be used for any other transaction cases.
	upload:function(args){
	// do something when uploadEvent fires.
	},

	abort:function(args){
	// do something when abortEvent fires.
	}
};

/*
 * This example shows how to subscribe to all custom events fired at the
 * Connection Manager level.  When subscribed, the custom event will fire
 * for all transactions.
 */

// Subscribe to all custom events fired by Connection Manager.
// Pass in the *globalEvents* object as the second argument to provide
// the necessary scope correction for any usage of the *this* keyword
// in any of the handler functions.
//YUC.startEvent.subscribe(handleEvents.start, handleEvents);
//YUC.completeEvent.subscribe(handleEvents.complete, handleEvents);

// This event will not fire for file upload transactions.  Instead,
// subscribe to the uploadEvent.
//YUC.successEvent.subscribe(handleEvents.success, handleEvents);

// This event will not fire for file upload transactions.  Instead,
// subscribe to the uploadEvent.
//YUC.failureEvent.subscribe(handleEvents.failure, handleEvents);

// This event is fired only for file upload transactions in place of
// successEvent and failureEvent
//YUC.uploadEvent.subscribe(handleEvents.upload, handleEvents);
//YUC.abortEvent.subscribe(handleEvents.abort, handleEvents);

/*
 * NOTE: You do not need to pass a callback object to asyncRequest()
 * since your handlers are already subscribed at the Connection
 * Manager level.  The callback object omits any success or failure
 * logic since those cases are already available and subscribed to as
 * custom events.  You can still include callback.success and
 * callback.failure, and they will be processed; but, it will also be
 * a redundant action.
 */

var transaction = YUC.asyncRequest('GET', sUrl, handleEvents, { timeout: 3000 });

}