Drupal.behaviors.performanceDashboard = function (context) {
  if ($.browser.msie && $.browser.version.substr(0,1)<7) {
    replaceFlashWithLink();
  }
}; 

function replaceFlashWithLink(){
  $( '#main embed' ).each( function(){
    if( this.src.indexOf( 'performance-dashboard' ) ){
      $( this ).before('Some older browser fail to load the latest Flex content needed to view these graphs, consider upgrading or <a href="' + this.src + '">try running the file from your desktop by right clicking on this link and selecting save</a>.');
    }
  });
}