Or does the OP mean the page that called the current page?
I had some discussion on this here and was informed that document.referrer
returns this info., although it doesn't always work (I think what I was told
that it only works when a page is called with a link, but not when called
with a script)