letras = '\<B>La informaci&oacute;n que se incluye en esta p&aacute;gina es &uacute;nicamente\
 a t&iacute;tulo orientativo, sin que la misma suponga o tenga el valor de notificaci&oacute;n\
  oficial, para lo cual, de conformidad con el Art&iacute;culo 216 del Reglamento\
  de R&eacute;gimen Disciplinario, s&oacute;lo se considerar&aacute;n v&aacute;lidamente\
  efectuadas a todos los efectos las comunicaciones y notificaciones dirigidas\
  a los interesados que efect&uacute;en en el domicilio del Club al que pertenezcan\
  o bien mediante la exposici&oacute;n p&uacute;blica de los acuerdos en el tabl&oacute;n\
  de anuncios<B>';

function creaTicker()
{
    tb = new ToolBox();
	tb.flatten();
	tic = new Ticker('tic',tb.layers.semueve,letras,2,378,18,141,384);
	tic.init();
	tic.start();    
}

function Ticker(name,aLayer,aText,speed,width,height,left,top){
	this.name = name;
	this.layer = aLayer;
	this.text = aText;
	this.speed = speed;
	this.width = width;
	this.height = height;
	this.left = left;
	this.top = top;
	this.blnScroll = false;
	this.ant = 0;
	this.layer.write(this.text);
}
function init(){
	this.layer.moveTo(this.left+this.width,this.top);
	this.layer.setClip(-this.width,0,0,this.height);
}
function start(){
	this.blnScroll = true;
	this.scroll();
}

function scroll(){
	this.layer.moveTo((this.layer.left - this.speed),this.top);
	this.layer.setClip(this.layer.clip.left+this.speed,0,this.layer.clip.left+this.width,this.height);
	if (this.layer.left+this.layer.getDocWidth() < this.left){
		this.init();
	}
	if (this.blnScroll){
		setTimeout(this.name+".scroll()",50);
	}
}

function stop(){
	this.blnScroll = false;
}

Ticker.prototype.start=start;
Ticker.prototype.stop=stop;
Ticker.prototype.scroll=scroll;
Ticker.prototype.init=init;  
