This simple code will allow you to open a new window using JavaScript – and control the way it looks.

<html>

<head>
  <script type="text/javascript">
  function openWindow(link)
  {
    window.open(link,"_blank","toolbar=yes, location=no, directories=no, status=yes,
    menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400");
  }
  </script>
</head>

<body>
  <a href="#" onclick="openWindow('http://www.webdesigntuts.net/');">Open Window</a>
</body>

</html>