%@ Language=VBScript %>
<%
Dim strPath
Dim fsObj
Dim xmlObj
Dim xmlObj2
Dim docXml
Dim docXml2
Dim nCnt
Dim nCnt2
strPath = Server.MapPath("./")
set xmlObj = Server.CreateObject("Msxml2.DOMDocument.3.0")
set xmlObj2 = Server.CreateObject("Msxml2.DOMDocument.3.0")
Set fsObj = Server.CreateObject("PhotoAlbumHelper.FileSys")
docXml = fsObj.GetAlbumList(strPath)
docXml2 = fsObj.GetAlbumPics(strPath)
xmlObj.loadXML docXml
nCnt = xmlObj.documentElement.childNodes.length
xmlObj2.loadXML docXml2
nCnt2 = xmlObj2.documentElement.childNodes.length
' set xmlObj = nothing
Set fsObj = nothing
%>