var pausecontent2=new Array()
pausecontent2[0]='<A href="http://www.simaclup.com/product_info.php?products_id=09" target="_blank">سريال سريال شرلوك هلمز </A>'
pausecontent2[1]='<A href="http://www.simaclup.com/product_info.php?products_id=51" target="_blank">سريال نامه عشق </A>'
pausecontent2[2]='<A href="http://www.simaclup.com/product_info.php?products_id=52" target="_blank">سريال درخت بهشتي</A>'
pausecontent2[3]='<A href="http://www.simaclup.com/product_info.php?products_id=54" target="_blank"> سريال پائيز در قلب من</A>'
pausecontent2[4]='<A href="http://www.simaclup.com/product_info.php?products_id=55" target="_blank"> سريال زيباي 18:29 </A>'
pausecontent2[5]='<A href="http://www.simaclup.com/product_info.php?products_id=59" target="_blank"> سريال افسانه سودانگ</A>'
pausecontent2[6]='<A href="http://www.simaclup.com/product_info.php?products_id=62" target="_blank"> سريال جومانگ</A>'
pausecontent2[7]='<A href="http://www.simaclup.com/product_info.php?products_id=70" target="_blank"> سريال تاجر پوسان</A>'
pausecontent2[8]='<A href="http://www.simaclup.com/product_info.php?products_id=13" target="_blank">يانگوم در سريال پدر(پاپا)</A>'
pausecontent2[9]='<A href="http://www.simaclup.com/product_info.php?products_id=27" target="_blank">سريال عامل ناشناخته </A>'
pausecontent2[10]='<A href="http://www.simaclup.com/product_info.php?products_id=43" target="_blank">سريال عقابهاي مبارز </A>'
pausecontent2[11]='<A href="http://www.simaclup.com/product_info.php?products_id=15" target="_blank">سريال بسوي جنوب</A>'
pausecontent2[12]='<A href="http://www.simaclup.com/product_info.php?products_id=14" target="_blank">سريال آنشرلي(روياي سبز)</A>'
pausecontent2[13]='<A href="http://www.simaclup.com/product_info.php?products_id=31" target="_blank">سريال جنگجويان كوهستان</A>'
pausecontent2[14]='<A href="http://www.simaclup.com/product_info.php?products_id=41" target="_blank">سريال گمشدگان</A>'
pausecontent2[15]='<A href="http://www.simaclup.com/product_info.php?products_id=21" target="_blank">سريال پزشك دهكده2(سه فصل دوم)</A>'
pausecontent2[16]='<A href="http://www.simaclup.com/product_info.php?products_id=30" target="_blank">سريال قصه‌هاي جزيره</A>'
pausecontent2[17]='<A href="http://www.simaclup.com/product_info.php?products_id=29" target="_blank">يانگوم درسريال پزشكان </A>'
pausecontent2[18]='<A href="http://www.simaclup.com/product_info.php?products_id=40" target="_blank">سريال بازگشت عقابهاي مبارز</A>'
pausecontent2[19]='<A href="http://www.simaclup.com/product_info.php?products_id=38" target="_blank">سريال امپراطور دريا </A>'

pausecontent2[20]='<A href="http://www.simaclup.com/product_info.php?products_id=23" target="_blank">سريال پرستاران(فصل اول)</A>'
pausecontent2[21]='<A href="http://www.simaclup.com/product_info.php?products_id=10" target="_blank">سريال اوشين(دور ازخانه)</A>'
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^سريال-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pausecontent2[22]='<A href="http://www.simaclup.com/product_info.php?products_id=39" target="_blank">عاشقانه‌ترين فيلمهاي تاريخ</A>'
pausecontent2[23]='<A href="http://www.simaclup.com/product_info.php?products_id=22" target="_blank"> مجموعه فيلمهاي مستربين </A>'
pausecontent2[24]='<A href="http://www.simaclup.com/product_info.php?products_id=18" target="_blank">هري پاتر 1.2.3.4.5 </A>'
pausecontent2[25]='<A href="http://www.simaclup.com/product_info.php?products_id=49" target="_blank">فيلم - دو خواهر </A>'
pausecontent2[26]='<A href="http://www.simaclup.com/product_info.php?products_id=67" target="_blank">فيلم - يكبار درتابستان</A>'
pausecontent2[27]='<A href="http://www.simaclup.com/product_info.php?products_id=68" target="_blank">فيلم - نسخه اصلي پدرخوانده و دوبله </A>'
pausecontent2[28]='<A href="http://www.simaclup.com/product_info.php?products_id=71" target="_blank">فيلم - فعاليت عروسي من</A>'
pausecontent2[29]='<A href="http://www.simaclup.com/product_info.php?products_id=76" target="_blank">فيلم - نفرين گل طلائي </A>'
pausecontent2[30]='<A href="http://www.simaclup.com/product_info.php?products_id=81" target="_blank">فيلم - اولين عشق يك ميليونر </A>'
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^فيلم^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pausecontent2[31]='<A href="http://www.simaclup.com/product_info.php?products_id=47" target="_blank">كارتون بامزي قويترين خرس دنيا  </A>'
pausecontent2[32]='<A href="http://www.simaclup.com/product_info.php?products_id=46" target="_blank">كارتون سـندبـاد </A>'
pausecontent2[33]='<A href="http://www.simaclup.com/product_info.php?products_id=20" target="_blank">مجموعه كارتوني شرك  1,2,3,4 </A>'
pausecontent2[34]='<A href="http://www.simaclup.com/product_info.php?products_id=16" target="_blank">جودي ابوت و بابا لنگ دراز</A'
pausecontent2[35]='<A href="http://www.simaclup.com/product_info.php?products_id=44" target="_blank">كارتون - كارتون 46  </A>'
pausecontent2[36]='<A href="http://www.simaclup.com/product_info.php?products_id=56" target="_blank">كارتون - پينوكيو </A>'
pausecontent2[37]='<A href="http://www.simaclup.com/product_info.php?products_id=57" target="_blank">كارتون - Horton Hears A Who - هارتون </A>'
pausecontent2[38]='<A href="http://www.simaclup.com/product_info.php?products_id=58" target="_blank">كارتون -پنگوين خوش قدم</A>'
pausecontent2[39]='<A href="http://www.simaclup.com/product_info.php?products_id=60" target="_blank">كارتون - كارتون بر آب رفته -Flushed Away  </A>'
pausecontent2[40]='<A href="http://www.simaclup.com/product_info.php?products_id=64" target="_blank">كارتون - زیبای گوریل انگوری</A>'
pausecontent2[41]='<A href="http://www.simaclup.com/product_info.php?products_id=65" target="_blank">كارتون -بلفي و لي لي بيت  </A>'
pausecontent2[42]='<A href="http://www.simaclup.com/product_info.php?products_id=69" target="_blank">كارتون -بچه هاي كوه آلپ  </A>'
pausecontent2[43]='<A href="http://www.simaclup.com/product_info.php?products_id=72" target="_blank">كارتون -سفرهاي گاليور + تنسي  </A>'
pausecontent2[44]='<A href="http://www.simaclup.com/product_info.php?products_id=73" target="_blank">كارتون -كارتون زيباي لوک خوش شانس - دوبله </A>'
pausecontent2[45]='<A href="http://www.simaclup.com/product_info.php?products_id=84" target="_blank">كارتون -كارتون دختری به نام نل </A>'
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^كارتون^^^^^^^^^^^^^^^^^^^^^^^^^^^
pausecontent2[46]='<A href="http://www.simaclup.com/product_info.php?products_id=25" target="_blank">آموزش نرم افزارهاي آرايشگري</A>'
pausecontent2[47]='<A href="http://www.simaclup.com/product_info.php?products_id=26" target="_blank">آموزش آيروبيك به زبان فارسي</A>'
pausecontent2[48]='<A href="http://www.simaclup.com/product_info.php?products_id=48" target="_blank">آموزش آرايش صورت</A>'
pausecontent2[49]='<A href="http://www.simaclup.com/product_info.php?products_id=50" target="_blank">آموزش فر كردن مو</A>'
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^بانوان^^^^^^^^^^^^^^^^^^^^^^^^^^^
pausecontent2[50]='<A href="http://www.simaclup.com/product_info.php?products_id=28" target="_blank">50 فيلم براي موبايل+نرم افزار </A>'
pausecontent2[51]='<A href="http://www.simaclup.com/product_info.php?products_id=33" target="_blank">آموزش‌زبان‌وتقويت‌حافظه‌نصرت2روي‌موبايل</A>'
pausecontent2[52]='<A href="http://www.simaclup.com/product_info.php?products_id=33" target="_blank">آموزش‌زبان‌و‌تقويت‌حافظه نصرت2 </A>'
pausecontent2[53]='<a href="http://www.simaclup.com/product_info.php?products_id=34" target="_blank">آموزش تعميرات پرايد </a>'
pausecontent2[54]='<A href="http://www.simaclup.com/product_info.php?products_id=42" target="_blank">دوهزار جلد كتاب الكترونيكي </A>'
pausecontent2[55]='<A href="http://www.simaclup.com/product_info.php?products_id=42" target="_blank">مجموعه‌نرم‌افزارهای روتوش‌‌عکس‌و‌چهره‌سازي </A>'
pausecontent2[56]='<A href="http://www.simaclup.com/product_info.php?products_id=32" target="_blank">آموزش تعميرات پژو 206 </A>'


function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
this.tickerdiv.onmouseover=function(){scrollerinstance.mouseoverBol=1}
this.tickerdiv.onmouseout=function(){scrollerinstance.mouseoverBol=0}
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){
var scrollerinstance=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(){scrollerinstance.animateup()}, 10)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}