Вроде так: Quote
<div id="listawards" align="center"><font color="#5d5d5d"><center><img src="http://pcg.my1.ru/menu/loadingAnimation.gif" style="margin-top: 44px; margin-bottom: 44px;"></center></font></div>
<script type="text/javascript">
$(function () {
awards = function (_a, _t, _la, _s) {
$.get("/index/54-$_USER_ID$", function (f) {
$(_a).before('<img id="awards" alt="" />');
var d = $('cmd[p="content"]', f).text(),
b = $("img", d),
a = [],
c = $("#awards"),
e = 1,
aw = '';
$.each(b, function (g, h) {
a.push(h.src);
if (e <= _s) {
aw += '<img src="' + h.src + '" alt="" width="95px" style="margin: 1px;margin-top: 3px; margin-bottom: 3px;"/>';
e++;
}
});
e = 1;
c.attr("src", a[0]);
if (b.length > 1) {
setInterval(function () {
if (e == b.length) {
e = 0
}
c.hide().attr("src", a[e]).fadeIn("normal");
e++
},
_t * 1000)
}
$(_la).html(aw);
})
};
awards('#avatar', 3, '#listawards', 4);
});</script>
То что обозначено синим, это ширина изображения подарка