alert(window.document)
alert(document in window)//false