var fadespeed = 2000;
var delaytime = 6000;
var howmany = 33;

var thetext = new Array();
thetext[0] = "The Carley Partnership, Chartered Accountants";
thetext[1] = "RGL Forensics";
thetext[2] = "Cassons, Chartered Accountants and Business Advisers";
thetext[3] = "MDJordan Chartered Accountants";
thetext[4] = "Pace Chartered Accountants";
thetext[5] = "Morris Owen, Chartered Accountants";
thetext[6] = "JS Williamson & Co, Accountants";
thetext[7] = "Willis Cooper, Financial Services";
thetext[8] = "Alexander Ash, Accountants and Business Advisers";
thetext[9] = "Kelsall Steele, Chartered Accountants";
thetext[10] = "Ledger Limited";
thetext[11] = "GPB Associates";
thetext[12] = "Hardcastle Burton, Chartered Accountants";
thetext[13] = "Banks & Co, Chartered Certified Accountants";
thetext[14] = "Ramon Lee & Partners, Chartered Accountants";
thetext[15] = "TWP Chartered Accountants and Tax Advisors";
thetext[16] = "GBAC Accountancy & Business Advice";
thetext[17] = "Neil Beaton & Co, Accountants and Tax Advisors";
thetext[18] = "Bresnan Walsh Chartered Accountants";
thetext[19] = "Alliotts Chartered Accountants and Business Advisors";
thetext[20] = "Duncan & Toplis Chartered Accountants";
thetext[21] = "Cunningtons Chartered Certified Accountants";
thetext[22] = "Myers Clark, Chartered Accountants";
thetext[23] = "Carter Backer Winter, London Accountants";
thetext[24] = "Snowden & Co, Chartered Accountants";
thetext[25] = "Landau Morley, Chartered Accountants & Business Advisers";
thetext[26] = "RMT Accountants and Business Advisors";
thetext[27] = "M+A Partners, Chartered Accountants";
thetext[28] = "Wright Vigar, Chartered Accountants";
thetext[29] = "Ellis & Co, Chartered Accountants";
thetext[30] = "Moulds & Co Accountants";
thetext[31] = "Earthport Plc";
thetext[32] = "MCR Accountants and Administrators";


function randum(){
	return Math.floor(howmany*Math.random());
}

function initfader(){
	var num1 = randum();
	var num2 = randum();
	while (num2 == num1)
		{
		num2 = randum();
		}
	var num3 = randum();
	while (num3 == num1 || num3 == num2)
		{
		num3 = randum();
		}
	var num4 = randum();
	while (num4 == num1 || num4 == num2 || num4 == num3)
		{
		num4 = randum();
		}

	$("#info1").text(thetext[num1]);
	$("#info2").text(thetext[num2]);
	$("#info3").text(thetext[num3]);
	$("#info4").text(thetext[num4]);
}
	
$(document).ready(function () {
	initfader();
});


