/*
Ticker Tape script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/



//configure tickercontents[] to set the headlines you wish be displayed (HTML code accepted, put a forward slash "\" before all apostrophes.)
var tickercontents=new Array()
tickercontents[0]='<a href="resources.asp">MN Pavement Performance History Research Findings</a>'
tickercontents[1]='Estimate the Hot Mix Asphalt (HMA) tonnage required for your job using our <a href="asphalt_calculator.htm">Asphalt Calculator.</a>'
tickercontents[2]='<a target="_blank" href="PDFs/MnDOT Received Record 8 National Perpetual  Pavement Awards.pdf">Mn/DOT has National Record of 8 Perpetual Pavement Awards</a>'
tickercontents[3]='<a target="_blank" href="PDFs/Managing%20Storm%20Water%20with%20HMA%20Pavements.pdf">Managing Storm Water with Hot-Mix Asphalt Pavements (Porous or Dense-Graded)</a>'
tickercontents[4]='Software for designing Perpetual Pavements, PerRoad 3.5 and PerRoadXpress 1.0; and Life Cycle Cost Analysis (LCCA), LCCA Original and LCCAExpress, are available for free at <a href="http://www.AsphaltRoads.org" target="_blank">www.AsphaltRoads.org</a>'
tickercontents[5]='<a href="calendar.asp">Upcoming Events</a>'
tickercontents[6]='<a target="_blank" href="PDFs/HMA%20&%20LEED.pdf">HMA and LEED Credits</a>'
tickercontents[7]='<a target="_blank" href="PDFs/June%202009%20Spec%20&%20BMP%20pcc%20Rubbl%20with%20HMA%20OL.pdf">Best Management Practices & Specs for Rubblizing Concrete Pavement</a>'
//configure the below 2 variables to set the width/background color of the ticker
var tickerwidth='90%' //in "px" or "%"
var tickerbgcolor='#336699'

//configure the below variable to determine the delay between ticking of messages (in miliseconds
var tickdelay=6000

////Do not edit pass this line////////////////

var currentmessage=0

function changetickercontent(){
if (document.layers){
document.tickernsmain.document.tickernssub.document.write(tickercontents[currentmessage])
document.tickernsmain.document.tickernssub.document.close()
}
else
crosstick.innerHTML=tickercontents[currentmessage]

if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}

function start_ticking(){
if (document.layers)
document.tickernsmain.visibility="show"
else
crosstick=document.getElementById? document.getElementById("tickerie") : document.all.tickerie
changetickercontent()
}

if (document.all||document.getElementById)
document.write('<span class="unnamed1" div id="tickerie" style="width:'+tickerwidth+'; background-color:'+tickerbgcolor+'"></div></span>')
window.onload=start_ticking



