// JavaScript Document
/*
	打印控制文件，使用方法:
	1.将本脚本包含在html模板文件中
	2.将html模板文件的页顶flash、图片、菜单包含在id为headlocal的div中
	3.将html模板文件的页左或右的flash、图片、菜单包含在id为menulocal的div中
	4.默认打印部分不要包含.
*/
/*
打印已经集成到base.js中, 打印时连接doprint()即可.
function window.onbeforeprint()
{
	//打印前设置“非打印区域”为空，非打印区域名称在div标签中设置，
	//如<div id="noneprint1">
	//none为空，空白为默认显示。
	headlocal.style.display='none';
	menulocal.style.display='none';
	switcher.style.display='none';
	//document.bodylocal.style.display='';
	//alert('onbeforeprint事件触发'); 
}


function window.onafterprint() 
{ 
	//打印完成后，全部恢复显示
	headlocal.style.display='';
	menulocal.style.display='';
	switcher.style.display='';
	//alert('onafterprint事件测试'); 
}
*/