imageref.previousSibling.style.width=size_available;
imageref.previousSibling.style.width=size_available+'px';