I would like to open url from HTML link in a new window, after the page was loaded I need it to change to other page in the same window. All that by 1 click at the link.
Why? What purpose would you want to have a page load then open up in a new window.
If you mean to have the link clicked in a window open up a new window then this is easily done in HTML by adding to the <a anchor the target="blank" option.