try the code here

http://www.cerebral-bicycle.co.uk/vi...doc=307&date=Y

I had similar problems a while back, and you have to get it exactly right otherwise it just doesn't work.

Dean