var billboardeffects=["GradientWipe(GradientSize=1.0 Duration=0.7)","ZigZag"]
var tickspeed=15000
var effectduration=500
var hidecontent_from_legacy=0
var filterid=Math.floor(Math.random()*billboardeffects.length)
document.write('<style type="text/css" rel="stylesheet">\n')
if(document.getElementById)
document.write('.billcontent { display:none; }')
else if(hidecontent_from_legacy)
document.write('#contentwrapper{display:none;}')
document.write('</style>\n')
var selectedDiv=0
var totalDivs=0
function contractboard(){var inc=0
while(document.getElementById("billboard"+inc)){document.getElementById("billboard"+inc).style.display="none"
inc++}}
function expandboard(){var selectedDivObj=document.getElementById("billboard"+selectedDiv)
contractboard()
if(selectedDivObj.filters){if(billboardeffects.length>1){filterid=Math.floor(Math.random()*billboardeffects.length)
selectedDivObj.style.filter="progid:DXImageTransform.Microsoft."+billboardeffects[filterid]}
selectedDivObj.filters[0].duration=effectduration/1000
selectedDivObj.filters[0].Apply()}
selectedDivObj.style.display="block"
if(selectedDivObj.filters)
selectedDivObj.filters[0].Play()
selectedDiv=(selectedDiv<totalDivs-1)?selectedDiv+1:0
setTimeout("expandboard()",tickspeed)}
function startbill(){while(document.getElementById("billboard"+totalDivs)!=null)
totalDivs++
if(document.getElementById("billboard0").filters)
tickspeed+=effectduration
expandboard()}
if(window.addEventListener)
window.addEventListener("load",startbill,false)
else if(window.attachEvent)
window.attachEvent("onload",startbill)
else if(document.getElementById)
window.onload=startbill