Ruth,
I sent you a private message last week about this error. Just posting a message here in case you didn't receive it.
The code taken from the website does parse fine for me and seemingly for few others too. So I am not sure what's different in your case. In any case, I'd be glad to email you the code directly if you provide me with your email (through a private message).
Amar
Amar