What have you done to debug this so far? What's the actual problem? Just saying "it doesn't work" is not helpful. Please read ItDoesntWorkIsUseless. Have you run this with the debugger open to see if there are script errors?