function Ticker(name, id, shiftBy, interval)
{ 
this.name = name; 
this.id = id; 
this.shiftBy = shiftBy ? shiftBy : 1; 
this.interval = interval ? interval : 0; 
this.runId = null; 

this.div = document.getElementById(id); 

var node = this.div.firstChild; 
var next; 

while (node) 
{ 
next = node.nextSibling; 
if (node.nodeType == 3) 
this.div.removeChild(node); 
node = next; 
} 

this.left = 400; 
this.shiftLeftAt = this.div.firstChild.offsetWidth; 
this.div.style.height = this.div.firstChild.offsetHeight; 
this.div.style.width = 2 * screen.availWidth; 
this.div.style.visibility = 'visible';
}

function startTicker()
{ 
this.stop(); 

this.left -= this.shiftBy; 

if (this.left <= -this.shiftLeftAt) 
{ 
this.left = 400; 
this.div.appendChild(this.div.firstChild); 

this.shiftLeftAt = this.div.firstChild.offsetWidth; 
} 

this.div.style.left = (this.left + 'px'); 

this.runId = setTimeout(this.name + '.start()', this.interval);
}

function stopTicker()
{ 
if (this.runId) 
clearTimeout(this.runId); 

this.runId = null;
}

function changeTickerInterval(newinterval)
{ 

if (typeof(newinterval) == 'string') 
newinterval = parseInt('0' + newinterval, 10); 

if (typeof(newinterval) == 'number' && newinterval > 0) 
this.interval = newinterval; 

this.stop(); 
this.start();
}

Ticker.prototype.start = startTicker;
Ticker.prototype.stop = stopTicker;
Ticker.prototype.changeInterval = changeTickerInterval;
var ticker = null;

function init(){ticker = new Ticker('ticker', 'tickerID', 1, 25);ticker.start();}
onload = init
apc = (document.layers)? true:false
if (apc = "false")
{
document.write('<div align="left" class="cadre">');
document.write('<div class="ticker" id="tickerID" onMouseOver="ticker.stop();" onMouseOut="ticker.start();">');
document.write('<span class="banner"><nobr>');

    document.write('<img src="logomini/logo_mini_havrelibre.gif" height=30 align="top" border="0">&nbsp;&nbsp; ');

    document.write('<img src="logomini/logo_mini_leprogresfecamp.gif" align="top" border="0">&nbsp;&nbsp; ');

    document.write('<img src="logomini/logo_mini_havrepresse.gif" align="top" border="0">&nbsp;&nbsp; ');

    document.write('<img src="logomini/logo_mini_havreannonce.gif" align="top" border="0">&nbsp;&nbsp; ');

    document.write('<img src="logomini/logo_havreannonce2.gif" align="top" border="0">&nbsp;&nbsp; ');

    document.write('<img src="logomini/logo_mini_parisnormandie.gif" align="top" border="0">&nbsp;&nbsp; ');

   

document.write('	</nobr></span>');
document.write('</div>');
document.write('</div>');

}



