// JavaScript Document

var Quotes = new Array();
var Pick;

function randQuote()
{
	Quotes[0] = '<em>"You\'ve become more than just a supplier to my business. Your input & ideas are highly valued and have made a real difference to our business. Our branding, literature and website now convey the quality image that we strive to deliver to our clients."</em><p><strong>Asolo</strong></p>';
	Quotes[1] = '<em>"The response we\'ve had to our website has been tremendous and has undoubtedly helped build our profile and generate new enquiries."</em><p><strong>Hill Cannon</strong></p>';
	Quotes[2] = '<em>"I am delighted with the final product and would like to thank you (all) for your input. I feel we have a brochure and website which really captures the spirit of Tooti Boo - well done everyone!"</em><p><strong>Tooti Boo</strong></p>';
	Quotes[3] = '<em>"Fantastic job on the logo and website. You guys really have put into reality what was in my head and my dreams! I am SO delighted. Thankyou."</em><p><strong>Northern Environmental Services</strong></p>';
	Quotes[4] = '<em>"Since the redesign of our website by loyaltyMATTERS we have seen a 600% increase in site traffic and resultant enquiries."</em><p><strong>Keybury</strong></p>';
	Quotes[5] = '<em>"After successfully completing several jobs for us I\'m pleased to say a big thank you to you and your team. Your design has been nothing short of excellent with very impressive turn around times. I look forward to using LoyaltyMatters for all of my business print and design needs and not having to constantly shop around for more competitive rates."</em><p><strong>Stone-Residential</strong></p>';
	Quotes[6] = '<em>"loyaltyMATTERS has made every effort to understand me and my business in order to provide a service that is \'hassle free\' and highly professional. Everything they have done for us has been of the highest quality and I can recommend them to anyone with confidence."</em><p><strong>Jooli Atkins, Matrix42</strong></p>';
	Quotes[7] = '<em>"The IAMTN has enormously valued the high degree of professionalism demonstrated by loyaltyMATTERS. They put together a series of newsletters which exactly met our needs. We have no hesitation in recommending them to others."</em><p><strong>Lady Olga Maitland, CEO, IAMTN</strong></p>';
	Quotes[8] = '<em>"We would not hesitate to recommend loyaltyMATTERS who have given us  first class service and an innovative, fresh yet traditional website - a  seemingly impossible task!"</em><p><strong>The Mike Heelan Practice</strong></p>';
	Quotes[9] = '<em>"Your team are more like colleagues than suppliers in that you work with  us, instantly interpret our requirements and develop e-newsletters and online  surveys that promote our expertise and image in a timely and cost effective  manner - and long may it continue."</em><p><strong>David Bacon, 2Europe</strong></p>';
	Quotes[10] = '<em>"A  couple of our team attended a Denplan lecture last Thursday evening on  recruiting &amp; retaining patients. They covered marketing &amp; advertising  &amp; showed us a well set out website &amp; why. I just wanted to let you know  that our website that you\'ve created ticked all the positive boxes! So well  done &amp; thank you from Jane &amp; I to you &amp; all your team."</em><p><strong>Liz Baraclough, JEM Dental Care</strong></p>';
	Quotes[11] = '<em>"I have just seen the test for my new website and I have to tell you I am absolutely delighted.  I cannot tell you how thrilled I am to see the vision I have had become a reality. You have not only the most talented team but also the friendliest I am so proud to see all our hard work come together, please pass my thanks to all your team for their stunning contribution to this project."</em><p><strong>Jayne Heselton, Real Makeup Schools</strong></p>';
	Quotes[12] = '<em>"We have tried and tested 3 \'marketing/printing/design\' companies. Each time we were in some way disappointed be it on quality, cost, or general customer service. We struck gold 4th time lucky when we commissioned Loyalty Matters to do a whole rebranding exercise for us. We now use Loyalty Matters for all our design, marketing and printing work... We would never be tempted to take our business elsewhere!"</em><p><strong>Sarah S, Data Assurance Services</strong></p>';

	Pick = parseInt(Math.random()*(Quotes.length));
	document.write('<div id="tquote">' + Quotes[Pick] + '</div>');
	setInterval(changeQuote, 8000);
}

function changeQuote()
{
	if(Pick == (Quotes.length-1))
		Pick = 0;
	else
		Pick = Pick+1;
	
	$("#tquote").fadeOut("fast", function() {
		$("#tquote").html(Quotes[Pick]);								  
				$("#tquote").fadeIn("slow"); });
}