I'm having some problems figuring out why this greasemonkey script I'm writing for the webshots.com site isn't working properly. http://pastebin.ca/raw/440726
The problem seems to be the ajax response isn't being assigned to the "data" variable. At least, I think that's where the problem is. Firebug shows the $.get request being sent and the appropriate response being received, it just seems to stuff up immediately after that. The strange thing is, if I run the ajax code from the Firebug javascript console, it works fine. Here's a random webshots page you can test the script out on: http://community.webshots.com/user/rosemarra

