I'm trying to get a referrer by calling IHTMLDocument2::get_referrer(). It works fine for in-window hyperjumps. But when document is opened in a new window - IHTMLDocument2::get_referrer() returns NULL string. I also tried call IHTMLDocument2::get_parentWindow() then IHTMLWindow2::get_opener() but it returns VT_EMPTY variant :( It's so confusing because JavaScript's document.parentWindow.opener.location.href works fine! Please, tell me the way to determine referrer in a new window opened. -- Raider