function AdRotator(r,f,c){var o=this;o._2=r;o._11=.1/f;o._0=new Array();o._5=100;function _6(o){o.style.opacity=o._1;o.style.MozOpacity=o._1;o.style.filter="alpha(opacity="+(o._1*100)+")"};o._8=function(i){var o=this;var r=o._0[i];if(r._1<=0){clearInterval(o._9);o._7(i,true);return}var e=new Date().getTime()-o._10;r._1-=o._11*e;_6(r)};o._3=function(){var i=-1;var o=this;while(o._0[++i].style.zIndex!=o._5);o._10=new Date().getTime();o._9=setInterval(function(){o._8(i)},10)};o._7=function(c,r){var i=0;var o=this;var z=o._0[o._0.length-1].style.zIndex;for(i=o._0.length-1;i>0;i--)o._0[i].style.zIndex=o._0[i-1].style.zIndex;o._0[0].style.zIndex=z;o._0[c]._1=1;_6(o._0[c]);if(r)o._4=setTimeout(function(){o._3()},o._2)};o.MessageMotion=function(s){var o=this;if(o._0.length>1){clearTimeout(o._4);if(s)o._4=setTimeout(function(){o._3()},o._2)}};var a=document.getElementById(c).getElementsByTagName('div');if(a){var m=0;var i=0;while(a[m]){if(a[m].getAttribute('title')=='fadeobj'){o._0[i]=a[m];o._0[i].style.zIndex=o._5-i;o._0[i]._1=1;i++}m++}}if(o._0.length>1)o._4=setTimeout(function(){o._3()},o._2)};

