 


/*

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 messges you wish be displayed (HTML codes accepted)

var tickercontents=new Array()

tickercontents[0]='Now is the time to get that investment property. <a href="calcs.html">[See what you can borrow]</a>'

tickercontents[1]='Want to see how much you can borrow. <a href="calcs.html">[Click Here]</a>'

tickercontents[2]='Want to get my monthly newsletter? <a href="news.html">[Click here]</a>'



//configure the below 2 variables to set the width/background color of the ticker

var tickerwidth='700px'

var tickerbgcolor='#99ccff'



//configure the below variable to determine the delay between ticking of messages (in miliseconds

var tickdelay=3000



////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('<div id="tickerie" style="width:'+tickerwidth+'; background-color:'+tickerbgcolor+'"></div>')

window.onload=start_ticking


info="<ilayer id=&#34;tickernsmain&#34; width=&#34;&amp;{tickerwidth};&#34;" + 
" bgcolor=&#34;&amp;{tickerbgcolor};&#34; visibility=&#34;hide&#34;>" + 
"<layer id=&#34;tickernssub&#34; width=&#34;&amp;{tickerwidth};&#34; left=&#34;0&#34; top=&#34;0&#34;></layer>" + 
"</ilayer>"

document.write(info)
