// JavaScript Document
function goPage()
{
	var thePage = document.all("txtPageNum");	
	var MaxPage = document.all("MaxPage");	
	var FunId = document.all("FunId")
	if (( parseInt(thePage.value) <= parseInt(MaxPage.value)) &&( parseInt(thePage.value) > 0 ))
	{
		window.location.href="?currentPage="+parseInt(thePage.value)
	}
	else
	{
		document.all.txtPageNum.value = "";
		document.all.txtPageNum.focus();
	}
}

