// misc app enhancements
jQuery(function($){
     if ($.browser.msie && parseInt($.browser.version.substr(0,1)) < 7) { return; }
     $("table.metadata a[href*=/units/]").addClass("unit");
     if (/417579/.test(document.location.href)) {
       	//$("#content a.pdf").removeClass("pdf")
	//we now want the pdf class for ben edelman so the popout will show
	$("#content a.ext").removeClass("ext")
     }
});

document.write('<link rel="stylesheet" href="http://www.hbs.edu/apps/fit/css/popout.css" type="text/css" media="screen" />');
document.write('<script type="text/javascript" src="http://www.hbs.edu/apps/fit/js/popout.js"></script>');


//saving this for testing purposes on stage
/*if (/rhdev/.test(document.location.hostname) || document.location.href.indexOf('alfred') > -1) { 
	document.write('<link rel="stylesheet" href="http://www.hbs.edu/apps/fit/css/popout.css" type="text/css" media="screen" />');
	document.write('<script type="text/javascript" src="http://www.hbs.edu/apps/fit/js/popout.js"></script>');
}*/



