I have discovered that people have problems with focusing the newly opened window. There are a lot of examples like that in the Internet.

I would like to have a focus on my new window opener. I have try so many things:

Code:
function openSubmit() {
		var newWindow = window.open('http://example.com', "new window");
		newWindow.opener.window.focus();
		newWindow.opener.focus();
		window.focus();
}
But after the invocation of this function the newly created window is always focused - and I would like the old window to be focused and the new one - opened 'in the background'.

Anyone have a working example?
Regards,
Mark