animInit_ebooksakti = "";
animControlName_ebooksakti = "ebooksakti";
animCurrentFrame_ebooksakti = 0;
animMaxNumFrames_ebooksakti = 2;
var animFrameDelay_ebooksakti = new Array(0, 3000, 3000);
animFadeDelay_ebooksakti = .5; 
var animEffect1_ebooksakti = new Array('Fade',   'Fade', 'Fade');
var animEffect2_ebooksakti = new Array('Appear', 'Appear', 'Grow');
var animContent_ebooksakti = new Array('',
   '<span style="font-size: 24pt;"><span style="font-weight: bold; color: rgb(153, 0, 0);">"Anda Mau <span style="text-decoration: underline;">Kaya</span> Dari Internet?"</span></span><br>',
'<span style="color: rgb(0, 102, 102); font-size: 18pt;"><span style="font-family: impact;">19 Resep Rahasia Akan Dibongkar </span><br style="font-family: impact;"><span style="font-family: impact;">Saat Training Online eBook SAKTI</span><br style="font-family: impact;"></span>');

animIE_ebooksakti = (Prototype.Browser.IE);
animLoop_ebooksakti = true;
   
document.write ('<div style="text-align: center; width: 600px; height: 55px; clip: auto; overflow: hidden;"><span id="ebooksakti" ');
if (animInit_ebooksakti != "")
   document.write (animInit_ebooksakti + '="animCurrentFrame_ebooksakti=1; selectAnim_ebooksakti();">' + animContent_ebooksakti[1]);
else
	document.write ('>');
document.write ('</span></div>');

if (animInit_ebooksakti == "")
   selectAnim_ebooksakti();   
   
function selectAnim_ebooksakti() {
   if (animCurrentFrame_ebooksakti < animMaxNumFrames_ebooksakti || animLoop_ebooksakti) {
      var sEffect = animEffect1_ebooksakti[animCurrentFrame_ebooksakti];
      if (animIE_ebooksakti && sEffect == "Shrink") sEffect = "Fade";  // IE doesn't like "Shrink"
      if (sEffect != "None")
   	   var myresult = eval('new Effect.' + sEffect + '(animControlName_ebooksakti, {duration:animFadeDelay_ebooksakti});');
      animCurrentFrame_ebooksakti += 1;
      if (animCurrentFrame_ebooksakti > animMaxNumFrames_ebooksakti) animCurrentFrame_ebooksakti = 1;
      window.setTimeout('changeAnim_ebooksakti()',animFadeDelay_ebooksakti * 1000);
   }
}

function changeAnim_ebooksakti() {
   document.getElementById(animControlName_ebooksakti).innerHTML = animContent_ebooksakti[animCurrentFrame_ebooksakti];
   var sEffect = animEffect2_ebooksakti[animCurrentFrame_ebooksakti];
   if (sEffect != "None")
	   var myresult = eval('new Effect.' + sEffect + '(animControlName_ebooksakti, {duration:animFadeDelay_ebooksakti});');
   window.setTimeout('selectAnim_ebooksakti()',animFrameDelay_ebooksakti[animCurrentFrame_ebooksakti]);
}

