function addPopLinks() {
	if (!document.getElementsByTagName) return false;
	var links = document.getElementsByTagName("a");
	for (var i=0, j=links.length; i<j; i++) {
			var link = links[i]
			if (link.getAttribute("href") && (link.getAttribute("rel") == "pop")) {
				if (!link.getAttribute("title")) {
					var theText = link.firstChild.nodeValue;
					if (theText != null) {
						link.setAttribute("title", "Open " + theText + " in a new window");
					}
					else {
						link.setAttribute("title", "Opens in a new window");
					}
				}
				if (link.getAttribute("href") == "/privacy.html") {
					link.onclick = function() {
					pop=window.open(this.href,'popWindow','width=400,height=550,toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes'); pop.focus(); return false;
					}
				}
				else {
					link.onclick = function() {
					pop=window.open(this.href,'popWindow','width=400,height=550,toolbar=no,location=no,menubar=yes,scrollbars=yes,resizable=yes'); pop.focus(); return false;
				}
			}
		}
	}
}

window.onload = function() {
	addPopLinks();
}
