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 = [
	["All staff are extremely professional, helpful and courteous at all times. There is nothing you can do to improve your service. Carry on with this excellent service.", "Criminal Law Client, King's Lynn", 0.9],
	["We would highly recommend to friends and colleagues", "Property Client, Thetford", 1],
	["Efficient and quick service - able to fit me in with an appointment at short notice.", "Dispute Resolution client, Peterborough", 1],
	["Service is as good as it gets I think. The two Solicitors that dealt with me were so nice and helpful and treated me with respect.", "Criminal Law Client, King's Lynn", 1],
	["There was support the whole way through. If there was anything we didn't understand it was explained to us by phone, email and visit. We felt comfortable and at ease.", "Property client, King's Lynn", 1],
	["Very good, extremely helpful and professional.", "Employment client, Wisbech", 1],
	["Everything was satisfactorily carried out efficiently, courteously and to our complete satisfaction.", "Business Support Group client, Thetford", 1],
	["Legal jargon explained in plain English.", "Wills & Probate client, Thetford", 1],
	["Very helpful, good communications and good advice.", "Property client, Peterborough", 1],
	["You were brilliant and worked so hard and wouldn't let them beat you. You are lovely people and make such a difference to people's lives - you can be proud of yourselves.", "Business Support Group client, Wisbech", 0.9],
	["May I thank you for the professional manner you have dealt with my affairs.", "Family client, Thetford", 1],
	["Advice offered was clear and easy to understand. Happy to answer any questions no matter how small or trivial.", "Wills & Probate client, King's Lynn", 1],
	["Straight talk with key information, but a caring approach alongside that.", "Family client, Peterborough", 1],
	["I trust the company to do the best for me every time. I have referred my family to the company on that basis.", "Business Support Group client, Thetford", 1],
	["Very good all round service and personal treatment. Very professional.", "Wills & Probate client, Peterborough", 1],
	["Felt very personal - Solicitors listened well. Impartial advice. Did the best for me.", "Family client, Wisbech", 1],
	["I, for one, would have no hesitation in recommending you and your firm for similar and/or other matters.", "Business Support Group client, Thetford", 1],
	["Good advice and friendly efficiency.", "Business Support Group client, Wisbech", 1],
	["Many thanks for excellent service. It was greatly appreciated at a very difficult time.", "Dispute Resolution client, Thetford", 1],
	["Professional and helpful response to all our questions.", "Wills & Probate client, Thetford", 1],
	["Ease of conversations. Things explained in normal day to day language.", "Property client, Wisbech", 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);