 













$(document).ready(function() {
	vCareerProfiles = Array();

	titlesAndEmployees = [];
	employeeNames = [];
	quotes = [];
	images = [];
	
	
	vCareerProfiles[0] = Object();
	vCareerProfiles[0].json = {
		role: '<p><strong>Environmental Engineer</strong>, &nbsp;Belinda</p>',
		quote: '&quot;It’s rewarding to be part of a company that takes environmental issues seriously and is constantly working towards improvements in sustainable construction.&quot;',
		image: 'background:url(/files/career/4750/Belinda_1_dark.jpg)'		
	};
	
	vCareerProfiles[1] = Object();
	vCareerProfiles[1].json = {
		role: '<p><strong>Design Manager</strong>, &nbsp;Eamonn</p>',
		quote: '&quot;Managing the varied design and construction requirements of multiple projects brings with it interesting challenges every day.&quot;',
		image: 'background:url(/files/career/4751/eamonn_1.jpg)'		
	};
	
	vCareerProfiles[2] = Object();
	vCareerProfiles[2].json = {
		role: '<p><strong>Construction Manager</strong>, &nbsp;Marc</p>',
		quote: '&quot;Managing and coordinating all the different contractors we work with on projects means tackling new challenges every day, sometimes every hour. That’s what makes this job so rewarding.&quot;',
		image: 'background:url(/files/career/2434/CM_Marc2.jpg)'		
	};
	
	vCareerProfiles[3] = Object();
	vCareerProfiles[3].json = {
		role: '<p><strong>Engineer</strong>, &nbsp;Freddie</p>',
		quote: '&quot;I’ve been much more involved than I thought I would. I’ve really been made to feel part of the team.&quot;',
		image: 'background:url(/files/career/2430/SE_Freddie.jpg)'		
	};
	
	vCareerProfiles[4] = Object();
	vCareerProfiles[4].json = {
		role: '<p><strong>Trainee Quantity Surveyor</strong>, &nbsp;Catherine</p>',
		quote: '&quot;I’m enjoying taking on more responsibility as my career progresses and with the help of the company’s Professional Development Programme I aim to be chartered a year after completing my part-time course.&quot;',
		image: 'background:url(/files/career/2412/TQS_Catherine.jpg)'		
	};
	
	vCareerProfiles[5] = Object();
	vCareerProfiles[5].json = {
		role: '<p><strong>Section Manager</strong>, &nbsp;Gerald</p>',
		quote: '&quot;When you’re working on projects that are as complex as the ones we sometimes tackle, it’s great to be part of a team all pulling in the same direction.&quot;',
		image: 'background:url(/files/career/2442/SM_Gerald.jpg)'		
	};
	
	
	
	$("#careers-module a").each( function(index) {
		$(this).click(function() {
			//Update on state
			$("#careers-module li.on").removeClass("on");
			$(this).parent().addClass("on");

			//replace career profile background image
			$("#content-wrapper-careers").attr("style", vCareerProfiles[index].json.image);
			
			//replace quote
			$("#strapline blockquote p").removeClass().html(vCareerProfiles[index].json.quote);
			
			//replace job role
			$("#job-role").removeClass().html(vCareerProfiles[index].json.role);
			
			careersSifrStyles();
			
		    return false;
		});
	});
	
	
});