var more='';
var v_nextpictures='';
var v_samll_pics='
';
function AutoResize2(obj,w,h,t)
{
if (obj.width > w) {
ow = obj.width;
obj.width = obj.style.width = w;
if (t==2) obj.height = obj.style.height = obj.height * (w/ow);
if (obj.height > h) AutoResize2(obj,w,h,2);
}
else if (obj.height > h) {
oh = obj.height;
obj.height = obj.style.height = h;
if (t==2) obj.width = obj.style.width = obj.width * (h/oh);
if (obj.width > w) AutoResize2(obj,w,h,2);
}
}