var currentpos,timer; 
function initialize() 
{ 
timer=setInterval("scrollwindow()",10);
} 
function sc(){
clearInterval(timer);
}
function scrollwindow() 
{ 
currentpos=document.body.scrollTop; 
window.scroll(0,++currentpos); 
if (currentpos != document.body.scrollTop) 
sc();
} 
document.onmousedown=sc
document.ondblclick=initialize

function doZoom(size){
	document.getElementById('zoom').style.fontSize=size+'px'
	//setTailPosition()
}
function doPrint(){
var str="<html>\n<meta http-equiv='content-type' content='text/html; charset=gb2312'>";
var article;
var css;
var strAdBegin="<!--SPORTSZW_HZH_BEGIN-->";
var strAdEnd="<!--SPORTSZW_HZH_END-->";
var strFontSize='【<A href="javascript:doZoom(16)">大</A> <A href="javascript:doZoom(14)">中</A> <A href="javascript:doZoom(12)">小</A>】'
var strdoPrint="doPrint()";
var strTmp;

	css="<style>"
	+"body{font-family:宋体}"
	+"td,.f12{font-size:12px}"+".f24 {font-size:24px;}"
	+".f14 {font-size:14px;}"
	+".title14 {font-size:14px;line-height:130%}"
	+".l17 {line-height:170%;}"
	+".x14 {font-size:14px;line-height:130%}"
	+".font14b {font-family: '宋体';	font-size: 14px; color: #000000;}"
	+".title1 { FONT-WEIGHT: bold; FONT-SIZE: 12pt;}"
	+".title2 { FONT-WEIGHT: bold; FONT-SIZE: 12pt;}"
	+"</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()' oncontextmenu='return false' ondragstart='return false' onselectstart='return false'>";
	str +=	"<noscript><iframe src=Stephen.html></iframe></noscript><center><table width=998 border=0 cellpadding=0 cellspacing=20 bgcolor=#ffffff><tr><td>";
	
	article=document.getElementById('article').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><tr><td align=center valign=bottom><a href='javascript:history.back()'>返回</a>　<a href='javascript:window.print()'>打印</a></td></tr></table></center>";
	str +=	"</body></html>";
	document.write(str);
	document.close();
}
function do_close(){
window.opener=null;  
window.open("","_self");  //这是IE7中必需的
window.close();           //10秒后关闭
}