function DrawImage(ImgD,Iwidth){
var image=new Image();
image.src=ImgD.src;
//alert(image.width/image.height);
if(image.width>Iwidth){
	ImgD.width=Iwidth;
	ImgD.height=image.height/(image.width/Iwidth);     
	//ImgD.height=Iwidth;
	}
	else{
	ImgD.width=image.width;
	ImgD.height=image.height;
	}
	ImgD.alt=image.width+"กม"+image.height;
}
function bbimg(o){
	var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';
	return false;
}
