function SetImg(obj){
if(obj.offsetWidth>obj.offsetHeight)
obj.style.width=obj.offsetWidth>=150?"150px":"auto"
else
obj.style.height=obj.offsetHeight>=120?"120px":"auto"
}
