// jQuery onLoad...
$(document).ready(function(){
	
	$('#app_search').autocomplete('/view/app_search', {
		autoFill : true,
		delay : 250
	}).result(function(event, item) {
		// the name-value pair is passed in as array items 2 and 3 from the back end 
		setHashValue(item[1], item[2]);
	});

});

