<%
' *****************************************************************************
'
' Copyright (C) 2001 Microsoft Corporation. All rights reserved.
'
'	This file define the set of Hook functions that can be customized to
'	override URL generations for Task Assistant dialogs.
'
'	The set of Hook functions exposed are:
'
'	- Sub OnCustomizeProductionManagerURL( ByVal pThis, ByRef strURL )
'	- Sub OnCustomizeApprovalAssistantURL( ByVal pThis, ByRef strURL )
'
' *****************************************************************************


' -----------------------------------------------------------------------------
'
'	This function is called to allow site designer to override the default
'	behavior of WBC Production Manager dialog URL generation.
'
'	@pThis [in] - the current Channel or Posting
'
'	@strURL [in, out] - the default URL. Its value can be modified in this
'						function to alter the URL generated.
'
' -----------------------------------------------------------------------------
Sub OnCustomizeProductionManagerURL( ByVal pThis, ByRef strURL )
	' DEFAULT IMPLEMENTATION: do nothing so that URL remains unchanged


	' CUSTOM SCRIPT: modify strURL according to custom logic.
	' 	The following sample code propagates the "ProductID" querystring
	'	paramter in the current URL to the URL being generated

	'If (Request.QueryString("ProductID") <> "") Then
	'	Dim strCustomQueryString
	'	strCustomQueryString = "ProductID=" & Server.URLEncode(Request.QueryString("ProductID"))
	'	strURL = AppendQueryString( strURL, strCustomQueryString )
	'End If

End Sub


' -----------------------------------------------------------------------------
'
'	This function is called to allow site designer to override the default
'	behavior of WBC Approval Assistant dialog URL generation.
'
'	@pThis [in] - the current Channel or Posting
'
'	@strURL [in, out] - the default URL. Its value can be modified in this
'						function to alter the URL generated.
'
' -----------------------------------------------------------------------------
Sub OnCustomizeApprovalAssistantURL( ByVal pThis, ByRef strURL )
	' DEFAULT IMPLEMENTATION: do nothing so that URL remains unchanged


	' CUSTOM SCRIPT: modify strURL according to custom logic.
	' 	The following sample code propagates the "ProductID" querystring
	'	paramter in the current URL to the URL being generated

	'If (Request.QueryString("ProductID") <> "") Then
	'	Dim strCustomQueryString
	'	strCustomQueryString = "ProductID=" & Server.URLEncode(Request.QueryString("ProductID"))
	'	strURL = AppendQueryString( strURL, strCustomQueryString )
	'End If

End Sub


%>