animInit_pe2demo = "";
animControlName_pe2demo = "pe2demo";
animCurrentFrame_pe2demo = 0;
animMaxNumFrames_pe2demo = 7;
var animFrameDelay_pe2demo = new Array(0, 3000, 4000, 3000, 1000, 2000, 3000, 5000);
animFadeDelay_pe2demo = .5; 
var animEffect1_pe2demo = new Array('Fade',   'Fade', 'Fade', 'DropOut', 'Appear', 'Shake', 'Shrink', 'Fade');
var animEffect2_pe2demo = new Array('Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Appear', 'Shake', 'Grow');
var animContent_pe2demo = new Array('',
   '<FONT style="COLOR: rgb(0,0,153)"><FONT size=7><SPAN style="FONT-WEIGHT: bold; FONT-FAMILY: impact"><FONT face=arial color=#cc0000>Why Be</FONT> <SPAN style="COLOR: rgb(0,0,0)"><FONT face=arial>Boring</FONT></SPAN> <IMG height=109 alt=Bored src="http://www.instantplugnpay.com/boret.png" width=147 align=right></SPAN><BR style="FONT-WEIGHT: bold; FONT-FAMILY: impact"><SPAN style="FONT-WEIGHT: bold; FONT-FAMILY: impact"><FONT face=arial color=#cc0000>When You Can...</FONT></SPAN></FONT></FONT><BR>',
'<SPAN style="FONT-SIZE: 38pt; COLOR: rgb(51,0,153)"><SPAN style="FONT-WEIGHT: bold; FONT-FAMILY: impact"><IMG alt="" src="http://www.power-effects.com/images/hands14.gif">              <BR><FONT color=#000000>Just</FONT> <SPAN style="COLOR: rgb(204,0,0)"><FONT color=#cc0000>Point</FONT></SPAN> <FONT color=#000000>And</FONT> <SPAN style="COLOR: rgb(204,0,0)">Click...<BR>                            <IMG alt="" src="http://www.power-effects.com/images/mouse2.gif"> </SPAN></SPAN></SPAN>',
'<FONT style="COLOR: rgb(0,0,153)" size=7><SPAN style="FONT-WEIGHT: bold; FONT-FAMILY: impact"><FONT color=#000000>...To Create</FONT> <SPAN style="COLOR: rgb(204,0,0)">Effects Like These!<BR><IMG alt="" src="http://www.power-effects.com/images/gears7.gif"><BR></SPAN></SPAN></FONT>',
'<SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 48pt; COLOR: rgb(211,18,39); FONT-FAMILY: Impact"><SPAN style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial,Helvetica,sans-serif">Introducing...</SPAN><BR><FONT color=#000000>Power Effects<BR></FONT><IMG src="http://www.power-effects.com/images/multi_lines.png" border=0></SPAN>',
'<SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 48pt; COLOR: rgb(211,18,39); FONT-FAMILY: Impact"><SPAN style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial,Helvetica,sans-serif">Introducing...</SPAN><BR><FONT color=#000000>Power Effects<BR></FONT><IMG src="http://www.power-effects.com/images/multi_lines.png" border=0></SPAN>',
'<SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 48pt; COLOR: rgb(211,18,39); FONT-FAMILY: Impact"><SPAN style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: Arial,Helvetica,sans-serif">Introducing...</SPAN><BR><FONT color=#000000>Power Effects</FONT> <FONT color=#cc3300><SPAN style="COLOR: rgb(51,0,153)"><FONT color=#cc0000>v2</FONT></SPAN><BR></FONT><IMG src="http://www.power-effects.com/images/multi_lines.png" border=0></SPAN>',
'<SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 32pt; COLOR: midnightblue; FONT-FAMILY: Impact"><FONT color=#000000>"Read On To Discover How This Amazing Web Technology Can <SPAN style="TEXT-DECORATION: underline">Transform</SPAN> More Of Your <SPAN style="COLOR: rgb(0,0,0)"><FONT color=#cc0000>Bored</FONT></SPAN> Prospects Into Customers!"</FONT></SPAN>');

animIE_pe2demo = (Prototype.Browser.IE);
animLoop_pe2demo = true;
   
document.write ('<div style="text-align: center; width: 650px; height: 250px; clip: auto; overflow: hidden;"><span id="pe2demo" ');
if (animInit_pe2demo != "")
   document.write (animInit_pe2demo + '="animCurrentFrame_pe2demo=1; selectAnim_pe2demo();">' + animContent_pe2demo[1]);
else
	document.write ('>');
document.write ('</span></div>');

if (animInit_pe2demo == "")
   selectAnim_pe2demo();   
   
function selectAnim_pe2demo() {
   if (animCurrentFrame_pe2demo < animMaxNumFrames_pe2demo || animLoop_pe2demo) {
      var sEffect = animEffect1_pe2demo[animCurrentFrame_pe2demo];
      if (animIE_pe2demo && sEffect == "Shrink") sEffect = "Fade";  // IE doesn't like "Shrink"
      if (sEffect != "None")
   	   var myresult = eval('new Effect.' + sEffect + '(animControlName_pe2demo, {duration:animFadeDelay_pe2demo});');
      animCurrentFrame_pe2demo += 1;
      if (animCurrentFrame_pe2demo > animMaxNumFrames_pe2demo) animCurrentFrame_pe2demo = 1;
      window.setTimeout('changeAnim_pe2demo()',animFadeDelay_pe2demo * 1000);
   }
}

function changeAnim_pe2demo() {
   document.getElementById(animControlName_pe2demo).innerHTML = animContent_pe2demo[animCurrentFrame_pe2demo];
   var sEffect = animEffect2_pe2demo[animCurrentFrame_pe2demo];
   if (sEffect != "None")
	   var myresult = eval('new Effect.' + sEffect + '(animControlName_pe2demo, {duration:animFadeDelay_pe2demo});');
   window.setTimeout('selectAnim_pe2demo()',animFrameDelay_pe2demo[animCurrentFrame_pe2demo]);
}
