You could use the microsoft extension msxsl:script to interface to
javascript but really, you shouldn't need to, The IE5 language only
needed xsl:eval because it was so short of computational ability, but
xslt is more than able to do those calculations directly (from a quick
glance at your script)
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list