			function review_show(num, bShowMore){
				var oReviewBody = document.getElementById("reviewbody" + num);
				var oReviewBodyMore = document.getElementById("reviewbodymore" + num);
				
				if (bShowMore) {
					oReviewBody.style.display = "none";
					oReviewBodyMore.style.display = "block";
				} else {
					oReviewBody.style.display = "block";
					oReviewBodyMore.style.display = "none";
				}
			}
			
			function review_paging(iPage, iPageCount, iTotalRecords, strQueryString) {
				var iCounter = 0;
				var iStart = 0
				var iEnd = 0
				var iTotalPages = Math.round((iTotalRecords / iPageCount) + 0.49999999999999);
				var strText = "";
				var url = self.location.toString().substring(0, self.location.toString().indexOf("?"));
				var iTdCounter = 2;
				strQueryString = strQueryString == "" ? "" : strQueryString + "&";
			
				iPage = iPage <= 0 ? 1 : iPage;
				// Exit if the total number of pages = 1
				if (iTotalPages <= 1) return;
				
				// The following 2 variables are used to display records x of y
				var iStartIndex = ((iPage-1) * iPageCount)+1;
				var iEndIndex = iStartIndex >= iTotalRecords ? iStartIndex : iStartIndex + ((iPageCount*(iPage))-iStartIndex);
				iEndIndex = iEndIndex > iTotalRecords ? iTotalRecords : iEndIndex;
				
				// Counter used to return page count index (if 1-5 = 0 | 6-10 = 1 etc.)
				iCounter = Math.round((iPage / iTotalPages * (iTotalPages/iPageCount)) + 0.49999999999999);
				iCounter = iCounter - 1;
			
				// Starting and ending position for the page counters
				iStart = iPageCount * iCounter;
				iEnd = iStart + iPageCount > iTotalPages ? iTotalPages : iStart + iPageCount;
				
				//alert("iPage = " + iPage + "\niPageCount = " + iPageCount + "\niTotalRecords = " + iTotalRecords + "\niTotalPages = " + iTotalPages + "\niCounter = " + iCounter + "\niStart = " + iStart + "\niEnd = " + iEnd);
				strText += '<table border="0" cellpadding="0" cellspacing="0" style="margin-top: 5px;">\n';
				strText += '<tr>\n';
			
				if (iPage <= 1) {
					strText += '<td><div class="prev"><img src="/images/arrow_left_off.gif" width="4" height="7" alt="" style="margin-right: 5px;" />Previous</div></td>\n';
				} else {
					strText += '<td><div class="prev"><img src="/images/arrow_left_on.gif" width="4" height="7" alt="" style="margin-right: 5px;" /><a href="' + url + '?' + strQueryString + 'iReviewPage=' + (iPage-1) + '">Previous</a></div></td>\n';
				}
				
				for (var i=iStart+1; i<=iEnd; i++){
					if (i == iPage) strText += '<td><div class="on">' + i + '</div></td>\n';
					else strText += '<td><div class="off"><a href="' + url + '?' + strQueryString + 'iReviewPage=' + i + '">' + i + '</a></div></td>\n';
					iTdCounter ++;
				}
				
				if (iPage >= iTotalPages) {
					strText += '<td><div class="next">Next<img src="/images/arrow_right_off.gif" width="4" height="7" alt="" style="margin-left: 5px;" /></div></td>\n';
				} else {
					strText += '<td><div class="next"><a href="' + url + '?' + strQueryString + 'iReviewPage=' + (iPage+1) + '">Next</a><img src="/images/arrow_right_on.gif" width="4" height="7" alt="" style="margin-left: 5px;" /></div></td>\n';
				}
				
				strText += '</tr>\n';
				
				strText += '<tr>\n';
				strText += '<td colspan="' + iTdCounter + '" align="center"><div style="margin-top: 10px; color: #000000; font-weight: bold;">Displaying ' + iStartIndex + '-' + iEndIndex + ' of ' + iTotalRecords + '</div></td>\n';
				strText += '</tr>\n';
				strText += '</table>\n';
				document.write(strText);
			}
