$(document).ready(function(){
				
	
	if(BreadCrumbIDs)
	{
		if ($("#nav"+BreadCrumbIDs[0]).parent().id()!='addnav')
		{
			if(BreadCrumbIDs.length > 1)
			{
				for(var i = 0; i < BreadCrumbIDs.length; i++)
				{
					$("#nav"+BreadCrumbIDs[i]+"> a").css({color:"#673327"});
			
					$("#nav"+BreadCrumbIDs[i]+"> ul").css({position:"relative",left:"0",top:"0"});
					$("#nav"+BreadCrumbIDs[i]+"> a").css({backgroundImage:"URL(../images/arrowd_blue.gif)"});
				}
			}
			else
			{
				$("#nav"+BreadCrumbIDs[0]+"> a").css({color:"#673327"});
		
				$("#nav"+BreadCrumbIDs[0]+"> ul").css({position:"relative",left:"0",top:"0"});
				$("#nav"+BreadCrumbIDs[0]+"> a").css({backgroundImage:"URL(../images/arrowd_blue.gif)"});
			}
		}else{
			if ($("#nav"+pageID+"> a")) $("#nav"+pageID+"> a").css({color:"#CAB8B4"});
		}
	}
	
	
	
	
	
	// /includes/how.html random content generation
	howArray=new Array(["img_right_mod_ben.jpg", "Ben","<strong>Ben</strong><br/>Tax","/default.aspx?pg=479","/default.aspx?pg=480"],["img_right_mod_vicky.jpg", "Vicky","<strong>Vicky</strong><br/>Advisory","","/default.aspx?pg=279"],["img_right_mod_teresa.jpg", "Teresa","<strong>Teresa</strong><br/>Audit","","/default.aspx?pg=203"],["img_right_mod_tanya.jpg", "Tanya","<strong>Tanya</strong><br/>Business Services","/default.aspx?pg=749","/default.aspx?pg=206"],["img_right_mod_graeme.jpg", "Graeme","<strong>Graeme</strong><br/>Advisory","/default.aspx?pg=216","/default.aspx?pg=217"],["img_right_mod_mala.jpg", "Mala","<strong>Mala</strong><br/>Tax","/default.aspx?pg=232","/default.aspx?pg=238"],["img_right_mod_rachel.jpg", "Rachel","<strong>Rachel</strong><br/>Tax","/default.aspx?pg=757","/default.aspx?pg=449"],["img_right_mod_jacqui.jpg", "Jacqui","<strong>Jacqui</strong><br/>Advisory","","/default.aspx?pg=820"],["img_right_mod_ricky.jpg", "Ricky","<strong>Ricky</strong><br/>Tax","","/default.aspx?pg=832"],["img_right_mod_bukki.jpg", "Bukki","<strong>Bukki</strong><br/>Advisory","","/default.aspx?pg=835"],["img_right_mod_nazim.jpg", "Nazim","<strong>Nazim</strong><br/>Business Services","","/default.aspx?pg=839"],["img_right_mod_jennifer.jpg", "Jennifer","<strong>Jennifer</strong><br/>Business Services","","/default.aspx?pg=847"],["img_right_mod_kenny.jpg", "Kenny","<strong>Kenny</strong><br/>Audit","","/default.aspx?pg=855"],["img_right_mod_katherine.jpg", "Katherine","<strong>Katherine</strong><br/>Advisory","","/default.aspx?pg=879"],["img_right_mod_neil.jpg", "Neil","<strong>Neil</strong><br/>Advisory","","/default.aspx?pg=889"],["img_right_mod_matt.jpg", "Matt","<strong>Matt</strong><br/>Advisory","","/default.aspx?pg=898"],["img_right_mod_franziska.jpg", "Franziska","<strong>Franziska</strong><br/>Advisory","","/default.aspx?pg=901"],["img_right_mod_carley.jpg", "Carley","<strong>Carley</strong><br/>Advisory","","/default.aspx?pg=915"],["img_right_mod_laura.jpg", "Laura","<strong>Laura</strong><br/>Advisory","","/default.aspx?pg=929"],["img_right_mod_odi.jpg", "Ody","<strong>Ody</strong><br/>Audit","/default.aspx?pg=1113","/default.aspx?pg=762"],["img_right_mod_david.jpg", "David","<strong>David</strong><br/>Audit","","/default.aspx?pg=933"],["img_right_mod_jun.jpg", "Jun","<strong>Jun</strong><br/>Advisory","","/default.aspx?pg=936"],["img_right_mod_gabrielle.jpg", "Gabrielle","<strong>Gabrielle</strong><br/>Business Services","","/default.aspx?pg=940"],["img_right_mod_chris.jpg", "Chris","<strong>Chris</strong><br/>Advisory","","/default.aspx?pg=942"],["img_right_mod_baron.jpg", "Baron","<strong>Baron</strong><br/>Tax","","/default.aspx?pg=945"],["img_right_mod_tom.jpg", "Tom","<strong>Tom</strong><br/>Business Services","","/default.aspx?pg=949"],["img_right_mod_maya.jpg", "Maya","<strong>Maya</strong><br/>Advisory","","/default.aspx?pg=954"],["img_right_mod_christina.jpg","Christina","<strong>Christina </strong><br/>Advisory","","/default.aspx?pg=863"]);
	rndNo=Math.floor(Math.random()*(howArray.length));
	howHTML='<img src="/images/'+howArray[rndNo][0]+'" alt="Photograph of '+howArray[rndNo][1]+'" width="119" height="80" /><p>'+howArray[rndNo][2]+'</p>';
	if ((howArray[rndNo][3]!='') || (howArray[rndNo][4]!='')){
		howHTML=howHTML+'<ul class="iconlist">';
		if (howArray[rndNo][3]!=''){
			howHTML=howHTML+'<li><a href="'+howArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (howArray[rndNo][4]!=''){
			howHTML=howHTML+'<li><a href="'+howArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		howHTML=howHTML+'</ul>';
	}
	$("#how div").empty();
	$("#how div").append(howHTML);
	//$("#how div").append("<h1>HERE IT IS!</h1>");
	//alert(howHTML);
	
	// howEH random content generation for Experienced Hire site  NOT CURRENTLY REPLACING howEH ID FOR SOME REASON
	howEHArray=new Array(["img_right_mod_alex_garnett.jpg", "Alex","<strong>Alex</strong><br/>HR","","/default.aspx?pg=2381"],["img_right_mod_ameeta_chaterjee.jpg", "Ameeta","<strong>Ameeta</strong><br/>Corporate Finance","","/default.aspx?pg=2355"],["img_right_mod_claire_warnes.jpg", "Claire","<strong>Claire</strong><br/>Government Advisory","","/default.aspx?pg=2373"],["img_right_mod_Craig_simpson.jpg", "Craig","<strong>Craig</strong><br/>IT","","/default.aspx?pg=2371"],["img_right_mod_David_Owen_jones.jpg", "David Owen","<strong>David Owen</strong><br/>Audit","","/default.aspx?pg=2356"],["img_right_mod_david_parry.jpg", "David","<strong>David</strong><br/>Advisory Finance","","/default.aspx?pg=2362"],["img_right_mod_elva_geaney.jpg", "Elva","<strong>Elva</strong><br/>Sales and Marketing","","/default.aspx?pg=2358"],["img_right_mod_fiona_mcdermot.jpg", "Fiona","<strong>Fiona</strong><br/>Transaction Services","","/default.aspx?pg=2376"],["img_right_mod_Laura_jones.jpg", "Laura","<strong>Laura</strong><br/>Secretarial and Administration","","/default.aspx?pg=2375"],["img_right_mod_Mandy_shrivers.jpg", "Mandy","<strong>Mandy</strong><br/>Finance","","/default.aspx?pg=2349"],["img_right_mod_mary_ellen_donovan.jpg", "Mary-Ellen","<strong>Mary-Ellen</strong><br/>Restructuring","","/default.aspx?pg=2350"],["img_right_mod_Michelle_pulley.jpg", "Michelle","<strong>Michelle</strong><br/>Business Ops","","/default.aspx?pg=2364"],["img_right_mod_monica_joseph.jpg", "Monica","<strong>Monica</strong><br/>Tax People Services","","/default.aspx?pg=2354"],["img_right_mod_nicola_cobb.jpg", "Nicola","<strong>Nicola</strong><br/>Forensic Manager","","/default.aspx?pg=2372"],["img_right_mod_rachel_woods.jpg", "Rachel","<strong>Rachel</strong><br/>CIM Profile","","/default.aspx?pg=2374"],["img_right_mod_matt.jpg", "Matt","<strong>Matt</strong><br/>Advisory","","/default.aspx?pg=898"],["img_right_mod_simon_perks.jpg", "Simon","<strong>Simon</strong><br/>ICE","","/default.aspx?pg=2361"]);
	rndNo=Math.floor(Math.random()*(howEHArray.length));
	howEHHTML='<img src="/images/'+howEHArray[rndNo][0]+'" alt="Photograph of '+howEHArray[rndNo][1]+'" width="119" height="80" /><p>'+howEHArray[rndNo][2]+'</p>';
	if ((howEHArray[rndNo][3]!='') || (howEHArray[rndNo][4]!='')){
		howEHHTML=howEHHTML+'<ul class="iconlist">';
		if (howEHArray[rndNo][3]!=''){
			howEHHTML=howEHHTML+'<li><a href="'+howEHArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (howEHArray[rndNo][4]!=''){
			howEHHTML=howEHHTML+'<li><a href="'+howEHArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		howEHHTML=howEHHTML+'</ul>';
	}
	$("#howEH div").empty();
	$("#howEH div").append(howEHHTML);
	
	//$("#howEH div").append("<h1>HERE IT IS!</h1>");
	//alert(howEHHTML);


	
	//homepage 'how' module - random from 26 profiles
	hphowArray=new Array(["&quot;Every time I reach a learning plateau, another opportunity arises...&quot; Read more about Aidan&rsquo;s career journey.","/default.aspx?pg=283","/default.aspx?pg=286"],

["&quot;Audit gives you so much understanding of how to run a good business.&quot; Read more about Gillian&rsquo;s career journey.","/default.aspx?pg=312","/default.aspx?pg=314"],

["&quot;After two years in Paris, I had the difficult decision whether or not I&rsquo;d return to the UK.&quot; Read more about Angela&rsquo;s career journey.","/default.aspx?pg=927","/default.aspx?pg=1003"],

["&quot;It&rsquo;s just incredibly satisfying to see that clients value the advice you provide.&quot; Read more about Hitesh&rsquo;s career journey.","/default.aspx?pg=1036","/default.aspx?pg=1038"]);
	rndNo=Math.floor(Math.random()*(hphowArray.length));
	hphowHTML='<p>'+hphowArray[rndNo][0]+'</p>';
	if ((hphowArray[rndNo][1]!='') || (hphowArray[rndNo][2]!='')){
		hphowHTML=hphowHTML+'<ul class="iconlist">';
		if (hphowArray[rndNo][1]!=''){
			hphowHTML=hphowHTML+'<li><a href="'+hphowArray[rndNo][1]+'" class="mouse">Interactive career journey</a></li>';
		}
		if (hphowArray[rndNo][2]!=''){
			hphowHTML=hphowHTML+'<li><a href="'+hphowArray[rndNo][2]+'" class="text">Text career journey</a></li>';
		}
		hphowHTML=hphowHTML+'</ul>';
	}
	$("#hphow .bk").empty();
	$("#hphow .bk").append(hphowHTML);
	
	

	

	// Tax random content generation
	TaxArray=new Array(["img_right_mod_ben.jpg", "Ben","<strong>Ben</strong><br/>Tax","/default.aspx?pg=479","/default.aspx?pg=480"],["img_right_mod_mala.jpg", "Mala","<strong>Mala</strong><br/>Tax","/default.aspx?pg=232","/default.aspx?pg=238"],["img_right_mod_rachel.jpg", "Rachel","<strong>Rachel</strong><br/>Tax","/default.aspx?pg=757","/default.aspx?pg=449"],["img_right_mod_ricky.jpg", "Ricky","<strong>Ricky</strong><br/>Tax","","/default.aspx?pg=832"],["img_right_mod_baron.jpg", "Baron","<strong>Baron</strong><br/>Tax","","/default.aspx?pg=945"]);
	rndNo=Math.floor(Math.random()*(TaxArray.length));
	TaxHTML='<img src="/images/'+TaxArray[rndNo][0]+'" alt="Photograph of '+TaxArray[rndNo][1]+'" width="119" height="80" /><p>'+TaxArray[rndNo][2]+'</p>';
	if ((TaxArray[rndNo][3]!='') || (TaxArray[rndNo][4]!='')){
		TaxHTML=TaxHTML+'<ul class="iconlist">';
		if (TaxArray[rndNo][3]!=''){
			TaxHTML=TaxHTML+'<li><a href="'+TaxArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (TaxArray[rndNo][4]!=''){
			TaxHTML=TaxHTML+'<li><a href="'+TaxArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		TaxHTML=TaxHTML+'</ul>';
	}
	$("#Tax div").empty();
	$("#Tax div").append(TaxHTML);
	
	// Business Services random content generation
	BusinessArray=new Array(["img_right_mod_tanya.jpg", "Tanya","<strong>Tanya</strong><br/>Business Services","/default.aspx?pg=749","/default.aspx?pg=206"],
["img_right_mod_nazim.jpg", "Nazim","<strong>Nazim</strong><br/>Business Services","","/default.aspx?pg=839"],
["img_right_mod_jennifer.jpg", "Jennifer","<strong>Jennifer</strong><br/>Business Services","","/default.aspx?pg=847"],
["img_right_mod_gabrielle.jpg", "Gabrielle","<strong>Gabrielle</strong><br/>Business Services","","/default.aspx?pg=940"],
["img_right_mod_tom.jpg", "Tom","<strong>Tom</strong><br/>Business Services","","/default.aspx?pg=949"]);
	rndNo=Math.floor(Math.random()*(BusinessArray.length));
	BusinessHTML='<img src="/images/'+BusinessArray[rndNo][0]+'" alt="Photograph of '+BusinessArray[rndNo][1]+'" width="119" height="80" /><p>'+BusinessArray[rndNo][2]+'</p>';
	if ((BusinessArray[rndNo][3]!='') || (BusinessArray[rndNo][4]!='')){
		BusinessHTML=BusinessHTML+'<ul class="iconlist">';
		if (BusinessArray[rndNo][3]!=''){
			BusinessHTML=BusinessHTML+'<li><a href="'+BusinessArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (BusinessArray[rndNo][4]!=''){
			BusinessHTML=BusinessHTML+'<li><a href="'+BusinessArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		BusinessHTML=BusinessHTML+'</ul>';
	}
	$("#Business div").empty();
	$("#Business div").append(BusinessHTML);
	
	// Audit random content generation
	AuditArray=new Array(["img_right_mod_teresa.jpg", "Teresa","<strong>Teresa</strong><br/>Audit","","/default.aspx?pg=203"],["img_right_mod_odi.jpg", "Ody","<strong>Ody</strong><br/>Audit","/default.aspx?pg=1113","/default.aspx?pg=762"],["img_right_mod_kenny.jpg", "Kenny","<strong>Kenny</strong><br/>Audit","","/default.aspx?pg=855"],["img_right_mod_david.jpg", "David","<strong>David</strong><br/>Audit","","/default.aspx?pg=933"]);
	rndNo=Math.floor(Math.random()*(AuditArray.length));
	AuditHTML='<img src="/images/'+AuditArray[rndNo][0]+'" alt="Photograph of '+AuditArray[rndNo][1]+'" width="119" height="80" /><p>'+AuditArray[rndNo][2]+'</p>';
	if ((AuditArray[rndNo][3]!='') || (AuditArray[rndNo][4]!='')){
		AuditHTML=AuditHTML+'<ul class="iconlist">';
		if (AuditArray[rndNo][3]!=''){
			AuditHTML=AuditHTML+'<li><a href="'+AuditArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (AuditArray[rndNo][4]!=''){
			AuditHTML=AuditHTML+'<li><a href="'+AuditArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		AuditHTML=AuditHTML+'</ul>';
	}
	$("#Audit div").empty();
	$("#Audit div").append(AuditHTML);
	
	// /includes/Advisory.html random content generation
	AdvisoryArray=new Array(["img_right_mod_vicky.jpg", "Vicky","<strong>Vicky</strong><br/>Advisory","","/default.aspx?pg=279"],["img_right_mod_graeme.jpg", "Graeme","<strong>Graeme</strong><br/>Advisory","/default.aspx?pg=216","/default.aspx?pg=217"],["img_right_mod_jacqui.jpg", "Jacqui","<strong>Jacqui</strong><br/>Advisory","","/default.aspx?pg=820"],["img_right_mod_bukki.jpg", "Bukki","<strong>Bukki</strong><br/>Advisory","","/default.aspx?pg=835"],["img_right_mod_katherine.jpg", "Katherine","<strong>Katherine</strong><br/>Advisory","","/default.aspx?pg=879"],["img_right_mod_neil.jpg", "Neil","<strong>Neil</strong><br/>Advisory","","/default.aspx?pg=889"],["img_right_mod_matt.jpg", "Matt","<strong>Matt</strong><br/>Advisory","","/default.aspx?pg=898"],["img_right_mod_franziska.jpg", "Franziska","<strong>Franziska</strong><br/>Advisory","","/default.aspx?pg=901"],["img_right_mod_carley.jpg", "Carley","<strong>Carley</strong><br/>Advisory","","/default.aspx?pg=915"],["img_right_mod_laura.jpg", "Laura","<strong>Laura</strong><br/>Advisory","","/default.aspx?pg=929"],["img_right_mod_jun.jpg", "Jun","<strong>Jun</strong><br/>Advisory","","/default.aspx?pg=936"],["img_right_mod_chris.jpg", "Chris","<strong>Chris</strong><br/>Advisory","","/default.aspx?pg=942"],["img_right_mod_maya.jpg", "Maya","<strong>Maya</strong><br/>Advisory","","/default.aspx?pg=954"],["img_right_mod_christina.jpg","Christina","<strong>Christina</strong><br/>Advisory","","/default.aspx?pg=863"]);
	rndNo=Math.floor(Math.random()*(AdvisoryArray.length));
	AdvisoryHTML='<img src="/images/'+AdvisoryArray[rndNo][0]+'" alt="Photograph of '+AdvisoryArray[rndNo][1]+'" width="119" height="80" /><p>'+AdvisoryArray[rndNo][2]+'</p>';
	
	if ((AdvisoryArray[rndNo][3]!='') || (AdvisoryArray[rndNo][4]!='')){
		AdvisoryHTML=AdvisoryHTML+'<ul class="iconlist">';
		if (AdvisoryArray[rndNo][3]!=''){
			AdvisoryHTML=AdvisoryHTML+'<li><a href="'+AdvisoryArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (AdvisoryArray[rndNo][4]!=''){
			AdvisoryHTML=AdvisoryHTML+'<li><a href="'+AdvisoryArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		AdvisoryHTML=AdvisoryHTML+'</ul>';
	}
	$("#Advisory div").empty();
	$("#Advisory div").append(AdvisoryHTML);
	
	
	//Placement STUFF
	
	
	// Placement Services random content generation
	PlacementArray=new Array(
["/img_right_mod_chrisbanks.jpg", "Chris","<strong>Chris</strong><br/>Audit","","/default.aspx?pg=2173"],
["/img_right_mod_eleanor.jpg", "Eleanor","<strong>Eleanor</strong><br/>Tax","","/default.aspx?pg=2176"]
);
	rndNo=Math.floor(Math.random()*(PlacementArray.length));
	PlacementHTML='<img src="/images/'+PlacementArray[rndNo][0]+'" alt="Photograph of '+PlacementArray[rndNo][1]+'" width="119" height="80" /><p>'+PlacementArray[rndNo][2]+'</p>';
	if ((PlacementArray[rndNo][3]!='') || (PlacementArray[rndNo][4]!='')){
		PlacementHTML=PlacementHTML+'<ul class="iconlist">';
		if (PlacementArray[rndNo][3]!=''){
			PlacementHTML=PlacementHTML+'<li><a href="'+PlacementArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (PlacementArray[rndNo][4]!=''){
			PlacementHTML=PlacementHTML+'<li><a href="'+PlacementArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		PlacementHTML=PlacementHTML+'</ul>';
	}
	$("#Placement div").empty();
	$("#Placement div").append(PlacementHTML);
	
	
	
	//These are the banners at the top of the People profilePlacements page that link to profilePlacements
	profilePlacementArray=new Array(
["/img_banner_chrisbanks.jpg","<strong>Chris, </strong>Audit</p><p>Find out why Chris chose to build his career with us.</p>","","/default.aspx?pg=2173","Photograph of Chris"],
["/img_banner_eleanor.jpg","<strong>Eleanor, </strong>Tax</p><p>Find out why Eleanor chose to build her career with us.</p>","","/default.aspx?pg=2176","Photograph of Eleanor"]
);
	rndNo=Math.floor(Math.random()*(profilePlacementArray.length));
	profilePlacementHTML='<div class="withimg" style="background-image:URL(/images/'+profilePlacementArray[rndNo][0]+'); height:128px" title="'+profilePlacementArray[rndNo][4]+'"><div class="bk"><p class="subtitle">'+profilePlacementArray[rndNo][1]+'</p>';
	if ((profilePlacementArray[rndNo][2]!='') || (profilePlacementArray[rndNo][3]!='')){
		profilePlacementHTML=profilePlacementHTML+'<ul class="iconlist">';
		if (profilePlacementArray[rndNo][2]!=''){
			profilePlacementHTML=profilePlacementHTML+'<li><a href="'+profilePlacementArray[rndNo][2]+'" class="video">Video profile</a></li>';
		}
		if (profilePlacementArray[rndNo][3]!=''){
			profilePlacementHTML=profilePlacementHTML+'<li><a href="'+profilePlacementArray[rndNo][3]+'" class="text">Text profile</a></li>';
		}
		profilePlacementHTML=profilePlacementHTML+'</ul></div></div>';
	}
	$("#profilePlacements").empty();
	$("#profilePlacements").append(profilePlacementHTML);
	
	
    //people profile dropdowns

    function dropDownHTML(ddnavArray)
    {
    	ddnavHTML='<form onsubmit="if (businessline.options[businessline.selectedIndex]!=\'\') document.location=businessline.options[businessline.selectedIndex].value;return false"><label for="businessline">Show:</label><select name="businessline" id="businessline">';
    	for (i=0; i<ddnavArray.length; i++){
    		pageURL=""+this.location;
    		pageURLArray=pageURL.split("../");
    		ddnavHTML=ddnavHTML+'<option value="'+ddnavArray[i][0]+'"';
    		if (ddnavArray[i][0]==(pageURLArray[(pageURLArray.length)-1])) ddnavHTML=ddnavHTML+' selected="selected"';
    		ddnavHTML=ddnavHTML+'>'+ddnavArray[i][1]+'</option>';
    	}
    	ddnavHTML=ddnavHTML+'</select><button type="submit" title="Go" text="Go" class="go">Go</button></form>';
        return ddnavHTML; 
    }

	ddnavArrayGrads = new Array(["/default.aspx?pg=259","All services"],["/default.aspx?pg=1271","Audit"],["/default.aspx?pg=1272","Tax"],["/default.aspx?pg=1274","Advisory"]);
    ddnavHTMLGrads = dropDownHTML(ddnavArrayGrads);

	ddnavArrayEH = new Array(["/default.aspx?pg=2348","All services"],["/default.aspx?pg=2384","Audit"],["/default.aspx?pg=2385","Tax"],["/default.aspx?pg=2386","Advisory"],["/default.aspx?pg=2387","Central Services"]);
    ddnavHTMLEH = dropDownHTML(ddnavArrayEH);

	$(".dropdownnav").empty();
	$(".dropdownnav").append(ddnavHTMLGrads);

	$(".dropdownnav2").empty();
	$(".dropdownnav2").append(ddnavHTMLEH);

	
	// CAREER JOURNEYS
	journeyArray=new Array(["img_banner_aidan.jpg","<strong>Aidan</strong>, Advisory</p><p>See how Aidan&rsquo;s career has progressed at KPMG","/default.aspx?pg=283","/default.aspx?pg=286","Photograph of Aidan"], ["img_banner_gillian.jpg","<strong>Gillian</strong>, Corporate Tax</p><p>See how Gillian&rsquo;s career has progressed at KPMG","/default.aspx?pg=312","/default.aspx?pg=314","Photograph of Gillian"], ["img_banner_angela.jpg","<strong>Angela</strong>, Transaction Services</p><p>See how Angela&rsquo;s career has progressed at KPMG","/default.aspx?pg=927","/default.aspx?pg=1003","Photograph of Angela"], ["img_banner_hitesh.jpg","<strong>Hitesh</strong>, Forensic</p><p>See how Hitesh&rsquo;s career has progressed at KPMG","/default.aspx?pg=1036","/default.aspx?pg=1038","Photograph of Hitesh"]);
	rndNo=Math.floor(Math.random()*(journeyArray.length));
	journeyHTML='<div class="withimg" style="background-image:URL(/images/'+journeyArray[rndNo][0]+'); height:128px" title="'+journeyArray[rndNo][4]+'"><div class="bk"><p class="subtitle">'+journeyArray[rndNo][1]+'</p>';
	if ((journeyArray[rndNo][2]!='') || (journeyArray[rndNo][3]!='')){
		journeyHTML=journeyHTML+'<ul class="iconlist">';
		if (journeyArray[rndNo][2]!=''){
			journeyHTML=journeyHTML+'<li><a href="'+journeyArray[rndNo][2]+'" class="mouse">Interactive career journey</a></li>';
		}
		if (journeyArray[rndNo][3]!=''){
			journeyHTML=journeyHTML+'<li><a href="'+journeyArray[rndNo][3]+'" class="text">Text career journey</a></li>';
		}
		journeyHTML=journeyHTML+'</ul></div></div>';
	}
	$("#journey").empty();
	$("#journey").append(journeyHTML);
	
	//These are the banners at the top of the People Profiles page that link to profiles
	profileArray=new Array(
						   
						   ["img_banner_ben.jpg","<strong>Ben, </strong>Tax</p><p>Find out why Ben chose to build his career with us.","/default.aspx?pg=479","/default.aspx?pg=480","Photograph of Ben"], 

["img_banner_vicky.jpg","<strong>Vicky, </strong>Advisory</p><p>See why Vicky feels proud to be part of the team.","","/default.aspx?pg=279","Photograph of Vicky"], 

["img_banner_teresa.jpg","<strong>Teresa, </strong>Audit</p><p>Find out about the support Teresa has received throughout her career.","","/default.aspx?pg=203","Photograph of Teresa"], 

["img_banner_tanya.jpg","<strong>Tanya, </strong>Business Services</p><p>Discover how Tanya&rsquo;s achieved a good work-life balance.","/default.aspx?pg=749","/default.aspx?pg=206","Photograph of Tanya"], 

["img_banner_graeme.jpg","<strong>Graeme, </strong>Advisory</p><p>Find out about Graeme&rsquo;s secondment to Australia.","/default.aspx?pg=216","/default.aspx?pg=217","Photograph of Graeme"], 

["img_banner_mala.jpg","<strong>Mala, </strong>Tax</p><p>Read about Mala&rsquo;s experience of professional development at KPMG.","/default.aspx?pg=232","/default.aspx?pg=238","Photograph of Mala"], 

["img_banner_rachel.jpg","<strong>Rachel, </strong>Tax</p><p>Discover how Rachel makes the most of the volunteering opportunities at KPMG.","/default.aspx?pg=757","/default.aspx?pg=449","Photograph of Rachel"], 

["img_banner_jacqui.jpg","<strong>Jacqui, </strong>Advisory</p><p>Discover how Jacqui has achieved a good work-life balance.","","/default.aspx?pg=820","Photograph of Jacqui"], 

["img_banner_ricky.jpg","<strong>Ricky, </strong>Tax</p><p>See what Ricky thinks of KPMG&rsquo;s Tax Business School.","","/default.aspx?pg=832","Photograph of Ricky"], 

["img_banner_bukki.jpg","<strong>Bukki, </strong>Advisory</p><p>Read about Bukki&rsquo;s experiences at the start of her career with us.","","/default.aspx?pg=835","Photograph of Bukki"], 

["img_banner_nazim.jpg","<strong>Nazim, </strong>Business Services</p><p>Read more about Nazim&rsquo;s experiences in IT services.","","/default.aspx?pg=839","Photograph of Nazim"], 

["img_banner_jennifer.jpg","<strong>Jennifer, </strong>Business Services</p><p>See what Jennifer thinks of KPMG&rsquo;s training.","","/default.aspx?pg=847","Photograph of Jennifer"], 

["img_banner_kenny.jpg","<strong>Kenny, </strong>Audit</p><p>Find out why Kenny chose KPMG.","","/default.aspx?pg=855","Photograph of Kenny"], 

["img_banner_katherine.jpg","<strong>Katherine, </strong>Advisory</p><p>Read more about Katherine&rsquo;s experiences in Corporate Finance.","","/default.aspx?pg=879","Photograph of Katherine"], 

["img_banner_neil.jpg","<strong>Neil, </strong>Advisory</p><p>See how Neil is mixing business with pleasure at KPMG.","","/default.aspx?pg=889","Photograph of Neil"], 

["img_banner_matt.jpg","<strong>Matt, </strong>Advisory</p><p>See why Matt appreciated the early responsibility he was given.","","/default.aspx?pg=898","Photograph of Matt"], 

["img_banner_franziska.jpg","<strong>Franziska, </strong>Advisory</p><p>Find out why Franziska chose KPMG.","","/default.aspx?pg=901","Photograph of Franziska"], 

["img_banner_carley.jpg","<strong>Carley, </strong>Advisory</p><p>Read about the different clients Carley is involved with.","","/default.aspx?pg=915","Photograph of Carley"], 

["img_banner_laura.jpg","<strong>Laura, </strong>Advisory</p><p>Find out how a placement with KPMG led to bigger things for Laura.","","/default.aspx?pg=929","Photograph of Laura"], 

["img_banner_david.jpg","<strong>David, </strong>Audit</p><p>Read how David is gaining international experience with KPMG.","","/default.aspx?pg=933","Photograph of David"], 

["img_banner_odi.jpg","<strong>Ody, </strong>Audit</p><p>Find out about Ody&rsquo;s varied role in KPMG&rsquo;s Financial Services Audit practice.","/default.aspx?pg=1113","/default.aspx?pg=762","Photograph of Ody"], 

["img_banner_jun.jpg","<strong>Jun, </strong>Advisory</p><p>Read about Jun&rsquo;s experiences in our Transaction Services team.","","/default.aspx?pg=936","Photograph of Jun"], 

["img_banner_gabrielle.jpg","<strong>Gabrielle, </strong>Business Services</p><p>Read about Gabrielle&rsquo;s experiences in Recruitment.","","/default.aspx?pg=940","Photograph of Gabrielle"], 

["img_banner_chris.jpg","<strong>Chris, </strong>Advisory</p><p>See why Chris chose to develop his career in Restructuring.","","/default.aspx?pg=942","Photograph of Chris"], 

["img_banner_baron.jpg","<strong>Baron, </strong>Tax</p><p>Discover why Baron chose KPMG.","","/default.aspx?pg=945","Photograph of Baron"], 

["img_banner_tom.jpg","<strong>Tom, </strong>Business Services</p><p>Read more about Tom&rsquo;s experiences in our UK Sales team.","","/default.aspx?pg=949","Photograph of Tom"], 

["img_banner_maya.jpg","<strong>Maya, </strong>Advisory</p><p>Read more about Maya&rsquo;s experiences overseas.","","/default.aspx?pg=954","Photograph of Maya"],

["img_banner_christina.jpg","<strong>Christina, </strong>Advisory</p><p>See why Christina values the variety her career offers.","","/default.aspx?pg=863","Photograph of Christina"]

);
	rndNo=Math.floor(Math.random()*(profileArray.length));
	profileHTML='<div class="withimg" style="background-image:URL(/images/'+profileArray[rndNo][0]+'); height:128px" title="'+profileArray[rndNo][4]+'"><div class="bk"><p class="subtitle">'+profileArray[rndNo][1]+'</p>';
	if ((profileArray[rndNo][2]!='') || (profileArray[rndNo][3]!='')){
		profileHTML=profileHTML+'<ul class="iconlist">';
		if (profileArray[rndNo][2]!=''){
			profileHTML=profileHTML+'<li><a href="'+profileArray[rndNo][2]+'" class="video">Video profile</a></li>';
		}
		if (profileArray[rndNo][3]!=''){
			profileHTML=profileHTML+'<li><a href="'+profileArray[rndNo][3]+'" class="text">Text profile</a></li>';
		}
		profileHTML=profileHTML+'</ul></div></div>';
	}
	$("#profile").empty();
	$("#profile").append(profileHTML);
	//alert(profileHTML);



	//These are the banners at the top of the Experienced Hire People Profiles page that link to profiles
	profileEHArray=new Array(
							 
["img_profile_alex_garnett.jpg","<strong>Alex, </strong>HR</p><p>Read how Alex has progressed her skills and career with us.","","/default.aspx?pg=2381", "Photograph of Alex"],
["image_banner_ameeta_chaterjee.jpg","<strong>Ameeta, </strong>Corporate Finance</p><p>Find out how Ameeta makes of use of flexible working opportunities.","","/default.aspx?pg=2355", "Photograph of Ameeta"],
["image_banner_claire_warnes.jpg","<strong>Claire, </strong>Government Advisory</p><p>Read about Claire&rsquo;s impressions of diversity.","","/default.aspx?pg=2373", "Photograph of Claire"],
["image_banner_Craig_simpson.jpg","<strong>Craig, </strong>IT</p><p>Read about KPMG&rsquo;s career development opportunities.","","/default.aspx?pg=2371", "Photograph of Craig"],
["image_banner_David_Owen_jones.jpg","<strong>David Owen, </strong>Audit</p><p>Read how David has progressed his skills and career with us.","","/default.aspx?pg=2356", "Photograph of David Owen"],
["image_banner_elva_geaney.jpg","<strong>Elva, </strong>Sales and Marketing</p><p>Discover more about Elva&rsquo;s charity work.","","/default.aspx?pg=2358", "Photograph of Elva"],
["image_banner_fiona_mcdermot.jpg","<strong>Fiona, </strong>Transaction Services</p><p>Find out about the creation of KPMG Europe.","","/default.aspx?pg=2376", "Photograph of Fiona"],
["image_banner_Laura_jones.jpg","<strong>Laura, </strong>Secretarial and Administration</p><p>Read about opportunities for career progression at KPMG.","","/default.aspx?pg=2375", "Photograph of Laura"],
["image_banner_mandy_shrivers.jpg","<strong>Mandy, </strong>Finance</p><p>Find out about KPMG&rsquo;s career development opportunities.","","/default.aspx?pg=2349", "Photograph of Mandy"],
["image_banner_mary_ellen_donovan.jpg","<strong>Mary-Ellen, </strong>Restructuring</p><p>Discover more about Mary-Ellen's charity work.","","/default.aspx?pg=2350", "Photograph of Mary-Ellen"],
["image_banner_Michelle_pulley.jpg","<strong>Michelle, </strong>Business Ops</p><p>Read about KPMG&rsquo;s flexible working opportunities.","","/default.aspx?pg=2364", "Photograph of Michelle"],
["image_banner_monica_joseph.jpg","<strong>Monica, </strong>Tax People Services</p><p>Find out about Monica&rsquo;s experience as a working parent.","","/default.aspx?pg=2354", "Photograph of Monica"],
["image_banner_nicola_cobb.jpg","<strong>Nicola, </strong>Forensic Manager</p><p>Find out more about Nicola&rsquo;s experience at KPMG.","","/default.aspx?pg=2372", "Photograph of Nicola"],
["image_banner_rachel_woods.jpg","<strong>Rachel, </strong>CIM Profile</p><p>Find out how Rachel has benefitted from the support of colleagues.","","/default.aspx?pg=2374", "Photograph of Rachel"],
["image_banner_simon_perks.jpg","<strong>Simon, </strong>ICE</p><p>Find out about Simon&rsquo;s impressions of work at KPMG.","","/default.aspx?pg=2361", "Photograph of Simon"]						
);
	rndNo=Math.floor(Math.random()*(profileEHArray.length));
	profileEHHTML='<div class="withimg" style="background-image:URL(/images/'+profileEHArray[rndNo][0]+'); height:160px" title="'+profileEHArray[rndNo][4]+'"><div class="bk"><p class="subtitle">'+profileEHArray[rndNo][1]+'</p>';
	if ((profileEHArray[rndNo][2]!='') || (profileEHArray[rndNo][3]!='')){
		profileEHHTML=profileEHHTML+'<ul class="iconlist">';
		if (profileEHArray[rndNo][2]!=''){
			profileEHHTML=profileEHHTML+'<li><a href="'+profileEHArray[rndNo][2]+'" class="video">Video profile</a></li>';
		}
		if (profileEHArray[rndNo][3]!=''){
			profileEHHTML=profileEHHTML+'<li><a href="'+profileEHArray[rndNo][3]+'" class="text">Text profile</a></li>';
		}
		profileEHHTML=profileEHHTML+'</ul></div></div>';
	}
	$("#profileEH").empty();
	$("#profileEH").append(profileEHHTML);



	//A LEVEL STUFF
	
	
	// ALevel Services random content generation
	ALevelArray=new Array(
["/img_right_mod_anthony.jpg", "Anthony","<strong>Anthony</strong><br/>Audit","","/default.aspx?pg=1789"],
["/img_right_mod_caroline_mason.jpg", "Caroline","<strong>Caroline</strong><br/>Tax","","/default.aspx?pg=1790"],
["/img_right_mod_khiloni.jpg", "Khiloni","<strong>Khiloni</strong><br/>Audit","","/default.aspx?pg=1791"],
["/img_right_mod_irena.jpg", "Irena","<strong>Irena</strong><br/>Tax","","/default.aspx?pg=1949"]
);
	rndNo=Math.floor(Math.random()*(ALevelArray.length));
	ALevelHTML='<img src="/images/'+ALevelArray[rndNo][0]+'" alt="Photograph of '+ALevelArray[rndNo][1]+'" width="119" height="80" /><p>'+ALevelArray[rndNo][2]+'</p>';
	if ((ALevelArray[rndNo][3]!='') || (ALevelArray[rndNo][4]!='')){
		ALevelHTML=ALevelHTML+'<ul class="iconlist">';
		if (ALevelArray[rndNo][3]!=''){
			ALevelHTML=ALevelHTML+'<li><a href="'+ALevelArray[rndNo][3]+'" class="video">Video profile</a></li>';
		}
		if (ALevelArray[rndNo][4]!=''){
			ALevelHTML=ALevelHTML+'<li><a href="'+ALevelArray[rndNo][4]+'" class="text">Text profile</a></li>';
		}
		ALevelHTML=ALevelHTML+'</ul>';
	}
	$("#ALevel div").empty();
	$("#ALevel div").append(ALevelHTML);
	
	
	
	//These are the banners at the top of the People profileALevels page that link to profileALevels
	profileALevelArray=new Array(
["/image_banner_anthony.jpg","<strong>Anthony, </strong>Audit</p><p>Find out why Anthony chose to build his career with us.</p>","","/default.aspx?pg=1789","Photograph of Anthony"],
["/image_banner_caroline.jpg","<strong>Caroline, </strong>Tax</p><p>Find out why Caroline chose to build her career with us.</p>","","/default.aspx?pg=1790","Photograph of Caroline"],
["/image_banner_khiloni.jpg","<strong>Khiloni, </strong>Audit</p><p>Find out why Khiloni chose to build her career with us.</p>","","/default.aspx?pg=1791","Photograph of Khiloni"],
["/image_banner_irena.jpg","<strong>Irena, </strong>Tax</p><p>Find out why Irena chose to build her career with us.</p>","","/default.aspx?pg=1949","Photograph of Irena"]
);
	rndNo=Math.floor(Math.random()*(profileALevelArray.length));
	profileALevelHTML='<div class="withimg" style="background-image:URL(/images/'+profileALevelArray[rndNo][0]+'); height:128px" title="'+profileALevelArray[rndNo][4]+'"><div class="bk"><p class="subtitle">'+profileALevelArray[rndNo][1]+'</p>';
	if ((profileALevelArray[rndNo][2]!='') || (profileALevelArray[rndNo][3]!='')){
		profileALevelHTML=profileALevelHTML+'<ul class="iconlist">';
		if (profileALevelArray[rndNo][2]!=''){
			profileALevelHTML=profileALevelHTML+'<li><a href="'+profileALevelArray[rndNo][2]+'" class="video">Video profile</a></li>';
		}
		if (profileALevelArray[rndNo][3]!=''){
			profileALevelHTML=profileALevelHTML+'<li><a href="'+profileALevelArray[rndNo][3]+'" class="text">Text profile</a></li>';
		}
		profileALevelHTML=profileALevelHTML+'</ul></div></div>';
	}
	$("#profileALevel").empty();
	$("#profileALevel").append(profileALevelHTML);
	
	
	
	
	
	
	
	// /includes/casestudies.html random content generation
	/* Case studies with IBM desactivated
	csArray=new Array(["img_right_mod_ibm.jpg", "IBM logo","Learn more about Advisory in our IBM case study","../careerops/cs_ibm.shtml","../careerops/cstext_ibm.shtml"],["img_right_mod_diageo.jpg", "Diageo logo","Learn more about Audit in our Diageo case study","../careerops/cs_diageo.shtml","../careerops/cstext_diageo.shtml"],["img_right_mod_pepsico.jpg", "PepsiCo. logo","Learn more about Audit in our PepsiCo. case study","../careerops/cs_pepsico.shtml","../careerops/cstext_pepsico.shtml"],["img_right_mod_hmrc.jpg", "HMRC logo","Learn more about Tax in our HMRC case study","../careerops/cs_hmrc.shtml","../careerops/cstext_hmrc.shtml"],["img_right_mod_globalres.jpg", "Global restructuring project","Learn more about Tax in our Global restructuring project case study","../careerops/cs_globalres.shtml","../careerops/cstext_globalres.shtml"],["img_right_mod_costcut.jpg", "Global cost-cutting project","Learn more about Advisory in our Global cost-cutting project case study","../careerops/cs_globalcc.shtml","../careerops/cstext_globalcc.shtml"],["img_right_mod_telecoms.jpg", "Telecommunications company","Learn more about Advisory in our Telecommunications company case study","../careerops/cs_telecoms.shtml","../careerops/cstext_telecoms.shtml"]);
	//csArray=new Array(["x.jpg", "Diageo logo","Learn more about Audit in our Diageo case study","../careerops/cs_diageo.shtml","../careerops/cstext_diageo.shtml"],["x.jpg", "PepsiCo. logo","Learn more about Audit in our PepsiCo. case study","../careerops/cs_pepsico.shtml","../careerops/cstext_pepsico.shtml"],["x.jpg", "HMRC logo","Learn more about Tax in our HMRC case study","../careerops/cs_hmrc.shtml","../careerops/cstext_hmrc.shtml"],["x.jpg", "Global restructuring project","Learn more about Tax in our Global restructuring project case study","../careerops/cs_globalres.shtml","../careerops/cstext_globalres.shtml"],["x.jpg", "Global cost-cutting project","Learn more about Advisory in our Global cost-cutting project case study","../careerops/cs_globalcc.shtml","../careerops/cstext_globalcc.shtml"],["x.jpg", "Telecommunications company","Learn more about Advisory in our Telecommunications company case study","../careerops/cs_telecoms.shtml","../careerops/cstext_telecoms.shtml"]);
	rndNo=Math.floor(Math.random()*(csArray.length));
	csHTML='<img src="/images/'+csArray[rndNo][0]+'" alt="'+csArray[rndNo][1]+'" width="119" height="80" /><p>'+csArray[rndNo][2]+'</p>';
	if ((csArray[rndNo][3]!='') || (csArray[rndNo][4]!='')){
		csHTML=csHTML+'<ul class="iconlist">';
		if (csArray[rndNo][3]!=''){
			csHTML=csHTML+'<li><a href="'+csArray[rndNo][3]+'" class="video">Interactive career journey</a></li>';
		}
		if (csArray[rndNo][4]!=''){
			csHTML=csHTML+'<li><a href="'+csArray[rndNo][4]+'" class="text">Text career journey</a></li>';
		}
		csHTML=csHTML+'</ul>';
	}
	$("#casestudies div").empty();
	$("#casestudies div").append(csHTML); */
});


    function chatOnClick(lobby)
    {
        window.open("http://kpmgchat.hodes.co.uk/default.aspx?Place="+lobby,"blank","toolbar=no,location=no,status=no,width=735,height=705");
        return false; 
    }

    function chatOnMouseOver(obj)
    {
        window.status='Launch Recruiter Live';
        obj.style.textDecoration='underline';
        obj.style.cursor='pointer';
    }

    function chatOnMouseOut(obj)
    {
        window.status='';
        obj.style.textDecoration='none';
        obj.style.cursor='';
    }

