// 向上滚动代码
marqueesHeight=44;
stopscroll=false;
with(intnews){
	style.width=0;
	style.height=marqueesHeight;
	style.overflowX="visible";
	style.overflowY="hidden";
	noWrap=true;
	onmouseover=new Function("stopscroll=true");
	onmouseout=new Function("stopscroll=false");
}

preTop=0; currentTop=marqueesHeight; stoptime=0;
intnews.innerHTML+=intnews.innerHTML;
  
function init_srolltext(){
	intnews.scrollTop=0;
	setInterval("scrollUp()",1);
}
init_srolltext();

function scrollUp(){
	if(stopscroll==true) return;
		currentTop+=1;
		if(currentTop==marqueesHeight+1){
			stoptime+=1;
			currentTop-=1;
			if(stoptime==300){
				currentTop=0;
				stoptime=0;  
			}
		}
		else {  	
			preTop=intnews.scrollTop;
			intnews.scrollTop+=1;
			if(preTop==intnews.scrollTop){
				intnews.scrollTop=marqueesHeight;
				intnews.scrollTop+=1;
		}
	}

}
init_srolltext();//
