   }
                var parent_width = getParentWidth(images[i])||max_width;
                var width = width_ > parent_width ? parent_width : width_; 
                var img_padding_border = getOuterW(images[i])||0;
                var img_padding_border_top_bottom = getOuterH(images[i])||0;
                height = (width - img_padding_border) * ratio_ + img_padding_border_top_bottom;
                images[i].style.cssText += ";width: " + width + "px !important;";
                if (isIE) {
         