title: Calling a function of en external javascript file
body: <p>In general... How can I make a call on a function of an external java script file?</p>
  
  <p>More specific...</p>
  
  <ul>
  <li>In the head tag i have </li>
  </ul>
  
  <p><code>&lt;script type="text/javascript" src="JScript/FontSize.js"&gt;&lt;/script&gt;</code></p>
  
  <ul>
  <li><p>The external javascript file, (that i would like to call) <code>FontSize.js</code> contains the following functions.</p>
  
  <pre><code>function checkCookie()
  
  function setCookie(c_name, value, expiredays)
  
  function getCookie(c_name)
  
  function increaseFontSize()
  
  function decreaseFontSize()`
  </code></pre></li>
  <li><p>The FontSize.js is located at the <code>~/Jscript/</code> directory</p></li>
  </ul>
  
  <p>I guess the body on load should contain something like </p>
  
  <p><code>&lt;body onload="/JScript/Fontsize.js/checkCookie()"&gt;</code></p>
  
  <p>Of course nothing works as it should because, i do not know how to make the call to a function to an external js file</p>