(function(e){e.fn.bloomberg_hat=function(t,n){var r=e.extend({active_link:"bloomberg"},t);return this.each(function(){function f(e){var t="";return e=="bb"&&r.active_link=="bloomberg"&&(t="active"),e=="bw"&&r.active_link=="businessweek"&&(t="active"),e=="tv"&&r.active_link=="tv"&&(t="active"),e=="premium"&&r.active_link=="premium"&&(t="active"),t}function h(){e(t).html(c),top!==self&&e(t).find("ul.sub").addClass("iframed"),typeof n=="function"&&n.call()}var t=this,i=e(""),s="production",o="true",u="http://static.btrd.net/assets/hat-d3f0614d4e5c7b3e59990093cddb7357.css",a=document.location.hostname;s=="production"&&a=="investing.businessweek.com"&&(u="http://static.btrd.net/assets/hat-d3f0614d4e5c7b3e59990093cddb7357.css"),i.attr({type:"text/css",rel:"stylesheet",href:u}),document.createStyleSheet&&document.createStyleSheet(u),e("head").append(i);var l='