function adDisplayManager(a,b,c,d,f,e,h,g){arguments.length>0&&this.init(a,b,c,d,f,e,h,g)}
adDisplayManager.prototype.init=function(a,b,c,d,f,e,h,g){this.id=a;this.adType=b;this.duration=c;this.intDays=d;this.intHours=f;this.intMinutes=e;this.intMStoExpire=d*864E5+f*36E5+e*6E4;this.setCookieIncludeIframe=h;if(g)this.redirectUrl=g;this.maxReruns=1;this.disabled=false;this.intCurrentTime=(new Date).getTime();this.timer=null;this.cookieName="adDisplayManager";this.cookieKey=this.id;this.cookieDelim="&";this.cookieValDelim="=";this.cookieValCountDelim="~";this.cookieExpires=30;this.defaultHandlers=
this.defaultDivIdsToHide=this.defaultAdTypesToSuppress=this.handlers=this.divIdsToHide=this.adTypesToSuppress=null;a=this.readState();this.lastRun=a.lastRun;this.runCount=a.runCount};adDisplayManager.prototype.setItemsToSuppress=function(a,b){if(a!=null&&a.length>0)this.adTypesToSuppress=a;if(b!=null&&b.length>0)this.divIdsToHide=b};
adDisplayManager.prototype.setDefaultItemsToSuppress=function(a,b){if(a!=null&&a.length>0)this.defaultAdTypesToSuppress=a;if(b!=null&&b.length>0)this.defaultDivIdsToHide=b};adDisplayManager.prototype.setHandler=function(a){if(a!=null){if(this.handlers==null)this.handlers=[];this.handlers[this.handlers.length]=a}};adDisplayManager.prototype.setDefaultHandler=function(a){if(a!=null){if(this.defaultHandlers==null)this.defaultHandlers=[];this.defaultHandlers[this.defaultHandlers.length]=a}};
adDisplayManager.prototype.setGlobalAdSrcType=function(a){if(this.isAdNeeded())AD_TRACKER.globalAdSrcType=a};adDisplayManager.prototype.setDefaultGlobalAdSrcType=function(a){if(!this.isAdNeeded())AD_TRACKER.globalAdSrcType=a};adDisplayManager.prototype.run=function(){if(this.isAdNeeded()){var a=this.runCount+1;this.maxReruns>1&&a>this.maxReruns&&(a=0);this.saveState(this.intCurrentTime,a);this.start()}else this.duration!=null&&this.duration!=""&&this.duration!=-1&&this.finish(),this.startDefault()};
adDisplayManager.prototype.isAdNeeded=function(){if(!this.disabled&&(typeof hideAllAds=="undefined"||hideAllAds==false))if(null!=this.lastRun){if(this.intCurrentTime-this.lastRun>this.intMStoExpire)return true;if(this.runCount<this.maxReruns)return true}else return true;return false};
adDisplayManager.prototype.saveState=function(a,b){if(!this.disabled&&(this.setCookieValue(a+this.cookieValCountDelim+b),this.setCookieIncludeIframe&&this.setCookieIncludeIframe.length>0)){var c=document.createElement("iframe");c.src=this.setCookieIncludeIframe;c.style.width="0px";c.style.height="0px";var d=document.getElementById(this.id);d&&d.appendChild(c)}};
adDisplayManager.prototype.readState=function(){var a=null,b=0,c=this.readCookieValue();c!=null&&(c=c.split(this.cookieValCountDelim),c!=null&&c.length>0&&(a=c[0],c.length>1&&(b=parseInt(c[1],10))));return{lastRun:a,runCount:b}};
adDisplayManager.prototype.start=function(){document.getElementById(this.id).style.display="block";if(this.duration!=null&&this.duration!=""&&this.duration!=-1)this.timer=window.setTimeout(this.id+".finish()",this.duration);if(this.adTypesToSuppress!=null)for(var a=this.adTypesToSuppress.split(","),b=0;b<a.length;b++)AD_TRACKER.addToHidden(a[b]);if(this.divIdsToHide!=null){a=this.divIdsToHide.split(",");for(b=0;b<a.length;b++)document.write('<style type="text/css">div#'+a[b]+" { display: none; }</style>")}if(this.handlers!=
null)for(b=0;b<this.handlers.length;b++)this.handlers[b].makeRoom.call(this.handlers[b])||AD_TRACKER.addDeferredHandler(this.handlers[b])};
adDisplayManager.prototype.finish=function(){if(this.redirectUrl)window.location=this.redirectUrl;else{document.getElementById(this.id).style.display="none";this.timer&&window.clearTimeout(this.timer);if(this.divIdsToHide!=null)for(var a=this.divIdsToHide.split(","),b=0;b<a.length;b++)if(document.getElementById(a[b])!=null)document.getElementById(a[b]).style.display="block";if(this.handlers!=null)for(b=0;b<this.handlers.length;b++)this.handlers[b].revert.call(this.handlers[b])}};
adDisplayManager.prototype.startDefault=function(){document.getElementById(this.id).style.display="block";if(this.defaultAdTypesToSuppress!=null)for(var a=this.defaultAdTypesToSuppress.split(","),b=0;b<a.length;b++)AD_TRACKER.addToHidden(a[b]);if(this.defaultDivIdsToHide!=null){a=this.defaultDivIdsToHide.split(",");for(b=0;b<a.length;b++)document.write('<style type="text/css">div#'+a[b]+" { display: none; }</style>")}if(this.defaultHandlers!=null)for(b=0;b<this.defaultHandlers.length;b++)if(!this.defaultHandlers[b].makeRoom.call(this.defaultHandlers[b]))this.defaultHandlers[b].manager=
this,AD_TRACKER.addDeferredHandler(this.defaultHandlers[b])};
adDisplayManager.prototype.setCookieValue=function(a){var b="",c=false,d=getCookie(this.cookieName);if(d!=null)for(var d=d.split(this.cookieDelim),f=0;f<d.length;f++){var e=d[f].split(this.cookieValDelim);b+=f==0?"":this.cookieDelim;e!=null&&e.length>1&&(e[0]==this.cookieKey?(b+=e[0]+this.cookieValDelim+a,c=true):b+=e[0]+this.cookieValDelim+e[1])}c||(b+=b.length==0?"":this.cookieDelim,b+=this.cookieKey+this.cookieValDelim+a);setCookie(this.cookieName,b,this.cookieExpires)};
adDisplayManager.prototype.readCookieValue=function(){var a=getCookie(this.cookieName);if(a!=null)for(var a=a.split(this.cookieDelim),b=0;b<a.length;b++){var c=a[b].split(this.cookieValDelim);if(c!=null&&c.length>1&&c[0]==this.cookieKey)return c[1]}return null};function adDisplayTracker(){this.timer=this.handlers=this.hiddenAds=null;this.interval=is_ie6up&&!is_ie8?1E3:250;this.maxRunCount=is_ie6up&&!is_ie8?15:40;this.globalAdSrcType=null;this.domLoadedForIE=false}
adDisplayTracker.prototype.addToHidden=function(a){if(this.hiddenAds==null)this.hiddenAds=[];this.hiddenAds[this.hiddenAds.length]=a};adDisplayTracker.prototype.isAdHidden=function(a){if(this.hiddenAds!=null)for(var b=0;b<this.hiddenAds.length;b++)if(this.hiddenAds[b]==a)return true;return false};adDisplayTracker.prototype.addDeferredHandler=function(a){this.ensureSetup();this.handlers[this.handlers.length]=a};
adDisplayTracker.prototype.ensureSetup=function(){if(this.timer==null)this.timer=setTimeout("AD_TRACKER.processHandlers()",this.interval);if(this.handlers==null)this.handlers=[]};adDisplayTracker.prototype.setDomLoaded=function(){this.domLoadedForIE=true};
adDisplayTracker.prototype.processHandlers=function(){if(this.handlers==null||this.handlers.length==0)this.timer=null;else{for(var a=[],b=0;b<this.handlers.length;b++)!this.handlers[b].makeRoom.call(this.handlers[b])&&this.handlers[b].handlerRunCount<this.maxRunCount&&(a[a.length]=this.handlers[b]);a.length>0?(this.handlers=a,this.timer=setTimeout("AD_TRACKER.processHandlers()",this.interval)):this.handlers=this.timer=null}};
adDisplayTracker.prototype.changeIframe=function(a,b,c,d){a=document.getElementById(a);if(a!=null)a.style.width=c+"px",a.style.height=b+"px",d!=null&&a.getAttribute("src")!=d&&a.setAttribute("src",d)};var AD_TRACKER=new adDisplayTracker;function adDisplayHandler(){this.handlerRunCount=0}adDisplayHandler.prototype.makeRoom=function(){var a=false;if(is_ie6up&&AD_TRACKER.domLoadedForIE||!is_ie6up)a=this.makeRoomUI();this.handlerRunCount++;return a};adDisplayHandler.prototype.revert=function(){};
adDisplayHandler.prototype.moveElement=function(a,b){var c=document.getElementById(a);if(is_ie6up&&!is_ie8){var d="<"+c.tagName+' class="'+c.className+'" style="'+c.style.cssText+'">';d+=c.innerHTML+"</"+c.tagName+">";document.getElementById(b).innerHTML=d;c.style.display="none"}else c.parentNode.removeChild(c),document.getElementById(b).appendChild(c),c.style.display="block"};function introMessageManager(a,b,c,d,f,e,h,g){arguments.length>0&&this.init(a,b,c,d,f,e,h,g)}
introMessageManager.prototype=new adDisplayManager;introMessageManager.superclass=adDisplayManager.prototype;introMessageManager.prototype.init=function(a,b,c,d,f,e,h,g){introMessageManager.superclass.init.call(this,a,b,c,d,f,e,h,g)};introMessageManager.prototype.start=function(){introMessageManager.superclass.start.call(this);this.adType=="intromessage"?document.write('<style type="text/css">div#maincontent, div#banner, div#Footer1 { display: none; }</style>'):this.adType=="ssintromessage"&&document.write('<style type="text/css">div#thumbFrame, div#multimedia, div#photoFrame, div#photoCaption, div#slideshowToolbar, div#slideshowAd, iframe#ReutersAd1 { display: none; }</style>')};
introMessageManager.prototype.finish=function(){introMessageManager.superclass.finish.call(this);if(this.adType=="intromessage"){if(document.getElementById("maincontent")!=null)document.getElementById("maincontent").style.display="block";if(document.getElementById("banner")!=null)document.getElementById("banner").style.display="block";if(document.getElementById("Footer1")!=null)document.getElementById("Footer1").style.display="block"}else if(this.adType=="ssintromessage"){if(document.getElementById("section1")!=
null)document.getElementById("section1").style.display="block";if(document.getElementById("thumbFrame")!=null)document.getElementById("thumbFrame").style.display="block";if(document.getElementById("photoFrame")!=null)document.getElementById("photoFrame").style.display="block";if(document.getElementById("photoCaption")!=null)document.getElementById("photoCaption").style.display="block";if(document.getElementById("slideshowToolbar")!=null)document.getElementById("slideshowToolbar").style.display="block";
if(document.getElementById("slideshowAd")!=null)document.getElementById("slideshowAd").style.display="block";if(document.getElementById("ReutersAd1")!=null)document.getElementById("ReutersAd1").style.display="block";var a=document.getElementsByTagName("div");if(a)for(i=0;i<a.length;i++)if(a[i].getAttribute("id")&&a[i].getAttribute("id")=="slideshowAd")a[i].style.display="block"}};function poeCrumbinCorrectHandler(){}poeCrumbinCorrectHandler.prototype=new adDisplayHandler;
poeCrumbinCorrectHandler.superclass=adDisplayHandler.prototype;poeCrumbinCorrectHandler.prototype.makeRoomUI=function(){var a=false;document.getElementById("crumbsBand")!=null?(this.moveElement("crumbsBand","prebanner"),a=true):this.handlerRunCount==0&&document.write('<style type="text/css">div#crumbsBand { display: none; }</style>');return a};function poePageTitleHandler(){}poePageTitleHandler.prototype=new adDisplayHandler;poePageTitleHandler.superclass=adDisplayHandler.prototype;
poePageTitleHandler.prototype.makeRoomUI=function(){var a=false;document.getElementById("oldPageTitle")!=null&&document.getElementById("newPageTitle")!=null?(this.moveElement("oldPageTitle","newPageTitle"),a=true):this.handlerRunCount==0&&document.write('<style type="text/css">div#oldPageTitle { display:none; }  </style>');return a};function poe300x250Handler(){}poe300x250Handler.prototype=new adDisplayHandler;poe300x250Handler.superclass=adDisplayHandler.prototype;
poe300x250Handler.prototype.makeRoomUI=function(){var a=false;if(document.getElementById("POE300x250")!=null){var b=document.getElementById("POE300x250"),c=b.parentNode;try{c.removeChild(b),c.insertBefore(b,c.firstChild),a=true}catch(d){}}else this.handlerRunCount==0&&document.write('<style type="text/css">#POE300x250 .ad {background-image:none !important; padding-top:0px !important;}  </style>');return a};function poeOPAFixedPositionHandler(){}poeOPAFixedPositionHandler.prototype=new adDisplayHandler;
poeOPAFixedPositionHandler.superclass=adDisplayHandler.prototype;poeOPAFixedPositionHandler.prototype.makeRoom=function(){document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/yahoo-dom-event/yahoo-dom-event.js"><\/script>');document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/animation/animation-min.js"><\/script>');new adPositioner("theAd",100,"maincontent",true,850,false);return true};
function poeOPAFixedRightRailHandler(){}poeOPAFixedRightRailHandler.prototype=new adDisplayHandler;poeOPAFixedRightRailHandler.superclass=adDisplayHandler.prototype;
poeOPAFixedRightRailHandler.prototype.makeRoom=function(){var a='<style type="text/css">';a+=" .secondaryContent .module, .secondaryContent .tabs, #popularArticles, #rhsPOEtarget {display:none} ";a+=" .leftrail { margin-right:10px; } .secondaryContent .module.promofeature { border:0px; margin:0px;}";a+=" .secondaryContent { width:336px; } .primaryContent, .articleTools { width:454px } ";a+="  #maincontent, #maincontent #theAd { float: left; position: relative; } #theAd {height:775px;} .pointofentryContainer {display:none;} ";
a+="</style>";document.write(a);return true};function poeOPAFixedRightRailHandlerJP(){}poeOPAFixedRightRailHandlerJP.prototype=new adDisplayHandler;poeOPAFixedRightRailHandlerJP.superclass=adDisplayHandler.prototype;
poeOPAFixedRightRailHandlerJP.prototype.makeRoom=function(){var a='<style type="text/css">';a+=" .secondaryContent .module, .secondaryContent .tabs, #popularArticles, #rhsPOEtarget {display:none} ";a+=" .leftrail { margin-right:10px; } .secondaryContent .module.promofeature { border:0px; margin:0px;}";a+=" .secondaryContent { width:336px; } .primaryContent, .articleTools { width:492px; } ";a+="  #maincontent, #maincontent #theAd { float: left; position: relative; } #theAd {height:775px;} .pointofentryContainer {display:none;} ";
a+="</style>";document.write(a);return true};function adPositioner(a,b,c,d,f,e){arguments.length>0&&this.init(a,b,c,d,f,e)}adPositioner.prototype.init=function(a,b,c,d,f,e){this.moving=false;this.id=a;this.container=c;this.useAnimation=d;this.height=f;(e==null||e)&&this.writeStyles();POSITION_TRACKER.registerPositioner(this,b)};
adPositioner.prototype.moveIt=function(){if(!this.moving){this.moving=true;try{var a=this.getScrollPos(),b=this.getHeight(),c=this.getFloor(),d=this.getCeiling();a<d?this.moveTo(0):a>c-b?this.moveTo(c-b-d):a>=d&&a<=c-b&&this.moveTo(a-d)}catch(f){}this.moving=false}};
adPositioner.prototype.moveTo=function(a,b){b==null&&(b=1);if(this.useAnimation){try{this.adScroller.stop()}catch(c){}this.adScroller=new YAHOO.util.Anim(this.id,{top:{to:a}},b,YAHOO.util.Easing.easeOut);this.adScroller.animate()}else document.getElementById(this.id).style.top=a+"px"};adPositioner.prototype.getCeiling=function(){return document.getElementById(this.container).offsetTop};adPositioner.prototype.getFloor=function(){return document.getElementById(this.container).offsetTop+document.getElementById(this.container).offsetHeight};
adPositioner.prototype.getHeight=function(){return parseInt(this.height)?this.height:document.getElementById(this.id).offsetHeight};adPositioner.prototype.getScrollPos=function(){var a=0;if(typeof window.pageYOffset=="number")a=window.pageYOffset;else if(document.body&&(document.body.scrollLeft||document.body.scrollTop))a=document.body.scrollTop;else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop))a=document.documentElement.scrollTop;return a};
adPositioner.prototype.writeStyles=function(){var a='<style type="text/css">';a+="#"+this.container+" { float: left; position: relative; }";var b=parseInt(this.height)?"height: "+this.height+"px; ":"";a+="#"+this.container+" #"+this.id+" { float: left; position: relative; "+b+"}";a+="</style>";document.write(a)};function adPositionTracker(){this.positioners=null;this.sheduled=false}adPositionTracker.prototype.shedule=function(a){this.sheduled=true;window.setInterval("POSITION_TRACKER.moveIt()",a)};
adPositionTracker.prototype.registerPositioner=function(a,b){if(this.positioners==null)this.positioners=[];this.positioners[this.positioners.length]=a;this.sheduled||window.setTimeout("POSITION_TRACKER.shedule("+b+")",b)};adPositionTracker.prototype.moveIt=function(){if(!(this.positioners==null||this.positioners.length==0))for(var a=0;a<this.positioners.length;a++)this.positioners[a].moveIt()};
var POSITION_TRACKER=new adPositionTracker,articleNextPageAdManager={id:"nextPageAdMan",linkId:"articlePaging_next",hideSpeed:100,showSpeed:700,width:250,height:225,flashPath:"http://static.reuters.com/resources/media/global/ads/mercedes/PreviewNextPage.swf",t:"",t2:"",nextPageNum:0,initialized:false,init:function(a,b){articleNextPageAdManager.nextPageNum=a;var c=document.createElement("div"),d=document.getElementById("resizeableText");c.setAttribute("id",articleNextPageAdManager.id);c.setAttribute("class",
b);c.onmouseover=articleNextPageAdManager.mouseOverEvent;c.onmouseout=articleNextPageAdManager.mouseOutEvent;c.style.display="none";var f=document.createElement("div");f.setAttribute("id",articleNextPageAdManager.id+"_loading");f.setAttribute("class","loading");var e=document.createElement("img");e.setAttribute("src","/resources/images/animatedLoader.gif");e.setAttribute("alt","");e.setAttribute("border","0");f.appendChild(e);c.appendChild(f);d.appendChild(c);c=document.getElementById(articleNextPageAdManager.linkId);
if(c!=null)c.onmouseover=articleNextPageAdManager.mouseOverEvent,c.onmouseout=articleNextPageAdManager.mouseOutEvent},killTimers:function(){typeof articleNextPageAdManager.t!="undefined"&&clearTimeout(articleNextPageAdManager.t);typeof articleNextPageAdManager.t2!="undefined"&&clearTimeout(articleNextPageAdManager.t2)},mouseOutEvent:function(){articleNextPageAdManager.killTimers();articleNextPageAdManager.t2=setTimeout("articleNextPageAdManager.hideFlyout();",articleNextPageAdManager.hideSpeed)},
mouseOverEvent:function(){articleNextPageAdManager.killTimers();articleNextPageAdManager.t=setTimeout("articleNextPageAdManager.showFlyout();",articleNextPageAdManager.showSpeed)},showFlyout:function(){document.getElementById(articleNextPageAdManager.linkId);var a=document.getElementById("resizeableText"),b=a.offsetLeft+a.offsetWidth-articleNextPageAdManager.width,c=a.offsetTop+a.offsetHeight-articleNextPageAdManager.height,a=document.getElementById(articleNextPageAdManager.id);a.style.display="";
a.style.top=c+"px";a.style.left=b+"px";if(!articleNextPageAdManager.initialized)b=document.createElement("iframe"),b.setAttribute("id",articleNextPageAdManager.id+"_frame"),b.setAttribute("src",articleNextPageAdManager.getIframeSrc()),b.setAttribute("width",articleNextPageAdManager.width),b.setAttribute("height",articleNextPageAdManager.height),b.setAttribute("frameborder",0),b.setAttribute("scrolling","no"),a.removeChild(document.getElementById(articleNextPageAdManager.id+"_loading")),a.appendChild(b),
articleNextPageAdManager.initialized=true},hideFlyout:function(){document.getElementById(articleNextPageAdManager.id).style.display="none"},getIframeSrc:function(){var a=oPageInfo.article.storyId;FindQueryStringParam(window.location.href,"pageNumber");return"/assets/newsFlash?w="+articleNextPageAdManager.width+"&h="+articleNextPageAdManager.height+"&flashPath="+articleNextPageAdManager.flashPath+"&articleId="+a+"&pageNumber="+articleNextPageAdManager.nextPageNum}};

