<!-- ignore for non-javascript browsers
   function CheckGotoPage(iValue, iTotalPages)
   {
	 //NOTE: isNaN(iValue) isn't supported by NS 3 (it still gives a non numeric value when called), so use our own function IsOnlyNumeric in tasklogic.js.
	 var msg;
	 msg='Invalid page number!\n\nPlease enter a number between 1 and ' + iTotalPages + ' pages in the \'Goto page\' field.';
	 //Pass in true (bRequired) for page number
	 if (!IsOnlyNumeric(iValue,true)) {
	  alert(msg);
	  return false;
	 }
	 else if (iValue <= 0 || iValue > iTotalPages) {
	  if(iValue != iTotalPages) //When no plans are found the current page is 0 (even though they shouldn't enter 0 for goto), and total is 0, so let search again submit work.
	  {
	   alert(msg);
	   return false;
	  }
	  else
	   return true;
	 }
	 else return true;
   }
// end of ignore -->   
