Wow, thanks so much. Your code worked right out of the box. But i modified it a little for an each function inside a specific div containing imgs and to include the offset width of the imgs.
also eval threw an error, although it got the heights, so I just used s as the variable.
Heres what my code if anyone was wandering...
Code:
total=0;
//search picture li for first div's images and combines all the widths of each image
b.childElements()[0].select('img').each(function (w) {s=w.offsetWidth;total= total+s;});
//Set the inner pcture div to all the images combined width & plus 3 for IE6
b.childElements()[0].setStyle({width: total+3+'px'});