// JavaScript Document
$(document).ready(function() {
	
	// This is a bit of hardcoding to get around the bug in the Breadcrumb plugin, which should fix this 
	if ($('.single-case-study').length) {
			counter = 1;
			$('.breadcrumb a').each(function() {			
				$(this).addClass( 'link-' + counter++ );
			}); 
			$('.link-4').remove();
			counter = 1;
			$('.breadcrumb span').each(function() {			
				$(this).addClass( 'span-' + counter++ );
			});
			$('.span-4').remove(); 
	}
	
});			


