function doPrint()
{
    var article;
    var css;
    var strAdBegin="";
    var strAdEnd="";
    var strTmp;
    var str="<html>\n<meta http-equiv='content-type' content='text/html; charset=gb2312'>";

	css="<style>"+"td,.f12{font-size:12px}";
	css +="body{font-family:宋体}";
	css +=".f24 {font-size:24px;}";
	css +=".f14 {font-size:14px;}";
	css +=".title14 {font-size:14px;line-height:130%}";
	css +=".l17 {line-height:170%;}";
	css +=".x14 {font-size:14px;line-height:130%}";
    css +="a.zwy:link,a.zwy:active,a.zwy:visited,a.zwy:hover{text-decoration:none;color: #311bad;}";
	css +="a.htt:link,a.htt:active,a.htt:visited{text-decoration:none;color: #7b4109;}";
	css +="</style>";

	str +=	css;
	str +=	'<meta http-equiv="content-type" content="text/html; charset=gb2312">';
	str +=	'<title>'+document.title+'</title>';
	str +=	"<body bgcolor=#ffffff topmargin=5 leftmargin=5 marginheight=5 marginwidth=5 onLoad='window.print()'>";
	str +=	"<center><table width=600 border=0 cellspacing=0 cellpadding=0><tr>"
	str +=	"<td align=right valign=bottom><a href='javascript:history.back()'>返回</a>　<a href='javascript:window.print()'>打印</a></td></tr></table>";
	str +=	"<table width=600 border=0 cellpadding=0 cellspacing=0><tr><td>";
	
	article=document.getElementById('PrintTxt').innerHTML;  //这是获取要打印内容的地方
	
	if(article.indexOf(strAdBegin)!=-1)
	{
		str +=article.substr(0,article.indexOf(strAdBegin));
		strTmp=article.substr(article.indexOf(strAdEnd)+strAdEnd.length, article.length);
	}
	else
	{
		strTmp=article
	}
	str +=strTmp
//	str += window.location.href
	str +=	"</td></tr></table></center>";
	str +=	"</body></html>";
	document.write(str);
	document.close();
}

//function doZoom(size) { document.getElementById('zoom').style.fontSize=size+'px'}
