// JScript source code

function resizeImg(img){
	var prop;
	
	if (img.width>100){
		prop=img.height/img.width;
		img.width=100;
		img.height=img.width*prop;
	
	}

	/*if (img.height>100){
		//alert('!!!');
		prop=img.width/img.height;
		img.height=100;
		img.width=img.height*prop;
	
	}*/
	

}