You can institute the same behavior in Internet Explorer 5 as occurs in Internet Explorer 4 in the following way: use a global variable flag and test against it when the onscroll event fires. The first time, invoke the code you want and alter the flag; subsequently, do nothing. Use setTimeout to reset the flag in, say, 200 milliseconds to bypass on the subsequent events.
The following pseudocode demonstrates the workaround:
<SCRIPT>
Dim CounterForScroll
Function divNumbers_OnScroll()
If (CounterForScroll = 0) Then
CounterForScroll = CounterForScroll + 1
'... event handler code ...
CountOnScroll = CountOnScroll + 1
txtOnScroll.Value=CountOnScroll
window.setTimeout "Reset()", 200
End If
End Function
Function Reset()
CounterForScroll = 0
End Function
</SCRIPT>