<!--
function formatImage(ImgD,standardWidth,standardHeight){
	var image=new Image();
	image.src = ImgD.src;
	var w = image.width ;
	var h = image.height ;
	if(w/h > standardWidth/standardHeight){
		//ΉύΏν
		//ΛυΠ‘ΏνΆΘ
		image.width = standardWidth ;
		image.height = Math.round((standardWidth/w)*h) ;
	}else{
		image.height = standardHeight ;
		image.width = Math.round((standardHeight/h)*w) ;
	}
	ImgD.width=image.width; 
	ImgD.height=image.height;
} 
-->