function openWindow( url ) { window.open(url, '_blank'); window.focus(); } Click Me