<!--#include file="CNCASPPageManager_PageMoveAcceptor.inc" -->

<%
' *****************************************************************************
' File:		/NR/System/WBC/Internals/WBCFuncPages/Cross-Browser/
'			PageOperation/EditMode/PageMove/PageMoveAcceptor.asp
'
' Author:	Microsoft Corporation.
' Purpose:	Perform the page moving process
'
' Query String Parameters:
'			IDS_QSTR_PAGEOPERATIONEDIT_SOURCEPAGE: The GUID of page going to be copied
'
' Form Field Names:
'			IDS_FORM_CHANNEL_GUID: Guid ID of the destination channel.
' ************************************************************************

' ---- Initialize the ASPPageManager
Dim g_pASPPageManager
Set g_pASPPageManager = New CNCASPPageManager_PageMoveAcceptor
Call g_pASPPageManager.InitManager()

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<meta name="Author" content="Microsoft Corporation.">
<meta name="Description" content="Process the Move page process">
<meta name="robots" content="NOINDEX,NOFOLLOW">
<meta http-equiv="Content-Type" content="text/html;charset=<%= g_pASPPageManager.Charset %>">
<title><%= IDS_UI_BROWSER_TITLE %></title>

<% Call EmbedWBCHeadSection %>

</head>

<body <%= IDS_BODYSETTING %>>


<%	If (g_pASPPageManager.Error <> "") Then %>

	<script language="JavaScript" type="text/javascript">
	<!--
		// show error
			alert('<%=g_pASPPageManager.Error%>:     ' +'<%=AutoSession.LastError.Description%>');
		// -->
	</script>


<%	Else
%>	<script language="JavaScript" type="text/javascript">
	<!--
		// refresh the main resource list window and close the Replace dialog itself

		if (!WBC_isOpenerWindowClosed())
		{
			window.top.opener.top.location = '<%=g_pASPPageManager.URLGoBackEditModeLink%>';
		}
		window.top.close();

		// -->
	</script>
<%	End If %>

</body>

</html>