<!-- #include virtual="/NR/System/WBC/Internals/Main/WBCApp.inc"-->
<!-- #include virtual="/NR/System/WBC/Customizable/WBCFuncPagesConfig/UIStringConstants/PageRevisionUIStrings.inc" -->
<!-- #include virtual="/NR/System/WBC/Internals/WBCFuncPages/Cross-Browser/RevisionBrowser/Page/Common/ProgrammingConstants.inc"-->

<%
' ********************************************************************
' Copyright (C) 2001 Microsoft Corporation. All rights reserved.
'
'	IMPORTANT.  Please read the legal.txt file, located in the
'	"<CMS Install Directory>\Server\httpexec\WBC\Internals"
'	directory, governing the use of this internal file."
' ********************************************************************

' ********************************************************************
' File:		/NR/System/WBC/Internals/WBCFuncPages/Cross-Browser/RevisionBrowser/
'			Page/RevisionCompare/PageRevisionCompareDlg.asp
' Version:	Microsoft Content Management Server
' Author:	Microsoft Corporation.
' Purpose:	Responsible for Displaying Page Revision History Report.
'
' Query String Parameters:
'	[API-Generated-Query-Params]: This set of parameters is generated by
'								  invoking the API method Posting.QueryString
'								  in the previous ASP page. It contains all the
'								  necessary information to be interpreted by the
'								  API to set the AutoSession.This object in this
'								  ASP page.
' ********************************************************************

Dim g_pFormReader
Set g_pFormReader = GetInitializedFormReaderSafe( false )

Dim strCompareFrom
Dim strCompareTo
Dim strCompareFromType
Dim strCompareToType
strCompareFrom = g_pFormReader.Form( IDS_COMPAREFROM_VALUE )
strCompareTo = g_pFormReader.Form( IDS_COMPARETO_VALUE )
strCompareFromType = g_pFormReader.Form( IDS_COMPAREFROM_TYPE )
strCompareToType = g_pFormReader.Form( IDS_COMPARETO_TYPE )

Dim strCompareInfoURL
strCompareInfoURL = IDS_COMPAREINFO_URL & URLEncodedQueryString()

If (strCompareFrom <>"") Then
	strCompareInfoURL = strCompareInfoURL & "&" & IDS_QSTR_COMPAREFROM_DATE & "=" & CStr(CDbl(CDate(strCompareFrom)))
End If

If (strCompareTo <>"") Then
	strCompareInfoURL = strCompareInfoURL & "&" & IDS_QSTR_COMPARETO_DATE & "=" & CStr(CDbl(CDate(strCompareTo)))
End If

If (strCompareFromType <>"") Then
	strCompareInfoURL = strCompareInfoURL & "&" & IDS_QSTR_COMPAREFROM_TYPE & "=" & Server.URLEncode(CStr(strCompareFromType))
End If

If (strCompareToType <>"") Then
	strCompareInfoURL = strCompareInfoURL & "&" & IDS_QSTR_COMPARETO_TYPE & "=" & Server.URLEncode(CStr(strCompareToType))
End If

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

<html>
<head>
	<meta name="Author" content="Microsoft Corporation.">
	<meta name="Description" content="Display Page Revision Compare Report">
	<meta name="robots" content="NOINDEX,NOFOLLOW">
	<title><%= IDS_UI_BROWSER_TITLE %></title>
</head>

<frameset rows="220,*" framespacing="0" frameborder="no" border="0">
	<!--
		Page Compare Configuration Frame: for user to configure the compare option
	-->
	<frame src="<%= strCompareInfoURL %>" name="WBC_frameCompareInfo" scrolling="no">
	</frame>

	<!--
		Display Compare Result Frame: for displaying the compare result base on the current compare configuration
	-->
	<frame src="about:blank" name="WBC_frameCompareResult">
	</frame>
</frameset>

</html>