/* 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] = "At HPP Cares, we are committed to giving homeowners the tools they need to avoid foreclosure, and RxOffice offers the process efficiency to uphold our mission to help as <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Katherine Peoples-McGill, HPP Cares,<br> Executive Director</div>";

  arrFadeLinks[1] = "";
  arrFadeTitles[1] = "NCCI recognizes the importance of continually advancing client contact results with homeowners who are having financial challenges and need to explore loss <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Richard Rodriguez, NCCI, President and CEO</div>";

  arrFadeLinks[2] = "";
  arrFadeTitles[2] = "RxOffice has proven to be a highly effective platform in our efforts to expedite transactions and fine tune our loss mitigation capabilities,” said Steven Horne, founder <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Steven Horne, Wingspan Portfolio  <br>Advisors, Founder and President</div>";

  /*arrFadeLinks[3] = "";
  arrFadeTitles[3] = "We had been talking about upgrading our system for a year and considered the technology from three companies said Melissa Kaiza, information manager for  <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Melissa Kaiza, St. Ambrose, Information Manager</div>";*/

 /*  arrFadeLinks[4] = "";
  arrFadeTitles[4] = "IndiSoft’s integration of Topaz’s industry leading hardware devices, patented software and forensically robust eSignatures has given the default services industry <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Tom Scott, Computime, Sales Manager</div>";*/

  arrFadeLinks[3] = "";
  arrFadeTitles[3] = "Improving processes means quicker resolution for borrowers in distress, which allows RCS explained. “With the RxOffice Loss Mitigation module, we have reduced  <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Mark Rogers, RCS, Chief Administrative Officer</div>";

  /* arrFadeLinks[6] = "";
  arrFadeTitles[6] = "Consumers learn in different ways, and combining video with other Web-based solutions is a best practice in engaging and teaching consumers about their options <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Garth Graham, Financial Literary<br> Solutions, President</div>";*/


  arrFadeLinks[4] = "";
  arrFadeTitles[4] = "From a business perspective our business teams have found RX Office to be a very user friendly and robust case management system. We have been able to implement it...<BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Mr. Brandon Barnett - COO </div>";
	
  arrFadeLinks[5] = "";
  arrFadeTitles[5] = "HOPE LoanPort has had the pleasure of working with Indisoft since HOPE LoanPort's inception. We've found Indisoft's years of experience providing technology<a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Larry L. Gilmore - CMB</div>";

  arrFadeLinks[6] = "";
  arrFadeTitles[6] = "HOPE NOW has been working with IndiSoft for over a year a half now. The relationship has been extremely positive. We are a small company and rely on their expertise<a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Eric Selk - Director of Outreach</div>";


  arrFadeLinks[7] = "";
  arrFadeTitles[7] = "Franklin Credit worked with Indisoft team for the development of an Intranet portal for Litigation Case Management, Reporting, and Administration that is being <a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Bob Palmer - CIO Franklin Credit</div>";


  arrFadeLinks[8] = "";
  arrFadeTitles[8] = "We have been working with Indisoft team on our initiave Hopenow.com for almost a year. Indisoft team has been immaculate in their work. With a good blend<a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Faith Schwartz - Executive Director</div>";


  arrFadeLinks[9] = "";
  arrFadeTitles[9] = "The core business process remains the same. Since implementing the technology I've been able to reduce staff and maintain the same level of work. The biggest<a href='client-testimonials.php' class='rxsolutions_txt-scroll'><i>...</i></a><BR><div style='color:#29416F;font-weight:bold;margin-top:4px;'>Ben Paragman - Founder SSCELLC.</div>";

}

// 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=0;
var m_Fade = 0;
var m_FadeStep = 3;
var m_FadeWait = 7000;
var m_bFadeOut = true;

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)
  {
  }
}

