title: Execution timing, AMPScript / JavaScript?
body: <p>I am interested in using JavaScript on an ExactTarget landing page. </p>
  
  <p>I'm hoping that the JavaScript I have on page can examine a cookie value, and based on this cookie value, set a variable in AMPScript. </p>
  
  <p>If I were to use SSJS, would the JavaScript execute before the AMPScript, which would work as I hope, or would the AMPScript execute first, followed by the SSJS? </p>