﻿function formatPic(w)
{
	var _imgs = _text.getElementsByTagName("IMG");
	for (i=0;i<_imgs.length;i++){
		if (_imgs[i].width > w){_imgs[i].width = w;}
	}
	for (i=0;i<_imgs.length;i++){
 		w;_imgs[i].onclick= showPic;_imgs[i].style.cursor="pointer"; _imgs[i].alt="点击放大";
	}
}
function showPic(){window.open(""+this.src);}