Hello to all i need to open new browser window automatically.
Here is code where i have to click on button to open window :
<!DOCTYPE html>
<html>
<head>
<script>
function openWin()
{
myWindow=window.open('','','width=200,height=100');
myWindow.document.write("<p>This is 'myWindow'</p>");
myWindow.focus();
}
</script>
</head>
<body>

<input type="button" value="Open window" onclick="openWin()" />

</body>
</html>

Please how i can open window , without clicking on button so window just open automatically ?
Thank You