var sldichi=0;

//TopSld(id,txtwidth,top,left,width,height)
function NewsSld(id,txtwidth,alltxtwidth,t,l,w,h){
	var showL=0;
	var showW=sldichi;
	if(sldichi>w){
		showL=sldichi-w;
	}
	var nowL=l+w-sldichi;
	var obj=document.getElementById(id);
	if (obj.style) { obj=obj.style;}
	//obj.width=(txtwidth*3+100) + 'px';
	obj.width=alltxtwidth + 'px';
	obj.top=t+'px';
	obj.left=nowL+'px';
	obj.clip='rect(0px,'+showW+'px,'+h+'px,'+showL+'px)';
	sldichi=sldichi+1;
	if(sldichi >= txtwidth+w){sldichi=w;}
	//if(sldichi>(txtwidth+w+5)){sldichi=0;}
	var plm="'"+id+"',"+txtwidth+","+alltxtwidth+","+t+","+l+","+w+","+h;
	sldTimer=setTimeout("NewsSld("+plm+")",20);
}


