

function setImageWidth(oImg, eImg, width, height) {
	if (oImg.width > width) {
		document.getElementById(eImg).width = width
		document.getElementById(eImg).height = (width * oImg.height / oImg.width)
	}

}
