<%
adImgArray = Split(images, sf)
imgArrayDim = UBound(adImgArray) - 1
For d = 0 to imgArrayDim
adImg = Split(adImgArray(d), "|")(0)
adSize = Split(adImgArray(d), "|")(1)
w = CLng(Split(adSize, "x")(0))
h = CLng(Split(adSize, "x")(1))
If d = 0 then
maxWidth = w
maxHeight = h
End If
If w > maxWidth then maxWidth = w
If h > maxHeight then maxHeight = h
sl_Images(d) = adImg
Next
Select Case sl_type
Case "slide": Call SlideShow(sl_pause, sl_Images, maxWidth, maxHeight)
Case "trans": Call TransShow(sl_pause, sl_Images, maxWidth, maxHeight)
Case "belt": Call BeltShow(sl_pause, sl_Images, maxWidth, maxHeight)
Case "down": Call DownShow(sl_pause, sl_Images, maxWidth, maxHeight)
Case "manual": Call ManualShow(sl_pause, sl_Images, maxWidth, maxHeight)
End Select
%>
|