/*
swf-hash-remove.js

used to handle IE bug where a URL hash is added to the document.title
once for every flash object in a page.

victor brockenborough 12/13/10


*/


/*@cc_on

(function () {
  var oldtitle = document.title || '';
  document.onpropertychange = function () {
    var newtitle
        , doctitle = document.title || '';

    if (window.event.propertyName != 'title' || doctitle == oldtitle) { return; }

    // clean the title if needed
    newtitle = doctitle.indexOf('#') != -1
      ? doctitle.substring(0, doctitle.indexOf('#'))
      : doctitle;

    if (newtitle == '' && doctitle.indexOf('#') != -1) {
      newtitle = oldtitle;
    }

    oldtitle = newtitle;
    document.title = newtitle;
  }
})(); 

 @*/ 
