What happens if you remove the onclick and let the Twitter for websites framework control the opening of the window instead? I think to accomplish it with an onclick like you’re trying to do, you’d have to parameterize your data as part of the HREF rather than using HTML attributes on the A tag.