$(document).ready(function(){
				
	if (pageID){
		if ($("#nav"+pageID).parent().id()!='addnav2'){ //ACD - updated to reflect addnav2 and not addnav
			if ($("#nav"+pageID+"> a")) $("#nav"+pageID+"> a").css({color:"#673327"});
			if (pageID.length==3){
				if ($("#nav"+pageID)){
					$("#nav"+pageID+"> a").css({color:"#673327"});
				}
				pageID=pageID.slice(0,-1);
			}
			if (pageID.length==2){	
				if ($("#nav"+pageID)){
					$("#nav"+pageID+"> ul").css({position:"relative",left:"0",top:"0"});
					$("#nav"+pageID+"> a").css({backgroundImage:"URL(../images/arrowd_blue.gif)"});
				}
				pageID=pageID.slice(0,-1);
			}
			if ($("#nav"+pageID)){
				$("#nav"+pageID+"> ul").css({position:"relative",left:"0",top:"0"});
				$("#nav"+pageID+"> a").css({backgroundImage:"URL(../images/arrowd_blue.gif)"});
				
			}	
		}else{
			//if ($("#nav"+pageID+"> a")) $("#nav"+pageID+"> a").css({color:"#CAB8B4"}); //ACD - removes funky color on utility nav when you're on that page.
		}
	}
	
	siteArray=new Array(["Albania","/globalcareers/shared/redirect.asp?CC=AL&URL=http://www.kpmg.com.al/index.thtml/en/careers"],["Argentina","/globalcareers/shared/redirect.asp?CC=AR&URL=http://www.kpmg.com.ar/trabajo"],["Armenia","/globalcareers/shared/redirect.asp?CC=AM&URL=http://www.kpmg.am/index.thtml/en/careers"],["Austria","/globalcareers/shared/redirect.asp?CC=AT&URL=http://www.kpmg.at/careers"],["Australia","/globalcareers/shared/redirect.asp?CC=AU&URL=http://www.kpmg.com.au/default.aspx?tabid=44"],["Bahamas","/globalcareers/shared/redirect.asp?CC=BS&URL=http://www.kpmg.com.bs/careers.asp"],["Bahrain","/globalcareers/shared/redirect.asp?CC=BH&URL=http://www.kpmg.com.bh/index.thtml/en/careers"],["Barbados","/globalcareers/shared/redirect.asp?CC=BB&URL=http://www.kpmg.bb/careers.asp"],["Belgium","/globalcareers/shared/redirect.asp?CC=BE&URL=http://www.careers.kpmg.be/kpmg"],["Bermuda","/globalcareers/shared/redirect.asp?CC=BM&URL=http://www.kpmg.bm/careers.asp"],["Brazil","/globalcareers/shared/redirect.asp?CC=BR&URL=http://www.kpmg.com.br/carreiras.asp?dt=visao"],["Bulgaria","/globalcareers/shared/redirect.asp?CC=BG&URL=http://www.kpmg.bg/index.thtml/en/careers"],["Canada","/globalcareers/shared/redirect.asp?CC=CA&URL=http://www.kpmg.ca/en/careers"],["Cayman Islands","/globalcareers/shared/redirect.asp?CC=KY&URL=http://www.kpmg.ky/careers.asp"],["Channel Islands","/globalcareers/shared/redirect.asp?CC=GG&URL=http://www.kpmg.jersey.je/careers.asp"],["Chile","/globalcareers/shared/redirect.asp?CC=CL&URL=http://www.kpmg.cl/career"],["China","/globalcareers/shared/redirect.asp?CC=CN&URL=http://hr.kpmg.com.cn/careers_cn/index.htm"],["Colombia","/globalcareers/shared/redirect.asp?CC=CO&URL=http://www.elempleo.com/Sitios_empresariales/kpmg_2005/index.asp"],["Costa Rica","/globalcareers/shared/redirect.asp?CC=CR&URL=http://www.kpmg.co.cr/Trabajo.html"],["Croatia","/globalcareers/shared/redirect.asp?CC=HR&URL=http://www.kpmg.hr/index.thtml/en/careers"],["Cyprus","/globalcareers/shared/redirect.asp?CC=CY&URL=http://www.kpmg.com.cy/EN/careers/index.html"],["Czech Republic","/globalcareers/shared/redirect.asp?CC=CZ&URL=http://www.kpmg.cz/index.thtml/en/careers"],["Denmark","/globalcareers/shared/redirect.asp?CC=DK&URL=http://www.kpmg.dk/view.asp?ID=7"],["Dutch Caribbean","/globalcareers/shared/redirect.asp?CC=AN&URL=http://www.kpmg.an/careers.asp"],["East Africa","/globalcareers/shared/redirect.asp?CC=EF&URL=http://www.eastafrica.kpmg.com/index.thtml/en/careers"],["Estonia","/globalcareers/shared/redirect.asp?CC=EE&URL=http://www.kpmg.ee/index.thtml/en/careers"],["Finland","/globalcareers/shared/redirect.asp?CC=FI&URL=http://www.kpmg.fi/en"],["France","/globalcareers/shared/redirect.asp?CC=FR&URL=http://www.kpmg.fr/fr/careers"],["Germany","/globalcareers/shared/redirect.asp?CC=DE&URL=http://www.kpmg.de/careers"],["Greece","/globalcareers/shared/redirect.asp?CC=GR&URL=http://www.kpmg.gr/Careers"],["Hong Kong SAR","/globalcareers/shared/redirect.asp?CC=HK&URL=http://hr.kpmg.com.hk/careers_hk/index.htm"],["Hungary","/globalcareers/shared/redirect.asp?CC=HU&URL=http://www.kpmg.hu/index.thtml/en/careers"],["India","/globalcareers/shared/redirect.asp?CC=IN&URL=http://www.in.kpmg.com/careers/overview.asp"],["Ireland","/globalcareers/shared/redirect.asp?CC=IE&URL=http://www.kpmg.ie/other/career.html"],["Isle of Man","/globalcareers/shared/redirect.asp?CC=IM&URL=http://www.kpmg.co.im/careers.asp"],["Israel","/globalcareers/shared/redirect.asp?CC=IL&URL=http://www.kpmg.co.il/Careers/Career%20overview.htm"],["Italy","/globalcareers/shared/redirect.asp?CC=IT&URL=http://www.kpmg.it/ita/careers.aspx?TRS_ID=1644000"],["Jamaica","/globalcareers/shared/redirect.asp?CC=JM&URL=http://www.kpmg.com.jm/careers.asp"],["Japan","/globalcareers/shared/redirect.asp?CC=JP&URL=http://www.kpmg.or.jp/career"],["Korea","/globalcareers/shared/redirect.asp?CC=KR&URL=http://www.kr.kpmg.com/default.asp?lang=en&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;tid=7"],["Kuwait","/globalcareers/shared/redirect.asp?CC=KW&URL=http://www.kpmg.com.kw/index.thtml/en/careers/"],["Latvia","/globalcareers/shared/redirect.asp?CC=LV&URL=http://www.kpmg.lv/index.thtml/en/careers"],["Lithuania","/globalcareers/shared/redirect.asp?CC=LT&URL=http://www.kpmg.lt/index.thtml/en/careers"],["Luxembourg","/globalcareers/shared/redirect.asp?CC=LU&URL=http://www.kpmg.lu/Careers/careers.htm"],["Macedonia","/globalcareers/shared/redirect.asp?CC=MK&URL=http://www.kpmg.com.mk"],["Malaysia","/globalcareers/shared/redirect.asp?CC=MY&URL=http://www.kpmg.com.my/cgi-bin/kpmg.dll/kpmg/scripts/careers/careerslanding.jsp?category=KPMG/Careers/Overview"],["Malta","/globalcareers/shared/redirect.asp?CC=MT&URL=http://www.kpmg.com.mt/careers.asp"],["Mexico","/globalcareers/shared/redirect.asp?CC=MX&URL=http://www.kpmg.com.mx/carrera"],["Moldova","/globalcareers/shared/redirect.asp?CC=MD&URL=http://www.kpmg.md/index.thtml/en/careers"],["Netherlands","/globalcareers/shared/redirect.asp?CC=NL&URL=http://www.kpmg.nl/site.asp?id=39071"],["New Zealand","/globalcareers/shared/redirect.asp?CC=NZ&URL=http://www.kpmg.co.nz/pages/101630.html"],["Nigeria","/globalcareers/shared/redirect.asp?CC=NG&URL=http://www.ng.kpmg.com/index.thtml/en/careers"],["Norway","/globalcareers/shared/redirect.asp?CC=NO&URL=http://www.kpmg.no/?aid=9069558"],["Oman","/globalcareers/shared/redirect.asp?CC=OM&URL=http://www.kpmg.com.om"],["Panama","/globalcareers/shared/redirect.asp?CC=PA&URL=http://www.kpmg.com.pa/Careers/careers.htm"],["Peru","/globalcareers/shared/redirect.asp?CC=PE&URL=http://www.pe.kpmg.com"],["Philippines","/globalcareers/shared/redirect.asp?CC=PH&URL=http://www.kpmg.com.ph/careers.asp"],["Poland","/globalcareers/shared/redirect.asp?CC=PL&URL=http://www.kpmg.pl/index.thtml/en/careers"],["Portugal","/globalcareers/shared/redirect.asp?CC=PT&URL=http://www.kpmg.pt/index.thtml/en/careers"],["Romania","/globalcareers/shared/redirect.asp?CC=RO&URL=http://www.kpmg.ro/index.thtml/en/careers"],["Russia","/globalcareers/shared/redirect.asp?CC=RU&URL=http://www.kpmg.ru/index.thtml/ru/careers"],["Saudi Arabia","/globalcareers/shared/redirect.asp?CC=SA&URL=http://www.kpmg.com.sa/index.thtml/en/career/"],["Serbia &amp; Montenegro","/globalcareers/shared/redirect.asp?CC=YU&URL=http://www.kpmg.co.yu/index.thtml/en/careers"],["Singapore","/globalcareers/shared/redirect.asp?CC=SG&URL=http://www.kpmg.com.sg/careers"],["Slovakia","/globalcareers/shared/redirect.asp?CC=SK&URL=http://www.kpmg.sk/index.thtml/en/careers"],["Slovenia","/globalcareers/shared/redirect.asp?CC=SI&URL=http://www.kpmg.si/index.thtml/en/careers"],["South Africa","/globalcareers/shared/redirect.asp?CC=ZA&URL=http://www.kpmg.co.za/kpmgcareers"],["Spain","/globalcareers/shared/redirect.asp?CC=ES&URL=http://www.kpmg.es/oportunidades_carrera.html"],["Sri Lanka","/globalcareers/shared/redirect.asp?CC=LK&URL=http://www.lk.kpmg.com/html/careers.html"],["Sweden","/globalcareers/shared/redirect.asp?CC=SE&URL=http://www.kpmg.se/pages/100011.html"],["Switzerland","/globalcareers/shared/redirect.asp?CC=CH&URL=http://www.kpmg.ch/careers/en"],["Thailand","/globalcareers/shared/redirect.asp?CC=TH&URL=http://www.kpmg.co.th/careers/index.html"],["Trinidad &amp; Tobago","/globalcareers/shared/redirect.asp?CC=TT&URL=http://www.kpmg.co.tt/careers.asp"],["Turkey","/globalcareers/shared/redirect.asp?CC=TR&URL=http://www.kpmg.com.tr/index.thtml/en/careers"],["Turks &amp; Caicos","/globalcareers/shared/redirect.asp?CC=TC&URL=http://www.kpmg.tc/careers.asp"],["Ukraine","/globalcareers/shared/redirect.asp?CC=UA&URL=http://www.kpmg.com.ua/index.thtml/en/careers"],["United Arab Emirates","/globalcareers/shared/redirect.asp?CC=AE&URL=http://www.ae-kpmg.com/index.thtml/en/careers"],["United Kingdom","/globalcareers/shared/redirect.asp?CC=UK&URL=http://www.kpmg.co.uk/careers"],["United States","/globalcareers/shared/redirect.asp?CC=US&URL=http://www.us.kpmg.com/careers"],["Venezuela","/globalcareers/shared/redirect.asp?CC=VE&URL=http://www.kpmg.com.ve/html/RRHH/RRHH.html"]);
	selectorHTML='<form onsubmit="if (kpmgcareers.options[kpmgcareers.selectedIndex]!=\'\') window.open(kpmgcareers.options[kpmgcareers.selectedIndex].value);return false"><p>To apply for jobs at KPMG, visit our country/<br />region career sites:</p><select name="kpmgcareers" id="kpmgcareers"><option selected="selected" value="">Country/Region...</option>';
	for (i=0; i<siteArray.length; i++){
		selectorHTML=selectorHTML+'<option value="'+siteArray[i][1]+'">'+siteArray[i][0]+'</option>';
	}
	selectorHTML=selectorHTML+'</select><button type="submit" title="Go" class="go">Go</button></form>';
	$("#siteselector").empty();
	$("#siteselector").append(selectorHTML);
	
	// /includes/how.html random content generation
	howArray=new Array(["img_right_mod_Komal.jpg", "Komal","<strong>Komal</strong>, Tax","../ourpeople/journey_komal.shtml","../ourpeople_text/journeytext_komal.shtml"],["img_right_mod_lou.jpg", "Lou", "<strong>Lou</strong>, Audit","../ourpeople/journey_lou.shtml","../ourpeople_text/journeytext_lou.shtml"], ["img_right_mod_mark.jpg", "Mark", "<strong>Mark</strong>, Tax", "../ourpeople/journey_mark.shtml","../ourpeople_text/journeytext_mark.shtml"],["img_right_mod_tim.jpg", "Tim", "<strong>Tim</strong>, Audit", "../ourpeople/journey_tim.shtml","../ourpeople_text/journeytext_tim.shtml"],["img_right_mod_vithya.jpg", "Vithya", "<strong>Vithya</strong>, Audit",  "../ourpeople/journey_vithya.shtml","../ourpeople_text/journeytext_vithya.shtml"]);
	rndNo=Math.floor(Math.random()*(howArray.length));
	howHTML='<a href="'+howArray[rndNo][3]+'"><img src="../images/'+howArray[rndNo][0]+'" alt="Photograph of '+howArray[rndNo][1]+'" width="119" height="80" /></a><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="mouse">Interactive career journey</a></li>';
		}
		if (howArray[rndNo][4]!=''){
			howHTML=howHTML+'<li><a href="'+howArray[rndNo][4]+'" class="text">Text career journey</a></li>';
		}
		howHTML=howHTML+'</ul>';
	}
	$("#how div").empty();
	$("#how div").append(howHTML);
	
	//homepage 'how' module - random from 6 profiles
	hphowArray=new Array(["&quot;KPMG respects my life's priorities. Having a manageable, predictable, and flexible schedule.....&quot; Read more about Komal's career journey.","ourpeople/journey_komal.shtml","ourpeople_text/journeytext_komal.shtml"],["&quot;Living and working in Mexico City opened my eyes to what KPMG is all about...&quot; Read more about Lou's career journey.","ourpeople/journey_lou.shtml","ourpeople_text/journeytext_lou.shtml"], ["&quot;The firm made it happen for me. I am doing the things I wanted to do...&quot; Read more about Mark's career journey.","ourpeople/journey_mark.shtml","ourpeople_text/journeytext_mark.shtml"],["&quot;At KPMG, we're about building leaders....&quot; Read more about Tim's career journey.", "ourpeople/journey_tim.shtml","ourpeople_text/journeytext_tim.shtml"],["&quot;Mentoring is vital. Everyone benefits from good advice...&quot; Read more about Vithya's career journey.", "ourpeople/journey_vithya.shtml","ourpeople_text/journeytext_vithya.shtml"]);
	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);


	//homepage 'why' module
	hpwhyArray=new Array(["","../ourpeople/journey_vithya.shtml","../ourpeople_text/journeytext_vithya.shtml"]);
	rndNo=Math.floor(Math.random()*(hpwhyArray.length));
	hpwhyHTML='<p>'+hpwhyArray[rndNo][0]+'</p>';
	if ((hpwhyArray[rndNo][1]!='') || (hpwhyArray[rndNo][2]!='') || (hpwhyArray[rndNo][3]!='') || (hpwhyArray[rndNo][4]!='') || (hpwhyArray[rndNo][5]!='')){
		hpwhyHTML=hpwhyHTML+'<ul class="linkedlist">';
		if (hpwhyArray[rndNo][1]!=''){
			hpwhyHTML=hpwhyHTML+'<li><a href="whykpmg/careerprogression.shtml">Career progression</a></li>';
		}
		if (hpwhyArray[rndNo][2]!=''){
			hpwhyHTML=hpwhyHTML+'<li><a href="whykpmg/careermobility.shtml">Career mobility</a></li>';
		}
		if (hpwhyArray[rndNo][3]!=''){
			hpwhyHTML=hpwhyHTML+'<li><a href="whykpmg/clients.shtml">Clients &amp; work</a></li>';
		}
		if (hpwhyArray[rndNo][4]!=''){
			hpwhyHTML=hpwhyHTML+'<li><a href="whykpmg/learning.shtml">Learning &amp; development</a></li>';
		}
		if (hpwhyArray[rndNo][5]!=''){
			hpwhyHTML=hpwhyHTML+'<li><a href="whykpmg/lifebalance.shtml">Life balance</a></li>';
		}
		hpwhyHTML=hpwhyHTML+'</ul>';
	}
	$("#hpwhy .bk").empty();
	$("#hpwhy .bk").append(hpwhyHTML);

	



	
	// /includes/Tax.html random content generation
	TaxArray=new Array(["img_right_mod_katy.jpg", "Katy","<strong>Katy</strong><br/>Tax, U.K.","../ourpeople/profile_katy.shtml","../ourpeople_text/profiletext_katy.shtmll"],["img_right_mod_laura.jpg", "Laura", "<strong>Laura</strong><br/>Tax, U.S.","../ourpeople/profile_laura.shtml","../ourpeople_text/profiletext_laura.shtml"],["img_right_mod_li.jpg", "Li","<strong>Li</strong><br/>Tax, Australia", "","../ourpeople_text/profiletext_li.shtml"], ["img_right_mod_marcel.jpg", "Marcel", "<strong>Marcel</strong><br/>Tax, Denmark", "../ourpeople/profile_marcel.shtml","../ourpeople_text/profiletext_marcel.shtml"]);
	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);
	
	// /includes/Audit.html random content generation
	AuditArray=new Array(["img_right_mod_shan.jpg", "Shan","<strong>Shan</strong><br/>Audit, U.K.","","../ourpeople_text/profiletext_shan.shtml"],["img_right_mod_paul.jpg", "Paul", "<strong>Paul</strong><br/>Audit, South Africa","../ourpeople/profile_paul.shtml","../ourpeople_text/profiletext_paul.shtml"],["img_right_mod_kin.jpg", "Kin Shan","<strong>Kin Shan</strong><br/>Audit, Hong Kong", "","../ourpeople_text/profiletext_kin.shtml"], ["img_right_mod_emily.jpg", "Emily", "<strong>Emily</strong><br/>Audit, Australia.", "../ourpeople/journey_emily.shtml","../ourpeople_text/journeytext_emily.shtml"], ["img_right_mod_bobby.jpg", "Bobby", "<strong>Bobby</strong><br/>Audit, U.S.", "../ourpeople/profile_bobby.shtml","../ourpeople_text/profiletext_bobby.shtml"]);
	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_angela.jpg", "Angela","<strong>Angela</strong><br/>Advisory, Canada","","../ourpeople_text/profiletext_angela.shtml"], ["img_right_mod_vikram.jpg", "Vikram", "<strong>Vikram</strong><br/>Advisory, India","../ourpeople/profile_vikram.shtml","../ourpeople_text/profiletext_vikram.shtml"], ["img_right_mod_larissa.jpg", "Larissa","<strong>Larissa</strong><br/>Advisory, Austria", "../ourpeople/profile_larissa.shtml","../ourpeople_text/profiletext_larissa.shtml"], ["img_right_mod_olivier.jpg", "Olivier", "<strong>Olivier</strong><br/>Advisory, France", "../ourpeople/journey_olivier.shtml","../ourpeople_text/journeytext_olivier.shtml"]);
	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]!='') || (AuditArray[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);
	
	ddnavArray=new Array(["profiles.shtml","All services"],["profiles_Audit.shtml","Audit"],["profiles_Tax.shtml","Tax"],["profiles_Advisory.shtml","Advisory"]);
	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="../ourpeople/'+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>';
	$(".dropdownnav").empty();
	$(".dropdownnav").append(ddnavHTML);
	
	// journey banner random content generation
	journeyArray=new Array(["image_banner_komal.jpg","<strong>Komal</strong>, Tax </p><p>See how Komal's career has progressed at KPMG","journey_komal.shtml","journeytext_komal.shtml","Photograph of Komal"], ["image_banner_lou.jpg","<strong>Lou</strong>, Audit </p><p>See how Lou's career has progressed at KPMG","journey_lou.shtml","journeytext_lou.shtml","Photograph of Lou"], ["image_banner_mark.jpg","<strong>Mark</strong>, Tax </p><p>See how Mark's career has progressed at KPMG","journey_mark.shtml","journeytext_mark.shtml","Photograph of Mark"], ["image_banner_tim.jpg","<strong>Tim</strong>, Audit </p><p>See how Tim's career has progressed at KPMG","journey_tim.shtml","journeytext_tim.shtml","Photograph of Tim"], ["image_banner_vithya.jpg","<strong>Vithya</strong>, Audit</p><p>See how Vithya's career has progressed at KPMG","journey_vithya.shtml","journeytext_vithya.shtml","Photograph of Vithya"]);
	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="../ourpeople/'+journeyArray[rndNo][2]+'" class="mouse">Interactive career journey</a></li>';
		}
		if (journeyArray[rndNo][3]!=''){
			journeyHTML=journeyHTML+'<li><a href="../ourpeople_text/'+journeyArray[rndNo][3]+'" class="text">Text career journey</a></li>';
		}
		journeyHTML=journeyHTML+'</ul></div></div>';
	}
	$("#journey").empty();
	$("#journey").append(journeyHTML);
	
	//THIS SHOULD BE RANDOM PEOPLE PROFILES FOR BANNER
	// /includes/Advisory.html random content generation
	profileArray=new Array(["image_banner_coree.jpg","<strong>Coree, </strong>Audit, Manager</p><p>See what attracted Coree to KPMG","profile_coree.shtml","profiletext_coree.shtml","Photograph of Coree"], ["image_banner_bobby.jpg","<strong>Bobby, </strong>Audit, Senior Associate</p><p>See what attracted Bobby to KPMG","profile_bobby.shtml","profiletext_bobby.shtml","Photograph of Bobby"], ["image_banner_laura.jpg","<strong>Laura, </strong>Tax, Senior Associate<p>Learn about Laura's career on the move","","profiletext_laura.shtml","Photograph of Laura"], ["image_banner_christine.jpg","<strong>Christine, </strong>Advisory, Partner<p>Learn about the charitable activities that Christine is involved in","profile_christine.shtml","profiletext_christine.shtml","Photograph of Christine"]);
	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="../ourpeople/'+profileArray[rndNo][2]+'" class="video">Video profile</a></li>';
		}
		if (profileArray[rndNo][3]!=''){
			profileHTML=profileHTML+'<li><a href="../ourpeople_text/'+profileArray[rndNo][3]+'" class="text">Text profile</a></li>';
		}
		profileHTML=profileHTML+'</ul></div></div>';
	}
	$("#profile").empty();
	$("#profile").append(profileHTML);
	
	// /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_hp.jpg", "Hewlett-Packard","Learn more about Tax in our Hewlett-Packard Case Study","../careerops/cs_hp.shtml","../careerops/cstext_hp.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='<a href="'+csArray[rndNo][3]+'"><img src="../images/'+csArray[rndNo][0]+'" alt="'+csArray[rndNo][1]+'" width="119" height="80" /></a><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 case study</a></li>';
		}
		if (csArray[rndNo][4]!=''){
			csHTML=csHTML+'<li><a href="'+csArray[rndNo][4]+'" class="text">Text case study</a></li>';
		}
		csHTML=csHTML+'</ul>';
	}
	$("#casestudies div").empty();
	$("#casestudies div").append(csHTML);
});

function Jobster(myURL) {
	if (confirm('You are leaving a KPMG-operated site and accessing a site operated by a third party on behalf of KPMG. The same KPMG Terms and Conditions of Use and Online Privacy Policy linked on this page apply to your use of the site operated by this third party for KPMG. Please do not use the third party site if you do not accept these terms and conditions of use. KPMG has obligated the third party by contract to provide the same level of privacy protection as the protection set forth in KPMG’s Online Privacy Policy.')){
	window.open(myURL,'Window','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=400');
}
	}	


function toggleShow2(e) 
{
	var content = document.all(e);
	if(content.style.display == 'none') {
		content.style.display = '';
	} else {
		content.style.display = 'none';
	}
}
