rem: dialog.PreviewSize.setAttribute("collapsed", "false"); 
context: function PreviewImageLoaded(){  if (dialog.PreviewImage)  {    // Image loading has completed -- we can get actual width    actualWidth  = dialog.PreviewImage.naturalWidth;    actualHeight = dialog.PreviewImage.naturalHeight;    if (actualWidth && actualHeight)    {      // Use actual size or scale to fit preview if either dimension is too large      var width = actualWidth;      var height = actualHeight;      if (actualWidth > gPreviewImageWidth)      {          width = gPreviewImageWidth;          height = actualHeight * (gPreviewImageWidth / actualWidth);      }      if (height > gPreviewImageHeight)      {        height = gPreviewImageHeight;        width = actualWidth * (gPreviewImageHeight / actualHeight);      }      dialog.PreviewImage.width = width;      dialog.PreviewImage.height = height;      dialog.PreviewWidth.setAttribute("value", actualWidth);      dialog.PreviewHeight.setAttribute("value", actualHeight);      dialog.PreviewSize.setAttribute("collapsed", "false");      dialog.ImageHolder.setAttribute("collapsed", "false");      // Use values as start for constrain proportions    }    if (dialog.actualSizeRadio.checked)      SetActualSize();  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/2911f9583262bfb9505c24e1cb2ade9dde06aac9/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js