function pausescroller(d,b,e,f){var a=this;a.content=d;a.tickerid=b;a.delay=f;a.mouseoverBol=0;a.hiddendivpointer=1;document.write('<div id="'+b+'" class="'+e+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+b+'1">'+d[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+b+'2">'+d[1]+"</div></div>");var c=a;if(window.addEventListener)window.addEventListener("load",function(){c.initialize()},false);else if(window.attachEvent)window.attachEvent("onload",function(){c.initialize()});else document.getElementById&&setTimeout(function(){c.initialize()},500)}pausescroller.prototype.initialize=function(){var a=this;a.tickerdiv=document.getElementById(a.tickerid);a.visiblediv=document.getElementById(a.tickerid+"1");a.hiddendiv=document.getElementById(a.tickerid+"2");a.visibledivtop=parseInt(pausescroller.getCSSpadding(a.tickerdiv));a.visiblediv.style.width=a.hiddendiv.style.width=a.tickerdiv.offsetWidth-a.visibledivtop*2+"px";a.getinline(a.visiblediv,a.hiddendiv);a.hiddendiv.style.visibility="visible";var b=a;document.getElementById(a.tickerid).onmouseover=function(){b.mouseoverBol=1};document.getElementById(a.tickerid).onmouseout=function(){b.mouseoverBol=0};window.attachEvent&&window.attachEvent("onunload",function(){b.tickerdiv.onmouseover=b.tickerdiv.onmouseout=null});setTimeout(function(){b.animateup()},a.delay)};pausescroller.prototype.animateup=function(){var a=this,b=a;if(parseInt(a.hiddendiv.style.top)>a.visibledivtop+5){a.visiblediv.style.top=parseInt(a.visiblediv.style.top)-5+"px";a.hiddendiv.style.top=parseInt(a.hiddendiv.style.top)-5+"px";setTimeout(function(){b.animateup()},50)}else{a.getinline(a.hiddendiv,a.visiblediv);a.swapdivs();setTimeout(function(){b.setmessage()},a.delay)}};pausescroller.prototype.swapdivs=function(){var a=this,b=a.visiblediv;a.visiblediv=a.hiddendiv;a.hiddendiv=b};pausescroller.prototype.getinline=function(a,b){a.style.top=this.visibledivtop+"px";b.style.top=Math.max(a.parentNode.offsetHeight,a.offsetHeight)+"px"};pausescroller.prototype.setmessage=function(){var a=this,c=a;if(a.mouseoverBol==1)setTimeout(function(){c.setmessage()},100);else{var b=a.hiddendivpointer,d=a.content.length;a.hiddendivpointer=b+1>d-1?0:b+1;a.hiddendiv.innerHTML=a.content[a.hiddendivpointer];a.animateup()}};pausescroller.getCSSpadding=function(a){return a.currentStyle?a.currentStyle.paddingTop:window.getComputedStyle?window.getComputedStyle(a,"").getPropertyValue("padding-top"):0};
