function SoScAD(_11,_12,w,h,_15,_16){this.content=_11;this.tickerid=_12;this.delay=_15;this.mouseoverBol=0;this.hiddendivpointer=1;this.offset=(_16)?_16:5;document.write("<div id=\""+_12+"\" style=\"width:"+w+"px;height:"+h+"px;position:relative;overflow:hidden\"><div style=\"position: absolute;left:0px; width: 100%\" id=\""+_12+"1\">"+_11[0]+"</div><div style=\"position: absolute; left:0px;width: 100%; visibility: hidden;\" id=\""+_12+"2\">"+_11[1]+"</div></div>");var _17=this;if(window.addEventListener){window.addEventListener("load",function(){_17.initialize();},false);}else{if(window.attachEvent){window.attachEvent("onload",function(){_17.initialize();});}else{if(document.getElementById){setTimeout(function(){_17.initialize();},500);}}}}SoScAD.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(SoScAD.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 _18=this;document.getElementById(this.tickerid).onmouseover=function(){_18.mouseoverBol=1;};document.getElementById(this.tickerid).onmouseout=function(){_18.mouseoverBol=0;};if(window.attachEvent){window.attachEvent("onunload",function(){_18.tickerdiv.onmouseover=_18.tickerdiv.onmouseout=null;});}setTimeout(function(){_18.animateup();},this.delay);};SoScAD.prototype.animateup=function(){var _19=this;if(parseInt(this.hiddendiv.style.top)>(this.visibledivtop+this.offset)){this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-this.offset+"px";this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-this.offset+"px";setTimeout(function(){_19.animateup();},50);}else{this.getinline(this.hiddendiv,this.visiblediv);this.swapdivs();setTimeout(function(){_19.setmessage();},this.delay);}};SoScAD.prototype.swapdivs=function(){var _1a=this.visiblediv;this.visiblediv=this.hiddendiv;this.hiddendiv=_1a;};SoScAD.prototype.getinline=function(_1b,_1c){_1b.style.top=this.visibledivtop+"px";_1c.style.top=Math.max(_1b.parentNode.offsetHeight,_1b.offsetHeight)+"px";};SoScAD.prototype.setmessage=function(){var _1d=this;if(this.mouseoverBol==1){setTimeout(function(){_1d.setmessage();},100);}else{var i=this.hiddendivpointer;var _1f=this.content.length;this.hiddendivpointer=(i+1>_1f-1)?0:i+1;this.hiddendiv.innerHTML=this.content[this.hiddendivpointer];this.animateup();}};SoScAD.getCSSpadding=function(_20){if(_20.currentStyle){return _20.currentStyle["paddingTop"];}else{if(window.getComputedStyle){return window.getComputedStyle(_20,"").getPropertyValue("padding-top");}else{return 0;}}};