function addNetInsightTagging() {
	var regExpSys = new RegExp('^/sys');
	if (regExpSys.test(location.path)) {
		return;
	}

	var urlBase = location.protocol + '//' + location.host;
	var regExpBase = new RegExp ('^' + urlBase, 'i');
	var regExpUpload = new RegExp ('^' + urlBase + '/upload', 'i');
	var links = document.getElementsByTagName("a");
	if (links) {
		for (i = 0; i < links.length; i++) {
			if ((!regExpBase.test(links[i].href) || regExpUpload.test(links[i].href)) && !links[i].onclick) {
				links[i].onclick = function() { ntptLinkTag(this); return true; }
			}
		}

	}
}

//addEvent(window, 'load', addNetInsightTagging, true);

