How do I encode a URL in javascript? I can't find a function that is equivalent to vbxcripts URLencode. Thanks in advance Lau