javasript Document Refermer

var referrer = document.referrer;
Amused Antelope