﻿hex=150 // Initial color value.
var arMessage = new Array();
arMessage[0] = "“<em>Reawaken produced and maintain our custom operational software along with our general IT needs. They respond quickly if a problem arises and I have found them to be both knowledgeable and helpful in the process. They are an essential part of our set up which we rely upon heavily and have saved the day on many occasions.</em>”<br />Richard Smith – Mission Control Artists Agency";
arMessage[1] = "“<em>We would highly recommend Reawaken to any company looking for cost efficient website construction and hosting services - the service, advice and high professional standards you have consistently delivered have made our life easier. Your helpfulness has been of great assistance to an office that is always very hectic and needs a fast support service. We have already recommended you and will gladly continue to refer people to you.</em>”<br />Catherine MacKenzie – Ultra DJ Artists Agency";
arMessage[2] = "“<em>Reawaken have provided our organisation with a customised piece of software that enables us to log calls from our helpdesk, manage client contact details and cases, view case histories and manage our counsellors. Not only has the software transformed the way that we work, it has saved us time and therefore money. As a charity we do not have a great deal of money to spend on IT systems but Reawaken have provided us with quality, reliable systems at cost effective prices.</em>”<br />Malcolm Gilbert – Family Matters";
arMessage[3] = "“<em>After some frustrating experiences with both our web host and IT support, we switched to Reawaken for both services. I really can’t recommend Reawaken enough, and we have found both Andy and the rest of the staff to be really friendly, quick to respond and very knowledgeable – 10 out of 10</em>”<br />Liz Campbell – The Survivors Trust";
arMessage[4] = "“<em>A wicked website. The guys at Reawaken got it spot on. They listened to what I wanted and delivered it to the specification. I love the content management system as I can change and edit the text and pictures as often as I like without having to learn any web design skills. Thanks to the whole team!</em>”<br />Mark Anthony Cambridge – Singer";
fade = true;
var arraycount = 5;
var currenttext = 0;
var divname = "links";

function fadetext()
{ 
    document.getElementById(divname).innerHTML = arMessage[currenttext];
    if (fade == true)
    {
        if(hex>0) 
        { //If color is not black yet
            hex-=11; // increase color darkness
            document.getElementById(divname).style.color="rgb("+hex+","+hex+","+hex+")";
            setTimeout("fadetext()",50); 
        }
        else
        {
            fade = false;
            setTimeout("fadetext()",4000);
        }
    }
    else
    {
        
        //alert(hex);
        if (hex<146)
        {
            hex+=11;
            document.getElementById(divname).style.color="rgb("+hex+","+hex+","+hex+")";
            setTimeout("fadetext()",50);     
        }
        else
        {
            fade = true;
            setTimeout("fadetext()",50);
            currenttext++;
            if (currenttext >= arraycount)
                currenttext = 0;
            document.getElementById(divname).innerHTML = arMessage[currenttext];
        }
    }
    
}

