function Check_Img(img){
	var width,heigth;
	width = img.offsetWidth;
	height = img.offsetHeight;
	if (width > height){
		img.width = 80;
	}
	else{
		img.height = 80;
	}
}
