title: How to launch Skype using Javascript automatically
body: <p>I know to open skype using its special commands in html to chat, for example:</p>
  
  <pre><code>&lt;a href="skype:some_skype_user?chat"&gt;Chat&lt;/a&gt;
  </code></pre>
  
  <p>One can click on "Chat" and it will launch Skype if it is installed.  </p>
  
  <p>However, I want to check if a customer is login to OUR SITE before he is able to chat.  Once the person is login, I would like to launch Skype with a Javascript function so that he does not have to click on the "Chat" link to start Skype.  So basically launching <strong>skype:some_skype_user?chat</strong> automatically.  It must be something simple, but I can't seem to find any answer. Thanks in advance.</p>