title: IE Object doesn't support this action - JavaScript
body: <p>I'm trying to draw a Google Map - works fine in FF, but in IE I get this error..</p>
  
  <pre><code>SCRIPT445: Object doesn't support this action 
  ct.js, line 135 character 5
  </code></pre>
  
  <p>Line 135 starts with <code>var mylatlongopt</code></p>
  
  <pre><code>function initializeMap(latz, longz, co) { 
      var mylatlongopt = new google.maps.LatLng(latz, longz);
      var mapOptions = { center: mylatlongopt, zoom: 15 };
      var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
      var marker = new google.maps.Marker({ position: mylatlongopt, title:co });
      marker.setMap(map);
  }
  </code></pre>
  
  <p>I've read that this usually has something to do with using words that are reserved in IE but I've added z's and such to make the vars unique and still doesn't work..</p>
  
  <p>What could this be?</p>