public void doPaging() {

		if ((totalRecord % pageSize) == 0) {
			totalPage = totalRecord / pageSize;
		} else {
			totalPage = totalRecord / pageSize + 1;
		}

        if(currentPage > 0) {
        	calculatePage();	
        }
        
	}