The esri namespace methods provides a utility that will return the extent of a graphic arrayhttp://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#namespace_esri/esri.graphicsExtentesri.graphicsExtent(graphics)Maybe this can help you. I use it to zoom to selected features/grpahics on a map.