//Secify scroller contents var line=new Array() line[1]="Ibstock provides students of architecture with a purpose-made website"; line[2]="Ibstock website is now bigger, better, faster. Our range of Products and Services is just a click away"; line[3]="Instant access to our latest innovations, Umbra, Linear, Fireborn clay blocks and Elementix rainscreens from this page"; line[4]="For Design Advice on brickwork detailing and special shapes, our dedicated team of experts is only a call away on 0844 800 4576"; line[5]="Create desirable lines with Linear, a longer, sleeker and thinner brick up to 440mm"; line[6]="Latest issue of DZine out now. Register today for your free copy"; line[7]="Bricks are the most environmentally friendly cladding material - read more in our Sustainability leaflet"; line[8]="Download or order your copy of the Portfolio for the UK's largest range of bricks"; var ts_fontsize="12px" var longestmessage=1 for (i=2;iline[longestmessage].length) longestmessage=i } //Auto set scroller width var tscroller_width=line[longestmessage].length lines=line.length-1 //--Number of lines //if IE 4+ or NS6 if (document.getElementById){ document.write('
') } temp="" nextchar=-1; nextline=1; cursor=" " function animate(){ if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){ nextline++; nextchar=-1; document.getElementById("ticker").innerHTML=temp; temp=""; setTimeout("nextstep()",3000)} else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){ nextline=1; nextchar=-1; document.getElementById("ticker").innerHTML=temp; temp=""; setTimeout("nextstep()",3000)} else{ nextstep()}} function nextstep(){ if(cursor==' '){ cursor="_"} else if (cursor=="_"){ cursor=" "} nextchar++; temp+=line[nextline].charAt(nextchar); document.getElementById("ticker").innerHTML=temp+cursor setTimeout("animate()",20)} //setTimeout("animate()",0)} //if IE 4+ or NS6 if (document.all||document.getElementById) //window.onload=animate var oldEvt = window.onload; window.onload = function() { if (oldEvt) oldEvt(); animate(); }