Possible Answers

  1. function open_win()
       {
       window.open('url','name','width=300,height=200');
       }
    
  2. function open_win(doc_url)
       {
       window.open(doc_url,'name','width=300,height=200');
       }
    
    Note: the argument occurs without the quotes