var wrap=null;var leaderserved=null;var layerRef=(document.layers)?"document":"document.all";var styleRef=(document.layers)?"":".style";var isSub=typeof isSub=='undefined'?0:isSub;function pageOffset() {}
function checkVisible() {}
function init() {}
function initPage(Site,Section,Page) {}
var flashPop=null;function winpop(url,width,height) {outerWidth=width+12;outerHeight=height+24;if(flashPop){ _proxy_jslib_handle(flashPop, 'close', '', 1, 0)();flashPop=null;}
if(!flashPop){flashPop= _proxy_jslib_handle(window, 'open', '', 1, 0)(url,"FLASH_GALLERY","height="+outerHeight+", width="+outerWidth+", toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");}else{ _proxy_jslib_assign('', flashPop, 'location', '=', (url));}
flashPop.focus();return false;}
function PageAttributes(FTSite,FTSection,FTPage,FTFund) {this.defsite='ftcom';this.wrap='';this.ftsec="&sec="+FTSection;this.ftpage="&artid="+FTPage;this.ftindcs="&sei="+FTIndices;this.ftsectr="&sectr="+FTSectors;this.ftsbjcts="&subj="+FTSubjects;this.ftfnd="&ftfund="+FTFund;this.ind="&ind="+FTIndustry;this.asset=typeof AssetType!='undefined'?AssetType.toLowerCase():'';this.getTransId=function() {var cDate=new (Date)();var uSec=cDate.getTime();return(uSec);}
this.getRealLoc=function() {var realLoc='';if(self== _proxy_jslib_handle(null, 'top', top, 0, 0)){realLoc= _proxy_jslib_handle( _proxy_jslib_handle(window, 'location', '', 0, 0), 'toString', '', 1, 0)();}
else if(window.ourLoc){realLoc=window.ourLoc;}
else if( _proxy_jslib_handle(document, 'referrer', '', 0, 0)){realLoc= _proxy_jslib_handle(document, 'referrer', '', 0, 0);}
else{realLoc= _proxy_jslib_handle( _proxy_jslib_handle(window, 'location', '', 0, 0), 'toString', '', 1, 0)();}
if(realLoc.match(/location=([^&]*)/)){realLoc=unescape(RegExp.$1);}
return realLoc;}
this.isSecure=function(loc) {var secure=0;if(loc.indexOf('https')>-1){secure=1;}
return secure;}
this.getFTSite=function() {var code=this.defsite;var ck=getCookieValue('FTAdSiteCode','');var client=getValueFromStr('ft_ref','',this.thisLoc,'&');var page=typeof FTSite!='undefined'?FTSite.toLowerCase():'';if(client){code=client;}
else if(ck){code=ck;}
else if(page){code=page;}
return code;}
this.getAdParams=function() {var sAYSC=getCookieValue('AYSC','');var params='';params+="&13="+getValueFromStr('_13','',sAYSC,'_','');params+="&14="+getValueFromStr('_14','',sAYSC,'_','');params+="&17="+getValueFromStr('_17','',sAYSC,'_','');params+="&18="+getValueFromStr('_18','',sAYSC,'_','');params+="&24="+getValueFromStr('_24','',sAYSC,'_','');params+="&25="+getValueFromStr('_25','',sAYSC,'_','');params+="&26="+getValueFromStr('_26','',sAYSC,'_','');params+="&tile="+this.getTransId();return params;}
this.getKeyword=function(loc) {var keyword='';if((loc.indexOf("search.ft.com")!=-1)&&(loc.indexOf("queryText=")!=-1)){keyword=getValueFromStr('queryText','',loc,'&');}else if((loc.indexOf("mwprices.ft.com")!=-1)&&(loc.indexOf("symb=")!=-1)){keyword=getValueFromStr('symb','',loc,'&');}else if((loc.indexOf("markets.ft.com")!=-1)&&(loc.indexOf("?s=")!=-1)){keyword=getValueFromStr('?s','',loc,'&');}else if((loc.indexOf("recruitment.ft.com")!=-1)&&(loc.indexOf("q=")!=-1)){keyword=getValueFromStr('q','',loc,'&');}else if(getCookieValue('keywordValue','').length>0){keyword=getCookieValue('keywordValue','');}
var whtSpc=new (RegExp)("\\+","g");var ampSym=new (RegExp)("%26","g");var apoSym=new (RegExp)("%27","g");var perSym=new (RegExp)("\\.","g");keyword= _proxy_jslib_handle(keyword, 'replace', '', 1, 0)(whtSpc,"_");keyword= _proxy_jslib_handle(keyword, 'replace', '', 1, 0)(ampSym,"and");keyword= _proxy_jslib_handle(keyword, 'replace', '', 1, 0)(apoSym,"");keyword= _proxy_jslib_handle(keyword, 'replace', '', 1, 0)(perSym,"");var keyStr=(keyword.length>0)?"&keyword="+keyword.toLowerCase():'';return keyStr;}
this.revScienceSegExtraction=function() {var cookieName="DMSEG";if((getCookieValue(cookieName,''))!=''){deleteCookie(cookieName,'.ft.com');}
var segCookie_new,ampTokens_new,segs_new;var cookieName_new="rsi_segs";var clsid="J07717";if((segCookie_new=getCookieValue(cookieName_new,''))!=''){segCookie_new=unescape(segCookie_new);segCookie_new="|"+segCookie_new;ampTokens_new=segCookie_new.split("|"+clsid+"_");segs_new=ampTokens_new+',';}
var revSciParams='&rsi=';revSciParams+=segs_new;return revSciParams;}
this.thisLoc=this.getRealLoc();this.ftsite=this.getFTSite();this.adparams=this.getAdParams();this.keyword=this.getKeyword(this.thisLoc);this.issec=this.isSecure(this.thisLoc);this.alladparams=this.ftsec+this.ftpage+this.ind+this.ftindcs+this.ftsectr+this.ftsbjcts+this.ftfnd+this.adparams+this.keyword+this.ind;this.revScience=this.revScienceSegExtraction();}
var extLoc=[['FTYM-21ymy-21cacrcl','credit.ftyourmoney.com'],['FTYM-21ymy-21perloa','loans.ftyourmoney.com'],['FTYM-21ymy-21motori','www.aaaffinities.co.uk/Insurance/FT/Carquote'],['FTYM-21ymy-21travel','products.xelector.com'],['FTYM-21ymy-21mortga','mortgages.charcolonline.co.uk'],['FTYM-21ymy-21gaselec','www.uswitch.com/energy'],['FTYM-21ymy-21lifein','193.130.154.202'],['FTYM-21ymy-21homins','www.aaaffinities.co.uk/Insurance/FT/Homequote'],['FTYM-21ymy-21medins','212.212.140.140'],['FTYM-21ymy-21telsup','www.uswitch.com/ht'],['FTYM-21ymy-21annfin','www.hargreaveslansdown.co.uk'],['FTYM-21ymy-21uncass','www.uar.co.uk'],['FTCOM-12cul-12trasea','www.ft.otc-uk.com'],['FTCOM-24spt-12spgolf','www.sportinglife.com/clients/ft/golf'],['FTCOM-24spt-12spform','www.sportinglife.com/clients/ft/formula1'],['FTCOM-24spt-12sprugu','www.sportinglife.com/clients/ft/rugbyunion'],['FTCOM-24spt-12spfoot','www.sportinglife.com/clients/ft/football'],['FTCOM-24spt-12spboxi','www.sportinglife.com/clients/ft/boxing'],['FTCOM-24spt-12spracg','www.sportinglife.com/clients/ft/racing'],['FTCOM-24spt-12spsnok','www.sportinglife.com/clients/ft/snooker'],['FTCOM-24spt-12spcric','www.sportinglife.com/clients/ft/cricket'],['FTCOM-24spt-12spgrey','www.sportinglife.com/clients/ft/greyhounds'],['FTCOM-24spt-12sprugb','www.sportinglife.com/clients/ft/rugbyleague'],['FTCOM-24spt-12sporar','www.sportinglife.com/clients/ft/story_get'],['FTCOM-24spt-12sptenn','www.sportinglife.com/clients/ft/tennis'],['FTCOM-24spt-12spothr','www.sportinglife.com/clients/ft/others'],['FTCOM-24spt-12spnfls','www.sportinglife.com/clients/ft/nfl'],['FTCOM-24spt-12sports','www.sportinglife.com/clients/ft/home'],['FTCOM-24spt-12spbett','www.sportinglife.com/clients/ft/betting'],['FTCOM-24bfs-24burest','www.businessesforsale.com/ft/aspx/public/quicksearch.aspx'],['FTCOM-24bfs-24burest','www.businessesforsale.com/ft/advancedSearch.aspx'],['FTCOM-24bfs-24busale','www.businessesforsale.com/ft/servicesDirectory/'],['FTCOM-24bfs-24burest','www.businessesforsale.com/ft/quickSearch.aspx'],['FTCOM-24bfs-24burest','www.businessesforsale.com/ft/advert'],['FTCOM-24bfs-24burest','www.businessesforsale.com/ft/1'],['FTCOM-20job-20notice','www.businessesforsale.com/ft/notices'],['FTCOM-24bfs-24busale','www.businessesforsale.com/ft'],['FTCOM-3won-3ukespc','www.clic2mail.com/FT']];function getSiteNav() {var realDomain;var realLoc='';if(self== _proxy_jslib_handle(null, 'top', top, 0, 0)){realLoc= _proxy_jslib_handle( _proxy_jslib_handle(window, 'location', '', 0, 0), 'toString', '', 1, 0)();}
else if(window.ourLoc){realLoc=window.ourLoc;}
else if( _proxy_jslib_handle(document, 'referrer', '', 0, 0)){realLoc= _proxy_jslib_handle(document, 'referrer', '', 0, 0);}
else{realLoc= _proxy_jslib_handle( _proxy_jslib_handle(window, 'location', '', 0, 0), 'toString', '', 1, 0)();}
var navStr='';for(var i=0;i<extLoc.length;i++){if(realLoc.indexOf( _proxy_jslib_handle(extLoc, (i), 0, 0)[1])!=-1){return(navStr+ _proxy_jslib_handle(extLoc, (i), 0, 0)[0]);}}
return(navStr);}
if(!FTSite&&!FTSection&&!FTPage&&!FTIndices&&!FTSectors&&!FTSubjects&&!FTFund){var FTSection='undef';var FTPage='undef';var FTIndustry='XXXX';var FTIndices='';var FTSectors='';var FTSubjects='';var FTFund='undef';var FTAdValues=getSiteNav();if(FTAdValues!=''){FTAdValues=FTAdValues.split('-');FTSite=FTAdValues[0];FTSection=FTAdValues[1];FTPage=FTAdValues[2];}else{var FTSite=getCookieValue('FTSite','');var FTAdValues=getCookieValue('FTAdValues','').split(':');FTSection=FTAdValues[0];FTPage=FTAdValues[1];FTIndices=FTAdValues[2];FTSectors=FTAdValues[3];FTSubjects=FTAdValues[4];FTFund=FTAdValues[5];}}
var thisPage=new (PageAttributes)(FTSite,FTSection,FTPage,FTFund);function getValueFromStr(key,defaultVal,inStr,sep,keySep) {var value=defaultVal;var begin;var str;if(key&&key.length>0){key+=arguments.length>=5?keySep:'=';begin=inStr.indexOf(key)>-1?inStr.indexOf(key)+key.length:-1;if(begin>-1){str=inStr.substr(begin,inStr.length); value= _proxy_jslib_assign_rval('', 'value', '=', (str.substr(0,str.indexOf(sep)>=0?str.indexOf(sep):str.length)), value);}}
return  _proxy_jslib_handle(null, 'value', value, 0, 0);}
function getCookieValue(key,defaultVal) {return(getValueFromStr(key,defaultVal, _proxy_jslib_handle(document, 'cookie', '', 0, 0),';'));}
function setCookieValue(key,value,domain,expireInMinutes) {var expDate=new (Date)();expDate.setTime(expDate.getTime()+(expireInMinutes*60000)); _proxy_jslib_handle(document, 'cookie', '', 0, 0)
var cookie=key+'='+ _proxy_jslib_handle(null, 'value', value, 0, 0)+';domain='+ _proxy_jslib_handle(null, 'domain', domain, 0, 0)+';path=/;';if(expireInMinutes>-1){ cookie= _proxy_jslib_assign_rval('', 'cookie', '+=', ('expires='+expDate.toGMTString()), cookie);}
 _proxy_jslib_assign('', document, 'cookie', '=', ( _proxy_jslib_handle(null, 'cookie', cookie, 0, 0)));return true;}
function deleteCookie(key,domain) { _proxy_jslib_assign('', document, 'cookie', '=', (key+'='+(( _proxy_jslib_handle(null, 'domain', domain, 0, 0))?';domain='+ _proxy_jslib_handle(null, 'domain', domain, 0, 0):'')+';path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT'));return true;}
function openPopUp(location,name,width,height,relativeTo,top,left) {var tly;var tlx;var winProps;switch(relativeTo){case'screenTR':tlx=screen.width-width-left;tly= _proxy_jslib_handle(null, 'top', top, 0, 0);break;case'windowTL':tlx=window.dialogLeft?window.dialogLeft+left:0;tly=window.dialogTop?window.dialogTop+ _proxy_jslib_handle(null, 'top', top, 0, 0):0;break;case'screenTL':default:tlx=left;tly= _proxy_jslib_handle(null, 'top', top, 0, 0);break;}
winProps='scrollbars=no,toolbar=no,location=no,nonresizable,width='+width+',height='+height+',left='+tlx+',top='+tly;var objWin= _proxy_jslib_handle(window, 'open', '', 1, 0)( _proxy_jslib_handle(null, 'location', location, 0, 0),name,winProps);objWin.focus();return objWin;}
function FTCheckGo(obj) {var winRef='top.';if(is.nav4){winRef='';}
var sValue= _proxy_jslib_handle( _proxy_jslib_handle(obj.options, (obj.options.selectedIndex), 0, 0), 'value', '', 0, 0);if(sValue!=''){eval(_proxy_jslib_proxify_js((winRef+'location.href="'+sValue+'"'), 0, 0) );}
obj.selectedIndex=0;return true;}
function getDate(inDate) {if(inDate==null){var now=new (Date)();}else{var now=new (Date)(inDate);}
var day=now.getDay();var dday=now.getDate();var mon=now.getMonth();var year=now.getFullYear();var gbDays=new (Array)('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');var gbMons=new (Array)('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');var outStr;outStr= _proxy_jslib_handle(gbDays, (day), 0, 0)+' '+ _proxy_jslib_handle(gbMons, (mon), 0, 0)+' '+dday+' '+year;return outStr;}
function commonOnLoad() {if(!is.nav4){}
if(!is.nav4){init();}}
function finishPage() {var pop=new (Advert)("pop",thisPage.ftsite,thisPage.alladparams,thisPage.issec,thisPage.wrap); _proxy_jslib_handle(document, 'write', '', 1, 0)(pop.adHTML);}
function setHomepage(obj,url) {if(is.ie&& _proxy_jslib_handle(document, 'getElementById', '', 0, 0)){obj.style.behavior='url(#default#homepage)';obj.setHomePage(url);}else if(is.nav4){var msg='- Go to Preferences in the Edit Menu.\n'+'- Choose Navigator from the list on the left.\n'+'- Click on the "Use Current Page" button.';alert(msg);}else if(is.gecko){var msg='Drag the link onto your Home button to make this your Home Page.';alert(msg);}else if(is.opera5||is.opera6){var msg='- Go to Set Home Page in the Navigation Menu.\n'+'- Click on the "Use active" button.';alert(msg);}else if(is.opera7){var msg='- Go to Set Home Page in the Navigation Menu.\n'+'- Click on the "Use current" radio button.';alert(msg);}}
function writeheader(siteVal,FTSite,FTSection,FTPage,FTFund) {var html='';var headerLoc='http://media.ft.com/FTCOM/Wrapper/';var secHeaderLoc='https://www.ft.com/FTCOM/Wrapper/';if(siteVal=='noLoginHead'){header=headerLoc+'noLoginHeader.html';secureHeader=secHeaderLoc+'secure_noLoginHeader.html';}else if(isSub!=0){header='http://www.ft.com/global/subpageheader';secureHeader=secHeaderLoc+'secure_header.html?isSub=Y';}else{header='http://www.ft.com/global/header';secureHeader=secHeaderLoc+'secure_header.html';}
var srcFile=isSecure(document)?secureHeader:header;var protocol=isSecure(document)?'https://www.ft.com/c.gif"':'http://media.ft.com/c.gif"';if(is.nav4){html+='<layer name="header" width="772" height="108" top="0" left="0" src="'+srcFile+'"></layer>';html+='<img src="'+ _proxy_jslib_handle(null, 'protocol', protocol, 0, 0)+' width="1" height="118" alt="" /><br />';}else{html+='<iframe src="'+srcFile+'" name="header" width="772" height="108" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe><br />';html+='<img src="'+ _proxy_jslib_handle(null, 'protocol', protocol, 0, 0)+' width="1" height="10" alt="" /><br />';}
 _proxy_jslib_handle(document, 'write', '', 1, 0)(html);}
function writefooter(siteVal,FTSite,FTSection,FTPage,FTFund) {var html='';var footer='http://media.ft.com/global/footer';var secureFooter='https://www.ft.com/FTCOM/Wrapper/secure_footer.html';var srcFile=isSecure(document)?secureFooter:footer;if(is.nav4){html+='<layer name="footer" width="778" height="60" src="'+srcFile+'"></layer>';}
else{html+='<iframe src="'+srcFile+'" name="footer" width="778" height="60" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe>';}
 _proxy_jslib_handle(document, 'write', '', 1, 0)(html);}
function netscapeCssFix() {if(document.FT.netscapeCssFix.initWindowWidth!=window.innerWidth||document.FT.netscapeCssFix.initWindowHeight!=window.innerHeight){ _proxy_jslib_assign('', document, 'location', '=', ( _proxy_jslib_handle(document, 'location', '', 0, 0)));}}
function netscapeCssFixCheckIn() {if(is.nav4==true){if(typeof document.FT=='undefined'){document.FT=new (Object);}
if(typeof document.FT.FT_scaleFont=='undefined'){document.FT.netscapeCssFix=new (Object);document.FT.netscapeCssFix.initWindowWidth=window.innerWidth;document.FT.netscapeCssFix.initWindowHeight=window.innerHeight;}
window.onresize=netscapeCssFix;}}
netscapeCssFixCheckIn();function ready() {if(window.loading||(is.ie&&(document.readyState!='complete'))){return(false);}
else{return(true);}}
function getAdHTML(pos,width,height,ftsite,ftsection,ftpage,ftindustry) {eval(_proxy_jslib_proxify_js(("var "+pos+" = new Advert(\""+pos+"\",thisPage.ftsite,thisPage.alladparams,thisPage.issec,thisPage.wrap);"), 0, 0) );return eval(_proxy_jslib_proxify_js((pos+".adHTML"), 0, 0) );}
var call='<scr'+'ipt type="text/javascript" src="';var securePage= _proxy_jslib_handle( _proxy_jslib_handle(window, 'location', '', 0, 0), 'toString', '', 1, 0)().indexOf('https');call+=securePage>-1?'https:':'http:';call+='//track.ft.com/track/';call+=securePage>-1?'strack.js':'track.js';call+='">\n/* Do not remove comment */\n</sc'+'ript>'; _proxy_jslib_handle(document, 'write', '', 1, 0)(call);function isSecure(doc) {return( _proxy_jslib_handle( _proxy_jslib_handle(doc, 'location', '', 0, 0), 'protocol', '', 0, 0)=='https:');}
var rsi_call="<scr"+"ipt src=\"";rsi_call+=isSecure(document)?'https:':'http:';rsi_call+="//js.revsci.net/gateway/gw.js?csid=J07717\">// Do not remove comment</scr"+"ipt>"; _proxy_jslib_handle(document, 'write', '', 1, 0)(rsi_call);function getParam(name) {name= _proxy_jslib_handle( _proxy_jslib_handle(name, 'replace', '', 1, 0)(/[\[]/,"\\\["), 'replace', '', 1, 0)(/[\]]/,"\\\]");var regexS="[\\?&]"+name+"=([^&#]*)";var regex=new (RegExp)(regexS);var results=regex.exec( _proxy_jslib_handle( _proxy_jslib_handle(window, 'location', '', 0, 0), 'href', '', 0, 0));if(!results){return"";}
else{return results[1];}}
function addYahooFinanceLink() {var yahoo_referrerid=getParam('referrer_id');if(yahoo_referrerid=='yahoofinance'){ _proxy_jslib_handle(document, 'write', '', 1, 0)('<p><a title="Go to Yahoo! Finance" href="http://biz.yahoo.com/ft/"><img src="http://media.ft.com/cms/206924ac-b0c5-11dd-8915-0000779fd18c.gif" alt="Yahoo Finance"></a></p>');}} ;
_proxy_jslib_flush_write_buffers() ;