animInit_yoganew = "";
animControlName_yoganew = "yoganew";
animCurrentFrame_yoganew = 0;
animMaxNumFrames_yoganew = 12;
var animFrameDelay_yoganew = new Array(0, 5000, 5000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 8000);
animFadeDelay_yoganew = .5; 
var animEffect1_yoganew = new Array('Fade',   'DropOut', 'DropOut', 'DropOut', 'DropOut', 'DropOut', 'DropOut', 'DropOut', 'DropOut', 'DropOut', 'DropOut', 'DropOut', 'Shrink');
var animEffect2_yoganew = new Array('Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear');
var animContent_yoganew = new Array('',
   '<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Namaste Singapore!</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Nature and Yoga ...</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Are You Ready To Experience It?</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>A Business Mind And A Yoga Body...</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Is A Lethal Combination!</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Would You Like Us To Give You Both?</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Do You Want Your Disease To Go Away ?</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Are You Ready To Find Out More ?</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Don\'t Wait To Experience The Power Of ...</strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Naturopathy Yoga ! </strong></font></p>  </body>',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>The Awakened Union Of ...</strong></font></p>  </body',
'<body>  <p align=center><font face=Georgia color=#004080 size=5><strong>Spirit, Body, Mind & Self Healing !</strong></font></p>  </body>');

animIE_yoganew = (Prototype.Browser.IE);
animLoop_yoganew = true;
   
document.write ('<div style="text-align: center; {{width}} {{height}} "><span id="yoganew" ');
if (animInit_yoganew != "")
   document.write (animInit_yoganew + '="animCurrentFrame_yoganew=1; selectAnim_yoganew();">' + animContent_yoganew[1]);
else
	document.write ('>');
document.write ('</span></div>');

if (animInit_yoganew == "")
   selectAnim_yoganew();   
   
function selectAnim_yoganew() {
   if (animCurrentFrame_yoganew < animMaxNumFrames_yoganew || animLoop_yoganew) {
      var sEffect = animEffect1_yoganew[animCurrentFrame_yoganew];
      if (animIE_yoganew && sEffect == "Shrink") sEffect = "Fade";  // IE doesn't like "Shrink"
      if (sEffect != "None")
   	   var myresult = eval('new Effect.' + sEffect + '(animControlName_yoganew, {duration:animFadeDelay_yoganew});');
      animCurrentFrame_yoganew += 1;
      if (animCurrentFrame_yoganew > animMaxNumFrames_yoganew) animCurrentFrame_yoganew = 1;
      window.setTimeout('changeAnim_yoganew()',animFadeDelay_yoganew * 1000);
   }
}

function changeAnim_yoganew() {
   document.getElementById(animControlName_yoganew).innerHTML = animContent_yoganew[animCurrentFrame_yoganew];
   var sEffect = animEffect2_yoganew[animCurrentFrame_yoganew];
   if (sEffect != "None")
	   var myresult = eval('new Effect.' + sEffect + '(animControlName_yoganew, {duration:animFadeDelay_yoganew});');
   window.setTimeout('selectAnim_yoganew()',animFrameDelay_yoganew[animCurrentFrame_yoganew]);
}
