/***********************************************
* Fading Scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var delay = 10000; //set delay between message change (in miliseconds)
var maxsteps=30; // number of steps to take to change from start color to endcolor
var stepdelay=40; // time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(255,255,255); // start color (red, green, blue)
var endcolor=new Array(0,0,0); // end color (red, green, blue)

var fcontent=new Array();
begintag='<div>'; //set opening tag, such as font declarations
fcontent[0]="<p>&quot;Verna you are terrific!<br /><br />I can't tell you how much I wish I didn't have to break our great momentum and routine - but I will definitely be back soon and I hope you will be there and will be able to work with me again!<br /><br />I really appreciate not only the wonderfully quick work you've done this week but also these last 2 months - you have been terrific and I look forward to the opportunity to work with you and the Pepper Team again in the near future.&quot;</p><p><b>Julie Gray</b><br />Owner and Professional Organizer<br />Profound Impact Holistic Organizing and Coaching<br /><a title='http://www.profound-impact.com/' href='http://www.profound-impact.com/' target='new'>www.profound-impact.com</a></p>"
fcontent[1]="<p>&quot;Noemi has been truly FANTASTIC! I couldn't have asked for a better VA, or a better experience in using Pepper.&quot;</p><p><b>Jeremy Cabral</b><br />Credit Card Finder<br /><a title='http://www.ajrhem.com/' href='http://www.creditcardfinder.com.au/' target='new'>www.creditcardfinder.com.au</a></p>"
fcontent[2]="<p>&quot;I really appreciate the great work your organization has done for my firm and would highly recommend your organization to all of my colleagues.&quot;</p><p><b>Anthony Rhem</b><br />President/CEO, A.J. Rhem & Associates, Inc. <A title='http://www.ajrhem.com/' href='http://www.ajrhem.com' target='new'>www.ajrhem.com</A></p>"
fcontent[3]="<p>&quot;I talked about looking into getting a VA on twitter after reading the 4 Hour Work week by Tim Ferriss. Soon after a PepperVA person tweeted back and offered me the free trial, It was simply too good an offer to miss! I'd already looked at a couple of others but found them lacking in their response speed (if they responded at   all!). I was walked through the VA system and process really well and that a good effort was made to understand me and my requirements, even though I didn't really know what they were before I started! My VA was introduced and we got to work. It really did take a while for me to work out what to send Via, but once I did she took my plain and very dull power point presentation and made it look spectacular. I can honestly say I was overwhelmed with the results. It was still my document, but now it was something I was really proud of and I'm delighted to be able to use it for my presentations. The research projects were equally well managed and returned to me with more information that I expected, especially given the time constraints. Having two jobs at the moment I was really struggling to finish everything I started. Now I have a pepperVA in my back pocket I keep seeing exciting opportunities rather than a workload that is making me crumble. I think my friends are getting a bit tired of me saying &quot;a PepperVA could do that for you&quot; and smiling at them smugly.&quot;</p><p><b>Paul G. Bailey</b><br>Gay Confidence Coach<br><a href='http://www.gayconfidencecoach.com' target='new'>http://www.gayconfidencecoach.com</a></p>"
fcontent[4]="<p>&quot;I just took a read through of the blog posts. I think they are fantastic. I'm amazed on how you've turned the original content into something that provides so much more, portrays the picture and captures the heart. Very well written!&quot;</p><p><b>Neelima Pratap</b><br>Co-founder<br><a href='http://www.GraceEducationalFoundation.org/' target='new'>www.GraceEducationalFoundation.org</a><br><a href='http://www.GraceEducationalTrust.com/' target='new'>www.GraceEducationalTrust.com</a>"
fcontent[5]="<p>&quot;Verna is excellent to work with and showed initiative in presenting ideas that would further our project along! She is helping me with a marketing project and worked independently, freeing me up to focus on networking. I will recommend her and Pepper Virtual Assistants to my clients.&quot;</p><p><b>Constance Drew</b><br>Business Advisor, Speaker & Writer<br>Founder, Global Visionary Startups, LLC.<br><a href='http://www.visionarystartups.com/' target='new'>http://www.visionarystartups.com/</a>"
fcontent[6]="<p>&quot;I'm amazed how much work I've completed with Pepper's help! I had so many projects I was working on ranging from book writing, executive coaching, speaking engagements, social networking, to fine art sales. I was becoming overwhelmed until Pepper found me on Twitter. Initially I was a bit skeptical how a VA would save me time. I had the impression that it would take me longer to explain something to someone then actually doing it myself. As it turns out my VA has helped me wrap up so many projects that my life was suddenly much more enjoyable! I was no longer dreading the things I did not want to do. My VA took care of all the details quickly and seamlessly so I have more time to do the things I do best! The whole process was so smooth and I am so glad I took this leap of faith! Thank you Pepper!&quot;</p><p><b>Flo Li</b><br>Atomic Flow<br><a href='http://www.FloLi.com' target='new'>http://www.FloLi.com</a>"
fcontent[7]="<p>&quot;I appreciate everything you have done.  Blue is a tremendous asset to your organization and represents you extremely well. Blue is great!&quot;</p><p><b>Jeffrey Nunley</b><br>Evergreen Pacific Mortgage, Inc.<br><a href='http://www.jeffnunley.com/' target='new'>http://www.jeffnunley.com/</a></p>";
fcontent[8]="<p>&quot;Having the possibility of delegating my tasks to someone with such a high degree of professionalism and reliability is a huge enhancement in life quality and gives a real boost to my productivity - I love going out knowing that at the same time someone I trust is taking care of my business ! I'm sure I'll keep coming back to Pepper!&quot;</p><p><b>Fabio Corigliano</b><br>Apapun - live, soon<br><a href='http://www.apapun.it' target='new'>http://www.apapun.it</a></p>";
fcontent[9]="<p>&quot;Absolutely phenomenal work! (And that's an adjective I rarely use!) Your work is excellent and much better quality than I would have done – and I didn't even have the time to get started. In short, thank you so much Paula!&quot;</p><p><b>Dane Johnson</b><br>Chief Boozehound<br>Melbourne Nightlife<br><a href='http://www.MelbourneNightlife.com' target='new'>http://www.MelbourneNightlife.com</a></p>";
fcontent[10]="<p>&quot;Very positive first experience. Looking forward to working with you all again in the future...&quot;</p><p><b>Brody Dorland</b><br />Founder and Creative Director<br />Something Creative, Inc.<br /><a href='http://www.somethingcreativeinc.com' target='new'>www.somethingcreativeinc.com</a></p>";
fcontent[11]="<p>&quot;I discovered Pepper at a time when I needed additional support for my growing coach training school. I decided to try out Pepper's offer of a free trial virtual assistant and entered the Peppered Customer of the Year contest. My first week with Blue Mercado was excellent. She was able to do almost everything I requested and it was done promptly and professionally. What a relief! I can't think of anything better than winning a free year with Blue as my assistant, as far as helping the growth of my business is concerned. And for the first time in a few months, I feel like I have my life back!&quot;</p><p><b>Julia Stewart</b><br>President, School of Coaching Mastery<br><a href='http://www.mondaymorningva.com' target='new'>www.SchoolofCoachingMastery.com</a></p>";
fcontent[12]="<p>&quot;I just wanted to take a few seconds to let you know how things are going so far. Mejie is absolutely wonderful. Even my husband, when I told him the progress she's been able to make thus far, was impressed. I never would have been able to complete this project on time without you and Mejie.&quot;</p><p><b>Dawn Martinello</b><br>Owner/VA of Monday Morning VA<br><a href='http://www.mondaymorningva.com' target='new'>www.mondaymorningva.com</a></p>";
fcontent[13]="<p>&quot;I would def use you guys again, if only my business would pick up so that i had  something for you to do!<br> Paula  was great....I think the biz card project worked out really well.&quot;</p> <p><b>Nikki Striefler</b><br> Marketing and Brand Consultant</p>";
fcontent[14]="<p>&quot;Mejie helped me with several projects  involving internet research and database compilation.  The work was thorough and saved me so much  time!&quot;</p> <p><b>Dawn Martinello</b><br> Owner/VA of  Monday Morning VA<br> <a href='http://www.mondaymorningva.com' target='new'>www.mondaymorningva.com</a></p>";
fcontent[15]="<p>&quot;Nikki is one of the most trustworthy and reliable people I have ever worked with. If you get  a chance to work with her under any context, don't hesitate.&quot;</p> <p><b>Mark Joyner</b> <br> #1 Bestselling Author of &quot;Integration Marketing&quot;<br> <a href='http://www.integrationmarketing.com/' target='new'>www.IntegrationMarketing.com</a></p>";
fcontent[16]="<p>&quot;Working with a virtual assistant was new for me. I tried two services and was already having trouble with the other one when I found Pepper. I did not have any problems with Pepper, in fact, they exceeded my expectations! Everything was handled nicely and timely. I know I will have more work for Pepper in the near future!&quot;</p><p><b>Kip Ferguson</b><BR>Michigan   Advertising<BR><a href='http://www.michiganadvertising.com/' target='new'>michiganadvertising.com</a></p>";
closetag='</div>';

var fwidth='100%'; //set scroller width
var fheight='100%'; //set scroller height

var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////


var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderdelay=0;
var index=0;


/*Rafael Raposo edited function*/
//function to change content
function changecontent(){
  if (index>=fcontent.length)
    index=0
  if (DOM2){
    document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
    document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
    if (fadelinks)
      linkcolorchange(1);
    colorfade(1, 15);
  }
  else if (ie4)
    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
  index++
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (obj.length>0){
    for (i=0;i<obj.length;i++)
      obj[i].style.color=getstepcolor(step);
  }
}

/*Rafael Raposo edited function*/
var fadecounter;
function colorfade(step) {
  if(step<=maxsteps) {	
    document.getElementById("fscroller").style.color=getstepcolor(step);
    if (fadelinks)
      linkcolorchange(step);
    step++;
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    clearTimeout(fadecounter);
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    setTimeout("changecontent()", delay);
	
  }   
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
  var diff
  var newcolor=new Array(3);
  for(var i=0;i<3;i++) {
    diff = (startcolor[i]-endcolor[i]);
    if(diff > 0) {
      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
    } else {
      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

if (ie4||DOM2)
  document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+'"></div>');

if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent