/**
 * All of the search results "pages" are generated at the same time.  Each results
 * page is generated in its own <div> which can be hidden or made visible at any time.
 *
 * This method makes the selected results page visible and hides all of the other pages.
 *
 * @param currentPage The results page to show
 * @param numPage The total number of results pages
 */
 
function showResultsPage(currentPage, numPages)
{
    for (var i=1; i<=numPages; i++)
    {
        var divObj = document.getElementById( "ResultsPage_" + i );
        if (i == currentPage)
            divObj.style.display = "inline";
        else
            divObj.style.display = "none";
    }
	window.scrollTo(0, 0);
}


