var hotspot_delay=12000 //set delay between message change (in miliseconds)
var hotspot_fcontent=new Array()
hotspot_begintag='' //set opening tag, such as font declarations
hotspot_fcontent = [
	'<p>The ON TIME device has helped me to manage my finances better.</p><div class="source">&#8212; R. Webster (Auckland)</div>',
	'<p>[VeriPay] worked well for me and would recommend the system to others without hesitation.</p><div class="source">&#8212; D. Simmiss (Kaitaia)</div>',
	'<p>The service has been very user-friendly and very helpful when I have needed to make queries.</p><div class="source">&#8212; Gaylia Pullen</div>',
	'<p>VeriPay has been very beneficial to our family. We recommend it to anyone.</p><div class="source">&#8212; Mr & Mrs Thomas</div>',
	'<p>I have been using the VeriPayer for the past 6 months – I found that it helped me stay on top of my payments week after week. It assisted greatly in helping me to pay off my loan.</p><div class="source">&#8212; Angelique Le&#146;laulu</div>',
	'<p>The VeriPay unit was cool to have, it was just like having your own personal diary [reminding you] of when your weekly installments are due.</p><div class="source">&#8212; R. Webster (Auckland)</div>',
	'<p>I am looking forward to buy another vehicle and will for sure ask VeriPay to install another system in that vehicle. This is the only solution for my payment problem.</p><div class="source">&#8212; Kadijah Lolohea (Auckland)</div>',
	'<p>The VeriPay unit was cool to have, it was just like having your own personal diary … of when instalments are due…</p><div class="source">&#8212; A. McLean (Auckland)</div>',
	'<p>Having bad credit history, purchasing a car with finance companies was a difficult job. Not only has [VeriPay] helped me keep a routine to my payments, I now own my car freehold.</p><div class="source">&#8212; Tarena Finlayson (Auckland)</div>',
	'<p>I was the guarantor for my daughter when she purchased her vehicle. I highly recommend it.</p><div class="source">&#8212; Ria Ngatokorua (Auckland)</div>',
	'<p>Having the system in my vehicle made me ensure the vehicle payments were made on time, which left me feeling reassured that I could not fall behind on payments.</p><div class="source">&#8212; Langcree Jenkins (Auckland)</div>',
	'<p>About 4 years ago I had so much trouble trying to pay off my loan my car ended up getting repossessed. Today I have finished paying off my car thanks to VeriPay.</p><div class="source">&#8212; Rachel Peke (Auckland)</div>'
];

hotspot_closetag=''

var hotspot_fwidth=180 //set scroller width
var hotspot_fheight=25 //set scroller height

///No need to edit below this line/////////////////

var hotspot_ie4=document.all&&!document.getElementById
var hotspot_ns4=document.layers
var hotspot_DOM2=document.getElementById
var hotspot_fader_delay=0
var hotspot_index=Math.floor(Math.random()*hotspot_fcontent.length);

if (hotspot_DOM2)
    hotspot_hotspot_fader_delay=2000

//function to change content
function hotspot_changecontent()
{
    if (hotspot_index>=hotspot_fcontent.length)
        hotspot_index=0

    if (hotspot_DOM2)
    {
        document.getElementById("hotspot_fscroller").style.color="rgb(0,0,0)"
        document.getElementById("hotspot_fscroller").innerHTML=
            hotspot_begintag
            //+ "Index: " + hotspot_index + "<br>"
            //+ "Length: " + hotspot_fcontent.length + "<br>"
            + hotspot_fcontent[hotspot_index]
            + hotspot_closetag
        ;
        hotspot_colorfade()
    }
    else if (hotspot_ie4)
        document.all.hotspot_fscroller.innerHTML=hotspot_begintag+hotspot_fcontent[hotspot_index]+hotspot_closetag
    else if (hotspot_ns4)
    {
        document.fscrollerns.document.fscrollerns_sub.document.write(hotspot_begintag+hotspot_fcontent[hotspot_index]+hotspot_closetag)
        document.fscrollerns.document.fscrollerns_sub.document.close()
    }

    /* hotspot_index=Math.floor(Math.random()*hotspot_fcontent.length);*/
    hotspot_index += 1;
    setTimeout("hotspot_changecontent()",hotspot_delay+hotspot_fader_delay)
}

// hotspot_colorfade() partially by Marcio Galli for Netscape Communications.
////////////
// Modified by Dynamicdrive.com

hotspot_frame=20;
hotspot_hex=255 // Initial color value.

function hotspot_colorfade()
{
    // 20 frames fading process
    if(hotspot_frame>0)
    {
        hotspot_hex-=12; // increase color value
        document.getElementById("hotspot_fscroller").style.color="rgb("+0+","+0+","+0+")"; // Set color value.
        hotspot_frame--;
        setTimeout("hotspot_colorfade()",hotspot_fader_delay);
    }
    else
    {
        document.getElementById("hotspot_fscroller").style.color="rgb(0,0,0)"; // Set End Colour Value
        hotspot_frame=20;
        hotspot_hex=128
    }
}

//if (hotspot_ie4||hotspot_DOM2)
//    document.write('<div id="hotspot_fscroller" style="width:'+hotspot_fwidth+';height:'+hotspot_fheight+';"></div>')

//window.onload=hotspot_changecontent
