When opening a window using window.open, use this property from the destination window to return details of the source window.
Da chi e come e' stata aperta la pagina attuale? appartengono allo stesso dominio?

ciao