First off, thanks for the help!
In my code the cy_code line is preceded with an '&' like all the other lines. I'm not sure why it's showing up the other way here. Is that what it should be? In your correction the same funny character showed up.
When I click the normal donate button (on a web page) it takes me to my page where a person could specify the amount they want to donate. I expect the dialog button should do the same thing. When I click the button on my dialog box (this code) I get the message "you must login before accessing this page".
Another difference is the URL that shows in IE. With the web based button I'm on the right page and its:
https://www.paypal.com/cgi-bin/webscr
With the dialog button it shows as:
https://www.paypal.com/c...;&lc="US"
mycompany is the email address I signed up with and the myproduct is the products name.
Thanks!
Ryan