var pausecontent2=new Array();pausecontent2[0]="Beacon invests in both dry and refrigerated containers.";pausecontent2[1]="We specialize in offering flexible leasing options tailored to meet the needs of our clients.";pausecontent2[2]="We back up our service with a global network of offices and agents.";pausecontent2[3]="Beacon Intermodal Leasing is a full-service container leasing company serving the international shipping industry.";function pausescroller(D,A,C,B){this.content=D;this.tickerid=A;this.delay=B;this.mouseoverBol=0;this.hiddendivpointer=1;document.write('<div id="'+A+'" class="'+C+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+A+'1">'+D[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+A+'2">'+D[1]+"</div></div>");var E=this;if(window.addEventListener){window.addEventListener("load",function(){E.initialize()},false)}else{if(window.attachEvent){window.attachEvent("onload",function(){E.initialize()})}else{if(document.getElementById){setTimeout(function(){E.initialize()},500)}}}}pausescroller.prototype.initialize=function(){this.tickerdiv=document.getElementById(this.tickerid);this.visiblediv=document.getElementById(this.tickerid+"1");this.hiddendiv=document.getElementById(this.tickerid+"2");this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv));this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px";this.getinline(this.visiblediv,this.hiddendiv);this.hiddendiv.style.visibility="visible";var A=this;document.getElementById(this.tickerid).onmouseover=function(){A.mouseoverBol=1};document.getElementById(this.tickerid).onmouseout=function(){A.mouseoverBol=0};if(window.attachEvent){window.attachEvent("onunload",function(){A.tickerdiv.onmouseover=A.tickerdiv.onmouseout=null})}setTimeout(function(){A.animateup()},this.delay)};pausescroller.prototype.animateup=function(){var A=this;if(parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px";this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px";setTimeout(function(){A.animateup()},50)}else{this.getinline(this.hiddendiv,this.visiblediv);this.swapdivs();setTimeout(function(){A.setmessage()},this.delay)}};pausescroller.prototype.swapdivs=function(){var A=this.visiblediv;this.visiblediv=this.hiddendiv;this.hiddendiv=A};pausescroller.prototype.getinline=function(B,A){B.style.top=this.visibledivtop+"px";A.style.top=Math.max(B.parentNode.offsetHeight,B.offsetHeight)+"px"};pausescroller.prototype.setmessage=function(){var C=this;if(this.mouseoverBol==1){setTimeout(function(){C.setmessage()},100)}else{var A=this.hiddendivpointer;var B=this.content.length;this.hiddendivpointer=(A+1>B-1)?0:A+1;this.hiddendiv.innerHTML=this.content[this.hiddendivpointer];this.animateup()}};pausescroller.getCSSpadding=function(A){if(A.currentStyle){return A.currentStyle.paddingTop}else{if(window.getComputedStyle){return window.getComputedStyle(A,"").getPropertyValue("padding-top")}else{return 0}}};
