%@ LANGUAGE = VBScript %>
<% Option Explicit %>
<%
Const MD_UNLIMITED_FILESIZE = "&HFFFFFFFF"
Const ISM_FILESIZE_DEFAULT = "512"
Const EXTW3SVCPATH = "IIS://localhost/w3svc"
Const EXTMSFTPSVCPATH = "IIS://localhost/msftpsvc"
Const CUSTOMLOGPATH = "IIS://localhost/Logging/Custom Logging"
Const CUSTOMLOGKEYTYPE = "IISCustomLogModule"
'On Error Resume Next
Dim path, currentobj, lfSize, svctype, svrname, ExtSvcPath,objExtSVC
path=Session("spath")
Session("path")=path
Session("SpecObj")=""
Session("SpecProps")=""
Set currentobj=GetObject(path)
if Session("stype") = "www" then
ExtSvcPath = EXTW3SVCPATH
else
ExtSvcPath = EXTMSFTPSVCPATH
end if
svctype = Mid(path, InStr(7,path, "/")+1)
if Instr(svctype,"/") then
svctype = Mid(svctype,1,Instr(svctype, "/")-1)
end if
svrname = Mid(path, InStrRev(path, "/")+1)
%>
<%
' Do not use top.title.Global.update flag if page is loaded into a dialog
bUpdateGlobal = false
%>
<% if Session("canBrowse") then %>
<% end if %>
"ODBC" then %>onLoad="setLogFile(document.userform.LogFilePeriod.value);"<% end if %>>
<%= sFont("","","",True) %>
<% if Session("setLogUI") = "ODBC" then %>
<% else %>
<% if Session("setLogUI") = "EXT" then %>