function SetSize(obj, x_size) {
       if (obj.offsetWidth > x_size) {
       obj.style.width = x_size;
   };
};
