I was really getting mad at Orkut for not giving functionality to delete all the messages from inbox in one go and your script turned out really useful.
I noticed that Orkut has changed the page name hence now including:
would make the script work just fine.
The script is deleting about 4000 messages !!
Thanks once again..