	(function () {
		var addEventListener = window.addEventListener;
		window.addEventListener = function (evType, fn, useCapture) {
			var handler = (function () {
				if ('load' != evType) {
					return fn;
				} else {
					return function () {
						var result = fn(arguments);
						try {
							if (window.getContentEditorClientId instanceof Function) {
								if ('undefined' != typeof(FTB_API) && FTB_API[window.getContentEditorClientId()]) {
									if (!FTB_API.isHackedByNI) {
										loadContentHtml();
										FTB_API.isHackedByNI = true;
									}
								} 
							}
						} catch (e) {};
						return result;
					};
				}
			})();

			if (addEventListener instanceof Function) {
				return addEventListener(evType, handler, useCapture);
			} else if (window.attachEvent) {
				return window.attachEvent('on' + evType, handler);
			}
		};
	})();