	var A_TPL={'steps':15,'transtime':.05,'slidetime':5,'width':536,'height':200}

function DefaultSlideshow(){
	var A_ITEMS=[
		'/includesSlideshow/default-hatfield.jpg',
		'/includesSlideshow/default-london.jpg',
		'/includesSlideshow/default-usa.jpg',
		'/includesSlideshow/default-china.jpg',
		'/includesSlideshow/default-germany.jpg',
		'/includesSlideshow/default-singapore.jpg',
		'/includesSlideshow/default-switzerland.jpg'
	];
	var mySlideShow=new tFader(A_ITEMS,A_TPL);
}

function InterimsSlideshow(){
	var A_ITEMS=[
		'/includesSlideshow/default-hatfield.jpg',
		'/includesSlideshow/default-germany.jpg',
		'/includesSlideshow/default-singapore.jpg',
		'/includesSlideshow/default-switzerland.jpg'
	];
	var mySlideShow=new tFader(A_ITEMS,A_TPL);
}

//----------------------------------------------------------------------------------------------------

//#######################################
// Rotate the quotation banner sequence #
//#######################################
	var curmsg=-1;
	var Quote=new Array();
	Quote[0]="<A HREF=/executive-search>Executive Search</A>";
	Quote[1]="<A HREF=/interim-management>Interim Management</A>";
	Quote[2]="<A HREF=/talent>Talent Lifecycle Services&nbsp;<SPAN STYLE=FONT-SIZE:12PX;><B>&#169;</B></A>";
	Quote[3]="<A HREF=/escalator-management/>Escalator Management</A>&nbsp;<SPAN STYLE=FONT-SIZE:12PX;><B>&#169;</B></SPAN>";
	Quote[4]="<A HREF=/ned>Non-Executive Directors</A>";
	Quote[5]="Great companies have<BR>one thing in common,<BR><SPAN CLASS=BOLD>great people</SPAN>";
	Quote[6]="Great companies need<BR><SPAN CLASS=BOLD>great people</SPAN>";
	Quote[7]="Our job is to<BR><SPAN CLASS=BOLD>bring them together</SPAN>";
	Quote[8]="<B>Integrity<BR>Expertise<BR>Performance<BR>Value</B>";
	Quote[9]="How do we know<BR><SPAN CLASS=BOLD>we're the best</SPAN>?";
	Quote[10]="<SPAN CLASS=BOLD>Because you told us!</SPAN>";
	Quote[11]="Next year's search?";
	Quote[12]="We're working on it<BR><SPAN CLASS=BOLD>already!</SPAN>";
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// If there is only one image to display rotate the quote as an independent function +
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function PushQuote(){
	if(curmsg<Quote.length-1)curmsg++;
	else curmsg=0;
	document.getElementById('BANNERQUOTE').innerHTML=Quote[curmsg];
	setTimeout('PushQuote()',3500);
}
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// If there are multiple images to display rotate the quote via the slideshow +
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
function PullQuote(){
	if(curmsg<Quote.length-1)curmsg++;
	else curmsg=0;
	document.getElementById('BANNERQUOTE').innerHTML=Quote[curmsg];
}

//----------------------------------------------------------------------------------------------------

//###################################
// Rotate the image banner sequence #
//###################################
function tFader(a_items,a_tpl){
	for(var i=0;i<A_TSLIDEDEFS.length;i+=2)if(a_tpl[A_TSLIDEDEFS[i]]==null)a_tpl[A_TSLIDEDEFS[i]]=A_TSLIDEDEFS[i+1];
	this.a_tpl=a_tpl;
	this.a_items=a_items;
	this.n_currentSlide=0;
	this.f_goto=tslide_goto;
	this.f_run=function(){this.b_running=1;this.f_goto();}
	this.f_stop=function(){this.b_running=0;clearTimeout(this.o_timerS);}
	this.f_fadeIn= tslide_fadeIn;
	this.f_fadeOut=tslide_fadeOut;
	this.f_slideOp=tslide_slideOp;
	if(!window.A_SLIDES)window.A_SLIDES=[];
	this.n_id=window.A_SLIDES.length;
	window.A_SLIDES[this.n_id]=this;
	var s_attributes=''+(a_tpl['width']?'width="'+a_tpl['width']+'"':'')+(a_tpl['height']?'height="'+a_tpl['height']+'"':'');
	this.a_imgRefs=[];
	document.write('<img src="',this.a_items[0],'"',s_attributes,'name="tslide',this.n_id,'_0">');
	this.a_imgRefs[0]=document.images['tslide'+this.n_id+'_0'];
	this.n_currentSlide=0;
	if(!this.a_imgRefs[0]||!this.a_imgRefs[0].style||this.a_imgRefs[0].style.marginLeft==null)return;
	for(var i=1;i<this.a_items.length;i++){document.write('<img src="',this.a_items[i],'"',s_attributes,' name="tslide',this.n_id,'_',i,'" style="position:relative;z-index:-1;filter:alpha(opacity=100);">');this.a_imgRefs[i]=document.images['tslide'+this.n_id+'_'+i];this.a_imgRefs[i].style.marginLeft='-'+this.a_tpl.width+'px';this.f_slideOp(i,0);this.a_imgRefs[i].style.zIndex=0;}
	this.n_timeDec=Math.round(this.a_tpl['transtime']*1e3/this.a_tpl['steps']);
	this.n_opacDec=Math.round(100/this.a_tpl['steps']);
	this.f_run();
}
function tslide_goto(n_slide,b_now){
	if(this.o_timerS){clearTimeout(this.o_timerS);this.o_timerS=null;if(this.n_nextSlide){this.f_slideOp(this.n_nextSlide,0);this.n_nextSlide=null;}}
	this.n_nextSlide=(n_slide==null?this.n_currentSlide+1:n_slide)%this.a_items.length;
	if(this.n_nextSlide==this.n_currentSlide)return;
	this.o_timerS=setTimeout('A_SLIDES['+this.n_id+'].f_fade'+(this.n_nextSlide>this.n_currentSlide?'In':'Out')+'()',(b_now?0:this.a_tpl['slidetime']*1e3));
	PullQuote();
}
function tslide_fadeIn(n_opacity){
	if(n_opacity==null){n_opacity=0;}
	n_opacity+=this.n_opacDec;
	if(n_opacity>99){this.f_slideOp(this.n_nextSlide,99);this.f_slideOp(this.n_currentSlide,0);this.n_currentSlide=this.n_nextSlide;this.n_nextSlide=null;return this.f_run();}
	this.f_slideOp(this.n_nextSlide, n_opacity);
	this.o_timerT=setTimeout('A_SLIDES['+this.n_id+'].f_fadeIn('+n_opacity+')',this.n_timeDec);
}
function tslide_fadeOut(n_opacity){
	if(n_opacity==null){n_opacity=99;this.f_slideOp(this.n_nextSlide,99);}
	n_opacity-=this.n_opacDec;
	if(n_opacity<0){this.f_slideOp(this.n_currentSlide,0);this.n_currentSlide=this.n_nextSlide;this.n_nextSlide=null;return this.f_run();}
	this.f_slideOp(this.n_currentSlide,n_opacity);
	this.o_timerT=setTimeout('A_SLIDES['+this.n_id+'].f_fadeOut('+n_opacity+')',this.n_timeDec);
}
function tslide_slideOp(n_slide,n_opacity){
	if(!n_slide)return;
	var e_slide=this.a_imgRefs[n_slide];
	tslide_setOpacity(e_slide, n_opacity);
}
	var s_uaApp=navigator.userAgent.toLowerCase();
	if(s_uaApp.indexOf('opera')!=-1||s_uaApp.indexOf('safari')!= -1)window.tslide_setOpacity=function(e_element,n_opacity){e_element.style.opacity=n_opacity/100;}
	else if(s_uaApp.indexOf('gecko')!=-1)window.tslide_setOpacity=function(e_element,n_opacity){e_element.style.MozOpacity=n_opacity/100;}
	else if(s_uaApp.indexOf('msie')!=-1)
	window.tslide_setOpacity=function(e_element,n_opacity){try{e_element.filters.alpha.opacity=n_opacity}catch(e){};}
	else window.tslide_setOpacity=null;
	var A_TSLIDEDEFS=['steps',15,'transtime',0.10,'slidetime',5];

