do you want this done on the client or server? If on the client, do you want VBScript or Javascript?