New Method for Document and new Window