Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
What this is meant to be is a simple "send to a friend" script. This code generates a link to the script (which works just fine). I'm using variables in the address-line to be used later - that's the 'loc' there, and the 'story'.
What purpose does void(0); serve?
If all you want to do is open a new window, use the target attribute with the link and use the js function escape to perform the encoding.