// JavaScript Document
	function pageselectCallback(page_index, jq){
		var new_content = $('#hiddenPage div.moduletable_rotator:eq('+page_index+')').clone();
		$('#firstPage').empty().append(new_content);
		return false;
	}
   
	function initPagination() {
		var num_entries = $('#hiddenPage div.moduletable_rotator').length;

		$("#Pagination").pagination(num_entries, {
			num_edge_entries: 2,
			num_display_entries: 8,
			callback: pageselectCallback,
			items_per_page:1
		});
	 }
				   
	$(document).ready(function(){      
		initPagination();
	});
