var imgMaxWidth=600;
function ImgLoad(obj)
{
	if(obj.width>imgMaxWidth) {
		obj.style.width=imgMaxWidth;
		obj.style.cursor="hand";
		obj.resized=1;
	}
}
function ImgClick(obj)
{
	if (obj.resized==1 && obj.parentElement.tagName!="A")
		window.open(obj.src);
}
function bbimg(o){
	if (o.resized==1){
		var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';
	}
	return false;
}

