I thought that popup's are the children of the page that spawned them. But when trying to access the parent.location in my popup I get the url of the popup - not the page that spawned it.

Well if thats true I need a way to access information about the parent (specifically the url) from the popup - oh and http_referer doesn't work either.