function GotoPageSubmit()
	{
	if ( document.GotoPage.Page.value == "" )
		{
		window.alert ( "请输入要转到的页数！" );
		document.GotoPage.Page.focus ();
		return false;
		}

	if ( HaveNoNumber ( document.GotoPage.Page.value ) )
		{
		window.alert ( "输入的页数有误！" );
		document.GotoPage.Page.focus ();
		return false;
		}

	if ( parseInt ( document.GotoPage.Page.value ) > parseInt ( document.GotoPage.MaxPage.value ) || parseInt ( document.GotoPage.Page.value ) < 1 )
		{
		window.alert ( "输入的页数有误！" );
		document.GotoPage.Page.focus ();
		return false;
		}

	}

function HaveNoNumber ( Number )
	{

	Text = "1234567890";

	for ( i = 0; i <= Number.length - 1; i++ )
		{
		Char = Number.charAt ( i );
		Index = Text.indexOf ( Char );

		if ( Index == -1 )
			return true;
		}

	return false;
	}