title: set the dialog modal width for jquery ui?
body: <p>HI</p>
  
  <p>I am using <a href="http://docs.jquery.com/UI/Dialog" rel="noreferrer">this demo</a> to display a modal dialog</p>
  
  <p>how do I set the width for dialog if i am using it for google street view:</p>
  
  <pre><code>var point = new GLatLng(svlat, svlon);
  var panoClient = new GStreetviewClient(); 
  panoClient.getNearestPanoramaLatLng(point, function (newPoint) {
    if (newPoint == null) {
        alert("no panorama found for this position!!");
        return;
    }
    panoramaOptions = { latlng: newPoint };
    myPano = new GStreetviewPanorama(document.getElementById("pano"), panoramaOptions);
    $('#dialogStreetView').dialog("option", "maxWidth", 600);
    $('#dialogStreetView').dialog('open');
    GEvent.addListener(myPano, "error", handleNoFlash);
  }); 
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="dialogStreetView" title="Street View Provided by Google... "     style="width:300px;height:300px"&gt;
      &lt;a id="closestreet-view" name="closestreet-view" style="cursor:pointer; text-   decoration:underline" &gt;Close&lt;/a&gt;
      &lt;div name="pano" id="pano" style="width: 300px; height: 300px"&gt;&lt;/div&gt;
  &lt;/div&gt;  
  </code></pre>