function News2(id,speed) {
    this.obj 	=	document.getElementById(id);
	spans = this.obj.getElementsByTagName('div');
	this.content=spans[0];
	this.img="<img src='images/spacer.gif' width='"+this.obj.offsetWidth+"' height='1'>";
	this.content.innerHTML=this.img+this.content.innerHTML+this.img;
    this.obj.onmouseover=this.nStop;
    this.obj.onmouseout=this.nGo;
	this.id = id;
	this.speed = speed;
	this.stop = false;
	this.obj.scrollLeft = 0;
	setInterval("doScroll_2("+this.id+")",this.speed);
}
//_____________________________________________________________________________
News2.prototype.nStop= function(){
	o=eval(this.id);
	o.stop=true;
}
//_____________________________________________________________________________
News2.prototype.nGo = function(){
	o=eval(this.id);
	o.stop=false;
}
//_____________________________________________________________________________
function doScroll_2(o){
	if(o.stop) return;
	o.obj.scrollLeft++;
	if(o.obj.scrollLeft >= o.obj.scrollWidth - o.obj.offsetWidth) o.obj.scrollLeft = 0;
}
//_____________________________________________________________________________
