public String getLastPageHTML() {
		StringBuffer sb = new StringBuffer("");
		int countRecords = this.currentPage * this.sizePage;
		if (this.countRecord == 0)
			this.countRecord = getCountRecord();

		if (this.countPage == 0)
			this.countPage = getCountPage();

		if ((countRecords >= this.countRecord) || (this.countRecord <= 0)) {
			sb.append(this.lastPage);
		} else {
			sb.append("<a href='");
			sb.append(this.url);
			sb.append(this.connector);
			sb.append("pageid=");
			sb.append(this.countPage);
			sb.append("'>");
			sb.append(this.lastPage);
			sb.append("</a>");
		}
		String lastPage = sb.toString();
		return lastPage;
	}