function loadItems(hash) {
	// Default to page 1 if none has been specified, otherwise use the last part of our hash
	var page=hash ? hash.substring(5) : 1;
	var params={
		'page'		:		page
	};
	$.get('_items.php', params, function(html) {
		$('#existing_items').html(html);
		performFixes();		
		$('a.page_number').not('a.current_page').click(function() {
			// Extract the page number from the href attribute
			var pageNo=$(this).attr('href').substring($(this).attr('href').indexOf('#')+1);
			$.history.load('page-'+pageNo);
			return false;
		});
		$('a.page_number.current_page').click(function() {
			return false;
		});
		$('.fixHeights .innerWidth').normaliseHeights();		
	});
}
$(document).ready(function() {
	/////////////////////////////////////////////////////////////////////////////
	// - AJAX BACK BUTTON FIX - /////////////////////////////////////////////////
	/////////////////////////////////////////////////////////////////////////////	
	$.history.init(loadItems);
});	