title: Native JavaScript style syntax
body: <p>I'm working on some native JavaScript (not my forte.. at all) and am not seeing the result of my function. I'm sure I've got a syntax error in here somewhere. Can you help me identify it? FYI- The function will dynamically center an object on the page.</p>
  
  <pre><code>this.style[left]= ((windowWidth - this.style[width])/2);
  this.style[top]= ((windowHeight - this.style[height])/2);
  </code></pre>