// texte bas page 


var message='<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.bretagne.fr/internet/jcms/j_6/accueil"><img border="0" src="logos/01.jpg" width="50" height="50"></a>&nbsp;<a href="http://www.letelegramme.com/"><img border="0" src="logos/02.jpg" width="187" height="50"></a>&nbsp;<a href="http://sites.radiofrance.fr/chaines/france-bleu/?tag=Breiz"><img border="0" src="logos/03.jpg" width="51" height="50"></a>&nbsp;<a href="http://www.ville-guingamp.fr/"><img border="0" src="logos/04.jpg" width="46" height="50"></a>&nbsp;<a href="http://ouest.france3.fr/"><img border="0" src="logos/05.jpg" width="114" height="50"></a>&nbsp;<a href="http://gouelioubreizh.free.fr/index.htm"><img border="0" src="logos/06.jpg" width="75" height="50"></a>&nbsp;<a href="http://www.publihebdos.com/archives/319"><img border="0" src="logos/07.jpg" width="133" height="50"></a>&nbsp;<a href="http://www.ca-cotesdarmor.fr/"><img border="0" src="logos/08.jpg" width="70" height="51"></a>&nbsp;<a href="http://www.cg22.fr/"><img border="0" src="logos/09.jpg" width="27" height="50"></a></td></tr></table>'

var backgroundcolor=""
var displaymode=0
var displayduration=4000
var flashmode=0
var flashtocolor=""

///////////////d////////////////////////////////////////

function regenerate(){
window.location.reload()
}

var which=0

function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",400)
}


function display2(){
if (document.layers){
if (topmsg.visibility=="show")
topmsg.visibility="hide"
else
topmsg.visibility="show"
}
else if (document.all){
if (topmsg.style.visibility=="visible")
topmsg.style.visibility="hidden"
else
topmsg.style.visibility="visible"
setTimeout("display2()",Math.round(Math.random()*10000)+10000)
}
}

function flash(){
if (which==0){
if (document.layers)
topmsg.bgColor=flashtocolor
else
topmsg.style.backgroundColor=flashtocolor
which=1
}
else{
if (document.layers)
topmsg.bgColor=backgroundcolor
else
topmsg.style.backgroundColor=backgroundcolor
which=0
}
}


if (document.all){
document.write('<span id="topmsg" style="position:absolute;visibility:hidden">'+message+'</span>')
}


function logoit(){
document.all.topmsg.style.left=document.body.scrollLeft+document.body.clientWidth/2-document.all.topmsg.offsetWidth/2
document.all.topmsg.style.top=document.body.scrollTop+document.body.clientHeight-document.all.topmsg.offsetHeight-4
}


function logoit2(){
topmsg.left=pageXOffset+window.innerWidth/2-topmsg.document.width/2
topmsg.top=pageYOffset+window.innerHeight-topmsg.document.height-5
setTimeout("logoit2()",90)
}

function setmessage(){
document.all.topmsg.style.left=document.body.scrollLeft+document.body.clientWidth/2-document.all.topmsg.offsetWidth/2
document.all.topmsg.style.top=document.body.scrollTop+document.body.clientHeight-document.all.topmsg.offsetHeight-4
document.all.topmsg.style.backgroundColor=backgroundcolor
document.all.topmsg.style.visibility="visible"
if (displaymode==1)
setTimeout("topmsg.style.visibility='hidden'",displayduration)
else if (displaymode==2)
display2()
if (flashmode==1)
setInterval("flash()",1000)
window.onscroll=logoit
window.onresize=new Function("window.location.reload()")
}


function setmessage2(){
topmsg=new Layer(window.innerWidth)
topmsg.bgColor=backgroundcolor
regenerate2()
topmsg.document.write(message)
topmsg.document.close()
logoit2()
topmsg.visibility="show"
if (displaymode==1)
setTimeout("topmsg.visibility='hide'",displayduration)
else if (displaymode==2)
display2()
if (flashmode==1)
setInterval("flash()",1000)
}


if (document.layers)
window.onload=setmessage2
else if (document.all)
window.onload=setmessage





