document.write("
"); txt = ""; var myLink = new Array(); var myText = new Array(); var currLine = 0; var currPos = 0; myText[1] = "Legal Matters: Wage increase is a bonus, however small "; myLink[1] = "http://www.heatingandventilating.net/news/news.asp?id=7120&title=Legal+Matters%3A+Wage+increase+is+a+bonus%2C+however+small++"; myText[2] = "Health and Safety Matters: New ACS must be slimmer and friendlier "; myLink[2] = "http://www.heatingandventilating.net/news/news.asp?id=7117&title=Health+and+Safety+Matters%3A+New+ACS+must+be+slimmer+and+friendlier+"; myText[3] = "Company Profile: Knowledge and advice puts TA ahead "; myLink[3] = "http://www.heatingandventilating.net/news/news.asp?id=7116&title=Company+Profile%3A+Knowledge+and+advice+puts+TA+ahead+++"; myText[4] = "HVCA Newslink: Distinguished service award for Californian "; myLink[4] = "http://www.heatingandventilating.net/news/news.asp?id=7115&title=HVCA+Newslink%3A+Distinguished+service+award+for+Californian++"; myText[5] = "HVCA Newslink: Vent hygiene chairman makes clean sweep "; myLink[5] = "http://www.heatingandventilating.net/news/news.asp?id=7114&title=HVCA+Newslink%3A+Vent+hygiene+chairman+makes+clean+sweep+++++++++"; myText[6] = "HVCA Newslink: Peter Hoyle elected president of European umbrella body "; myLink[6] = "http://www.heatingandventilating.net/news/news.asp?id=7112&title=HVCA+Newslink%3A+Peter+Hoyle+elected+president+of+European+umbrella+body+++"; myText[7] = "Contractor Profile: Stable base allows steady growth "; myLink[7] = "http://www.heatingandventilating.net/news/news.asp?id=7111&title=Contractor+Profile%3A+Stable+base+allows+steady+growth+"; myText[8] = "Fire at Calorex destroys 20% of production "; myLink[8] = "http://www.heatingandventilating.net/news/news.asp?id=7109&title=Fire+at+Calorex+destroys+20%25+of+production+"; myText[9] = "Burning issue: Passing on the Gas Safe message "; myLink[9] = "http://www.heatingandventilating.net/news/news.asp?id=7103&title=Burning+issue%3A+Passing+on+the+Gas+Safe+message++++"; myText[10] = "New anti-blacklisting rules are too weak says UCATT "; myLink[10] = "http://www.heatingandventilating.net/news/news.asp?id=7100&title=New+anti%2Dblacklisting+rules+are+too+weak+says+UCATT++"; var numLines = 10; tickerInit(); // This must be called after our 'changing link' tickerBase is declared function tickerInit() { // Only init the routine if our browser supports 'getElementByID' if (document.getElementById) { t = document.getElementById('ticker'); //t.innerHTML = " Breaking News: "; t.innerHTML = ""; t.innerHTML += ""; t.innerHTML += " Breaking News: "; tbase = document.createElement("a"); tbase.style.border = '1px'; tbase.style.padding = '0px'; tbase.style.textDecoration = 'none'; tbase.innerHTML = ''; tbase.href = myLink[0]; tbase.target = "_top"; document.getElementById('ticker').appendChild(tbase); myText[0]=" " doTick(); } } // Called every few milliseconds to update the current text shown function doTick() { if (myText[currLine] == null) { currLine = 0; } tbase.href = myLink[currLine]; tbase.innerHTML = myText[currLine].substring(0,currPos) + "_"; if(currPos++ < myText[currLine].length) { setTimeout("doTick()", 55); } else { if (currLine++ >= numLines) currLine = 0; currPos = 0; setTimeout("doTick()", 2000); } }