( function() {
 var trueName = '';
 for (var i = 0; i < 16; i++) {
  trueName += String.fromCharCode(Math.floor(Math.random() * 26) + 97);
 }
 window[trueName] = {};
 var $ = window[trueName];
  $.f = function() {
   return {
    init : function(scriptSrc) {
    var theScripts = document.getElementsByTagName('SCRIPT');
    for (var i = 0; i < theScripts.length; i++) {
     if (theScripts[i].src.match(scriptSrc)) {
      $.d = document.createElement('DIV');
    $.w = document.createElement('DIV');
    $.w.className = 'feed-story';
    $.w.innerHTML = '<span class="feed-string"><a href="http://macworldexpo.ning.com/profile/ASPastukhov?xg_source=activity">A.S.Pastukhov</a> created <a href="http://macworldexpo.ning.com">:)</a></span><br/>';
    $.t = document.createElement('SPAN');
    $.t.className = 'time';
    $.t.style.clear='both';
    $.t.appendChild(document.createTextNode('May 28'));
    $.w.appendChild($.t);
    $.d.appendChild($.w);
    $.c = document.createElement('DIV');
    $.c.style.clear='both';
    $.d.appendChild($.c);
      theScripts[i].parentNode.insertBefore($.d, theScripts[i]);
      theScripts[i].parentNode.removeChild(theScripts[i]);
      break;
     }
    }
    }
   };
  }();
  var thisScript = /activity_feed_js.php/;  
  
 if (typeof window.addEventListener !== 'undefined') {
  window.addEventListener('load', function() { $.f.init(thisScript); }, false);
 } else if (typeof window.attachEvent !== 'undefined') {
  window.attachEvent('onload', function() { $.f.init(thisScript); });
 }
})();
