Function VBGetSwfVer(i) on error resume next Dim swControl, swVersion swVersion = 0 set swControl = CreateObject("ShockwaveFlash.ShockwaveFlash." + CStr(i)) if (IsObject(swControl)) then swVersion = swControl.GetVariable("$version") end if VBGetSwfVer = swVersion End Function Sub pac_slideshow_FSCommand(ByVal command, ByVal args) select case command case "putHREF" location.href = args case "putTitle" document.title = args end select end sub