
<!-- Paste this code into an external JavaScript file named: marquee.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Mike Hudson :: http://www.afrozeus.com */

function setupFadeLinks() {
  arrFadeLinks[0] = "//";
  arrFadeTitles[0] = "I have wanted to write to you guys for some time now to congratulate you and your 'Team Turf' folks for the excellent work you do. The front yard project continues to get rave reviews from our neighbors.  Your work there was exceptional.  It was not an easy make over but you were up to the task. So there is no surprise on my part that the regular weekly maintenance you provide is second to none. Thanks again for your work.<br><b><em>- Pete & Cindy Butler</em></b>";
  arrFadeLinks[1] = "//";
  arrFadeTitles[1] = "Matt and Jonathan have been taking care of my yard for years.  Their crews are polite, reliable, professional and make my life so much easier!  Whenever I want to make changes in my landscaping, Matt always takes the time to come to my home and meet with me personally.  He offers creative ideas on design and materials that make my home look wonderful.  Thanks, guys!<br><b><em>- Ronnie Kihlstadius</em></b>";
  arrFadeLinks[2] = "//";
  arrFadeTitles[2] = "We have used the services of Team Turf for many years, from Design to maintenance and general clean up. Our yard looks better than ever. Team Turf are and have been honest, done what and when, they said they would do. Thanks Jonathon and Matt. Plan to use you guys for a long time to come! Keep us Green.<br><b><em>- Pieter de’Rijke</em></b>";
  arrFadeLinks[3] = "//";
  arrFadeTitles[3] = "We used Team Turf to enhance our backyard with a new porch, small retaining wall, stone steps, as well as plants and shrubbery. They did an excellent job and I will use them again for my next project!<br><b><em>- David Mader</em></b>";
  arrFadeLinks[4] = "//";
  arrFadeTitles[4] = "Team Turf is a very professional company with wonderful ideas. We were so impressed with Jonathan's design as well as the cost, that we ended up doing the whole yard! Team Turf came when they were supposed to come and completed the job in the amount of time they said. They were easy to talk to and very friendly. Our family was so impressed with Team Turf that they immediately called in order to set up their time. I would recommend Team Turf to everyone!<br><b><em>- Cheri Vaniman</em></b>";
  arrFadeLinks[5] = "//";
  arrFadeTitles[5] = "We have been customers of Team Turf Landscapes for approximately eight years. We have used Team Turf for weekly yard service as well as two major yard renovations - one in our back yard and the other in the front yard. Team Turf has at their disposal any and all resources necessary for landscaping projects large or small. Jonathan and Matt, have consistently provided us with superior service throughout our eight year working relationship.<br><b><em>- Mary Rogers</em></b>";
  arrFadeLinks[6] = "//";
  arrFadeTitles[6] = "We have worked with Team Turf on several projects - such as planting flowers, removing trees, adding steps down our embankment to our basement, and, most recently, they installed pavers in our circular driveway in front of our home. Everyone in the neighborhood has commented on the gorgeous job that they did. Their work ethic is the highest and their knowledge and abilities are outstanding.<br><b><em>- Bette Selfridge</em></b>";

}

// You can also play with these variables to control fade speed, fade color, and how fast the colors jump.

var m_FadeOut = 255;
var m_FadeIn= 255;
var m_Fade = 0;
var m_FadeStep = 3;
var m_FadeWait = 10000;
var m_bFadeOut = false;

var m_iFadeInterval;

window.onload = Fadewl;

var arrFadeLinks;
var arrFadeTitles;
var arrFadeCursor = 0;
var arrFadeMax;

function Fadewl() {
  m_iFadeInterval = setInterval(fade_ontimer, 10);
  arrFadeLinks = new Array();
  arrFadeTitles = new Array();
  setupFadeLinks();
  arrFadeMax = arrFadeLinks.length-1;
  setFadeLink();
}

function setFadeLink() {
  var ilink = document.getElementById("fade_link");
  ilink.innerHTML = arrFadeTitles[arrFadeCursor];
  ilink.href = arrFadeLinks[arrFadeCursor];
}

function fade_ontimer() {
  if (m_bFadeOut) {
    m_Fade+=m_FadeStep;
    if (m_Fade>m_FadeOut) {
      arrFadeCursor++;
      if (arrFadeCursor>arrFadeMax)
        arrFadeCursor=0;
      setFadeLink();
      m_bFadeOut = false;
    }
  } else {
    m_Fade-=m_FadeStep;
    if (m_Fade<m_FadeIn) {
      clearInterval(m_iFadeInterval);
      setTimeout(Faderesume, m_FadeWait);
      m_bFadeOut=true;
    }
  }
  var ilink = document.getElementById("fade_link");
  if ((m_Fade<m_FadeOut)&&(m_Fade>m_FadeIn))
    ilink.style.color = "#" + ToHex(m_Fade);
}

function Faderesume() {
  m_iFadeInterval = setInterval(fade_ontimer, 10);
}

function ToHex(strValue) {
  try {
    var result= (parseInt(strValue).toString(16));

    while (result.length !=2)
            result= ("0" +result);
    result = result + result + result;
    return result.toUpperCase();
  }
  catch(e)
  {
  }
}



/* Paste this code into the HEAD section of your HTML document.
     You may need to change the path of the file.  -->

<script type="text/javascript" src="bin/script/marquee.js"></script>
 */


<!-- Paste this code into the BODY section of your HTML document  -->

/*<div id="fade_base" style="width:250px;border:1px dotted black;padding:5px;height:60px;line-height:1.8em;">
Check out our new scripts:<br>
<strong><em><a id="fade_link"></a></em></strong>
</div>
<p><div align="center">
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</div><p>*/


