title: javascript to open certain web page and login
body: <p>I am trying to create an html file that open a web page in default browser and login, 
  the page is in company intranet, and is .aspx strctured.</p>
  
  <p>The page contain user, pwd field and a link to complete login procedure.
  the related source row is </p>
  
  <pre><code>&lt;a id="lnkAccedi" href="javascript:__doPostBack('lnkAccedi','')" 
    style="background-color:Transparent;font-family:Arial;"&gt;Accedi...&lt;/a&gt; 
  </code></pre>
  
  <p>and the simple code i've already tested is</p>
  
  <pre><code>&lt;script language="JavaScript"&gt;
    window.open("intranet_web_page","_self");
  &lt;/script&gt;
  </code></pre>
  
  <p>where intranet_web_page is the URL of my login page.
  I tried to call the function defined in webpage source as "__doPostBack('lnkAccedi','');" in the script tag of my html file, but not work at all.</p>
  
  <p>How can i do that?</p>
  
  <p>Thanks in advance.</p>