// JavaScript Document
function resizeImage(src,newWidth) {
	var img=document.images[src];

	
		if (img.width>=img.height)
			img.width=newWidth;
		else
			img.height=newWidth;
	
}
