function valPageing(pForm, maxpage){

   if (trim(pForm.Page.value) == "" || trim(pForm.Page.value) == '0'){
	   alert("Please enter page number.");
	   pForm.Page.focus();
 	   return false;
   }
   if (isNaN(trim(pForm.Page.value))){
	   alert("The page number can include the digits only.");
	   pForm.Page.focus();
 	   return false;
   }
   if (parseInt(trim(pForm.Page.value)) > parseInt(maxpage)){
	   alert("This page cannot be found.");
	   pForm.Page.focus();
 	   return false;
   }
   return true;
}