function pausescroller(i,t,e,s){this.content=i,this.tickerid=t,this.delay=s,this.mouseoverBol=0,this.hiddendivpointer=1,document.write('
'+i[0]+'
');var n=this;window.addEventListener?window.addEventListener('load',function(){n.initialize()},!1):window.attachEvent?window.attachEvent('onload',function(){n.initialize()}):document.getElementById&&setTimeout(function(){n.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-2*this.visibledivtop+'px',this.getinline(this.visiblediv,this.hiddendiv),this.hiddendiv.style.visibility='visible';var i=this;document.getElementById(this.tickerid).onmouseover=function(){i.mouseoverBol=1},document.getElementById(this.tickerid).onmouseout=function(){i.mouseoverBol=0},window.attachEvent&&window.attachEvent('onunload',function(){i.tickerdiv.onmouseover=i.tickerdiv.onmouseout=null}),setTimeout(function(){i.animateup()},this.delay)},pausescroller.prototype.animateup=function(){var i=this;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(){i.animateup()},50)):(this.getinline(this.hiddendiv,this.visiblediv),this.swapdivs(),setTimeout(function(){i.setmessage()},this.delay))},pausescroller.prototype.swapdivs=function(){var i=this.visiblediv;this.visiblediv=this.hiddendiv,this.hiddendiv=i},pausescroller.prototype.getinline=function(i,t){i.style.top=this.visibledivtop+'px',t.style.top=Math.max(i.parentNode.offsetHeight,i.offsetHeight)+'px'},pausescroller.prototype.setmessage=function(){var i=this;if(1==this.mouseoverBol)setTimeout(function(){i.setmessage()},100);else{var t=this.hiddendivpointer,e=this.content.length;this.hiddendivpointer=t+1>e-1?0:t+1,this.hiddendiv.innerHTML=this.content[this.hiddendivpointer],this.animateup()}},pausescroller.getCSSpadding=function(i){return i.currentStyle?i.currentStyle.paddingTop:window.getComputedStyle?window.getComputedStyle(i,'').getPropertyValue('padding-top'):0};var pausecontent2=new Array;pausecontent2[0]='September 22, 2018',pausecontent2[1]='10 محرم 1440';document.write("");document.write("
شهريور 1397
31
شهادت حضرت امام زین العابدین (ع) ( 95 ه ق) | آغاز جنگ تحمیلی ( 1359 ه ش) | آغاز هفته دفاع مقدس
");