How can I remember path to previous window in java script? For example:I have menu in left site. With this menu can I display another views. From views can I set and open documents. In the opening document I have button Close, which closing document’s window. Now, after closed I open default view. How can I do this, If I close document, I open then view, in which document was opened in WEB.