function imgSize(imgid,width)
{
	var img = document.all(imgid)
	eval("imgSet = function(){imgReset('"+imgid+"',"+width+")};")
	window.setTimeout(imgSet,100)
}
function imgReset(imgid,width)
{
	var img = document.all(imgid)
	if (img.offsetWidth > width)
	{
		document.all(imgid).width = width;
	}
}