1 <html> 2 <head> 3 <script type="text/javascript"> 4 <!-- 5 function clickTheLink() 6 { 7 var ev = document.createEvent('MouseEvents'); 8 ev.initEvent( "click", true, false ); 9 document.getElementById('thelink').dispatchEvent(ev); 10 } 11 // --> 12 </script> 13 </head> 14 <h1>Multiple windows...</h1> 15 16 <a id=thelink target="_blank" href="newwindows.html">Popup!</a> 17