
		//Homepage items

		var items = [{content:'We are an experienced, commercially focused firm<br />of chartered accountants based in London EC1 and working in the City and nationwide.'},{content:'We offer a range of services from day-to-day bookkeeping and accounts to audits, business valuations and corporate finance.'},{content:'We have a range of services for which we don\'t charge prospective clients. This includes initial meetings, income references and basic HMRC enquiries.'}];
		var current = 0;

		var t_items = [{quote:'They have always provided their service on a fixed fee basis and we have never had any nasty surprises. They are happy to provide advice outside the scope of preparing accounts within their annual fee.',testimonials_name:'Nick Fox, CEO',title:'Renaissance Pubs Limited'},{quote:'I would have no hesitation in recommending them as accountants to any company or professional individual. ',testimonials_name:'David Hudson, Solicitor',title:'Hudson & Co'}];
		var t_current = 0;

		$().ready(function(){

			replaceJovers();

			if($('.box_solid p').length) setTimeout("swap(); setInterval(\"swap()\",7000); ",5000); 
			if($('.testimonial_box p em').length) setInterval("t_swap()",10000);
			
/*			$('.news_index, .news_single').find("a img").click(function(e){
				e.preventDefault();
				document.location.href = "/news_image/?img=&ref=";
			});*/

		});


		function swap(){
			current = (current + 1) % (items.length);
			$('.box_solid p').slideUp(500,function(){$(this).html(items[current].content).slideDown(500);});
		}

		function t_swap(){
			t_current = (t_current + 1) % (t_items.length);
			$('.testimonial_box p em').fadeOut(500,function(){$(this).html(t_items[t_current].quote).fadeIn(500);});
		}
		
		function replaceJovers(){
			var jovers = $('.jover');
			jovers.each(function(index){
				var jover = $(this);		
				var over = jover.attr("data-jover");
				var out = jover.attr("data-joff");
				var href = jover.find("a").attr("href");
				jover.hover(function(){
					if(over) jover.css('backgroundImage',"url('"+over+"')");
					jover.css('cursor',"pointer");
					jover.addClass('over');			
				},function(){
					if(out) jover.css('backgroundImage',"url('"+out+"')");
					jover.css('cursor',"auto");
					jover.removeClass('over');						
				});
				jover.click(function(){
					window.location.href = href;
				})
				//Preload
				var img = new Image();
				img.src = over;
			});
		}
