initTextSize();

swfobject.embedSWF("swf/animation.swf", "animation", "700", "150", "8.0.0", "js/swfobject/expressInstall.swf");
swfobject.embedSWF("swf/home_anim.swf", "home_animation", "275", "250", "8.0.0", "js/swfobject/expressInstall.swf");

if(typeof sIFR == "function"){
	sIFR.replaceElement(named({sSelector:"#content h1", sFlashSrc:"js/sifr/mcp_text.swf", sColor:"#013877", sLinkColor:"#013877", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:""}));
	sIFR.replaceElement(named({sSelector:"#content h2", sFlashSrc:"js/sifr/mcp_text.swf", sColor:"#013877", sLinkColor:"#013877", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:""}));
	sIFR.replaceElement(named({sSelector:"#content h3", sFlashSrc:"js/sifr/mcp_text.swf", sColor:"#6690d3", sLinkColor:"#6690d3", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:""}));
};

var quoteIndex = 0;
var quotes = [
	["Extremely friendly and welcoming while being treated in a professional manner throughout.", "Business Support Group client, Thetford", 0.9],
	["Friendly caring staff which at times is needed.", "Family client, King's Lynn", 1],
	["Perfect approach and attitude.", "Business Support Group client, Wisbech", 1],
	["Support and understanding at a very difficult time in my life.", "Criminal Law client, Thetford", 1],
	["The friendly atmosphere.", "Wills & Probate client, Peterborough", 1],
	["Helpful understanding manner at a difficult time.", "Wills & Probate client, King's Lynn", 1],
	["All inclusive set fee - no hidden extras.", "Property client, Wisbech", 1],
	["Professional but relaxed style, always able to explain conveyancing maze!.", "Property client, King's Lynn", 1],
	["Friendly, polite and efficient.", "Family client, Wisbech", 1],
	["Empathy, personal individual attention;  house visit and at no extra cost - amazing!", "Wills & Probate client, Peterborough", 0.9],
	["Got straight to the point and told in clear and easy layman's terms", "Criminal Law client, King's Lynn", 1],
	["Efficient Service, conducted in professsional manner.", "Wills & Probate client, Thetford", 1],
	["Promptness and courtesy.", "Family client, Peterborough", 1],
	["Time spent explaining and providing advice.", "Business Support Group client, Peterborough", 1],
	["Speed - we have already recommended your services to our friends.", "Property client, Peterborough", 1],
	["The clear, open and friendly manner.", "Criminal Law client, Thetford", 1],
	["The professional manner and unlimited advice and courtesy shown by the solicitor regarding my will.", "Wills & Probate client, Wisbech", 1],
	["Efficient and kept informed at all times.", "Property client, Thetford", 1],
];

function nextQuote() {
	$('quoteSpace').style.fontSize = quotes[quoteIndex][2]+'em';
	$('quoteSpace').innerHTML = '<span style="font-size: 14px !important;"><b>Our Client Testimonials</b></span><br /><i>'+quotes[quoteIndex][0]+'<br /><br /><b>'+quotes[quoteIndex][1]+'</b></i>';
	++quoteIndex;
	if (quoteIndex >= quotes.length) {
		quoteIndex = 0;
	}
}

nextQuote();
new PeriodicalExecuter(nextQuote, 5);
