%@ LANGUAGE="VBSCRIPT"%> <%Response.buffer = true Function getFileName() Dim lsPath, arPath ' Obtain the virtual file path lsPath = Request.ServerVariables("SCRIPT_NAME") ' Split the path along the /s. This creates an ' one-dimensional array arPath = Split(lsPath, "/") ' The last item in the array contains the file name GetFileName =arPath(UBound(arPath,1)) End Function dim template dim ImgWidth dim fileupdate 'fileupdate=GetLastUpdate() lang=Request.ServerVariables("PATH_INFO") lang = mid(lang, instrrev(lang,".")-1, 1) template = Request.Querystring("template") %> <% newpage = "http://www.cci-icc.gc.ca/publications/newsletters/news33/" & getFileName() newpage = replace(newpage,".shtml", ".aspx") Response.Status="301 Moved Permanently" Response.AddHeader "Location", newpage %>
|
<%
ImgWidth=582
End If
%>
<%
If template = "" Then
ImgWidth=603
%>
| ||||||||