title: Multiple Pushpin with infobox in Bing Map
body: <p>I am trying to add multiple pushpin with separate infobox. that means each pushpin will have their own infobox with own info.
  there is a loop.inside that </p>
  
  <pre><code>latlng = new Microsoft.Maps.Location(latitude[pointerCount], longtitue[pointerCount]);
  MarkingLocation[pointerCount] = new Microsoft.Maps.Pushpin(latlng, {icon:"marker2.ico", height:50, width:50, anchor:new Microsoft.Maps.Point(0,50)}); 
  
  myInfobox = new Microsoft.Maps.Infobox(latlng, myinfoboxOption);
  
  Microsoft.Maps.Events.addHandler(MarkingLocation[pointerCount], 'click', function() {myInfobox.setOptions({ visible:true });});         
  map.entities.push(MarkingLocation[pointerCount]);
  map.entities.push(myInfobox);
  </code></pre>
  
  <p>Problem is that it's showing the last infobox only for every pushpin. Suppose I've 4 pushpin in Londom,France,Germany,America. now no matter which pin I've clicked, it's only show the America infobox on America pushpin.please can anyone help that what I've been missing......... </p>
  
  <p>And one more thing, can anyone please show the way to use htmlContent in infobox. I've tried to set it thrugh option,but it's not woring......</p>
  
  <pre><code>myinfoboxoption = {width:300, 
                                height: 100, 
                                title: str_loc, 
                                htmlContent: htmlc, 
                                showPointer: false, 
  
                                offset: new Microsoft.Maps.Point(-100,0)};
  </code></pre>
  
  <p>Please help........</p>