var marqueewidth="150px"
var marqueeheight="100px"
var marqueespeed=1
var pauseit=1

var marqueecontent='<font face="Verdana"><a href="http://www.portlaoiseontheweb.com/news2006.html#news018">Portlaoise in a fix over looming fixtures pile-up</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news017">Traders stake their right to trade on street </p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news016">Portlaoise Tidy Towns hard at work</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news015">120 Portlaoise gardai share one bullet-proof vest: FG</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news014">Development begins on National Business Park</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news013">Poor penetration levels of broadband in Laois</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news012">Micko not happy with Quill rumours</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news011">A & E scheduled for completion by end of 2006</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news010">Portlaoise girls presented with Young Citzens Awards by President Mary McAleese</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news009">Portlaoise GAA look for new playing grounds</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news008">Portlaoise Schoolgirls buy weapons to expose arms trade</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news007">Portlaoise driving test waiting time hits 63 weeks</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news006">Portlaoise publican to run for Seanad</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news005">Portlaoise to get Garda CCTV</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news004">3.8 million euro for Portlaoise Swimming Pool</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news003">Portlaoise traders angry over main street work</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news002">Midlands Regional Hospital to restrict visting hours in its maternity unit</p></a><a href="http://www.portlaoiseontheweb.com/news2006.html#news001">Priority for CT scanning service in Portlaoise</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news067">Property Developers in spotlight over poor finish to developments</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news065">Castlebar staff resist move to Portlaoise</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news064">Magnet to offer ADSL2+ in Portlaoise in 2006</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news063">Scoil Christ Ri to be built under the public-private partnership programme</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news062">Portlaoise traincare depot to begin construction next year</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news061">Leinster Championship Venues Announced</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news058">WiMAX broadband service announced for Portlaoise</p></a><a href="http://www.portlaoiseontheweb.com/news.html#news057">Department of Agriculture and Food relocation arrangements in place</p></a><a href="http://www.portlaoiseontheweb.com/countyfinal01.html">2005 County Football Final Photos</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news052">Flanagan aims to regain Laois-Offaly seat for FG <p></a><a href="http://www.portlaoiseontheweb.com/news.html#news048">GAA to upgrade O Moore Park<p></a><a href="http://www.portlaoiseontheweb.com/news.html#news046">House Prices Affecting Wages - SFA<p></a><a href="http://www.portlaoiseontheweb.com/news.html#news045">Eircom says buyout will lead to lower prices</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news044">Cancer groups welcome radiotherapy plans<p></a><p><a href="http://www.portlaoiseontheweb.com/news.html#news040">More people regularly in debt - survey</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news038">Model pension scheme on SSIAs</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news022">PAC finds cost overruns of nearly E400m<p></a><a href="http://www.portlaoiseontheweb.com/news.html#news016">Golf: Heritage is worth going the extra mile</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news015">Portlaoise to become Irelands transport hub</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news014">Esat BT ploughs on with unbundling in Portlaoise</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news010">Irish Broadband to expand network</a><p><a href="http://www.portlaoiseontheweb.com/placesofinterest.html">Local Places of Interest</a><p><a href="http://www.portlaoiseontheweb.com/clubfinal.html">2005 All-Ireland Club Final Photos</a><p><a href="http://www.portlaoiseontheweb.com/news.html#news006">Comfort Inn to build hotel in Portlaoise</a></font>'

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}
