//Secify scroller contents var line=new Array() line[1]="Sheffield Civic Trust launches Sheffield Design Awards in association with RIBA Yorkshire. For more information go to Riba Awards pages."; line[2]="Entries for the RIBA Regional Awards are being called. Check RIBA Awards for submission deadlines"; line[3]="Create desirable lines with Linear, a longer, sleeker and thinner brick up to 327mm"; line[4]="Latest issue of DZine out now. Register today for your free copy"; line[5]="Bricks are the most environmentally friendly cladding material - read more in our Sustainability leaflet"; line[6]="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