title: Hiding Address bar in popup window
body: <p>net application, in which i am using some popup windows to open some pages. For this, i am using a method like this</p>
  
  <pre><code>private void OpenWindow(string Url, string height, string Width)
  {
      try
      {
          string strScript = "";
          strScript += "&lt;script language=\"javascript\"&gt;";
          strScript += "eval(\"popUpWindow('" + Url + "',0,0," + Width + "," + height + ",directories=no)\");";
          strScript += "&lt;/script&gt;";
          lblScript.Text = strScript;
      }
      catch (Exception ex)
      {
          LogError.Log(ex);
          throw;
      }
  }
  </code></pre>
  
  <p>JavaScript function as this:</p>
  
  <pre><code>var popUpWin = 0;
  
  function popUpWindow(URLStr, left, top, width, height, windowName) {
      left = (screen.width / 2) - width / 2;
      top = (screen.height / 2) - height / 2;
      if (popUpWin) {
          if (!popUpWin.closed)
              popUpWin.close();
      }
      popUpWin = open(URLStr, windowName, 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width=' + width + ',height=' + height + ',left=' + left + ', top=' + top + ',screenX=' + left + ',screenY=' + top + '');
      popUpWin.focus();
  }
  </code></pre>
  
  <p>Now its working as fine with showing the address bar. But my requirement is that i have to hide the address bar in all of my popup window. Is this possible? Please help by providing one solution. thanks in davance..</p>