function popItUp(urlLink, windowName, height, width) {
	if (! window.focus)
		return true;
		var href;
	if (typeof(urlLink) == 'string')
	   	href=urlLink;
	else
	  	href=urlLink.href;
	var w = 100, h = 100;
	if (document.all || document.layers) {
		w = screen.availWidth;
		h = screen.availHeight;
		}
	var popW = height, popH = width;
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var calWin = window.open(href, windowName, 'width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
	calWin.focus();
}
function popItUpScroll(urlLink, windowName, height, width) {
	if (! window.focus)
		return true;
		var href;
	if (typeof(urlLink) == 'string')
	   	href=urlLink;
	else
	  	href=urlLink.href;
	var w = 100, h = 100;
	if (document.all || document.layers) {
		w = screen.availWidth;
		h = screen.availHeight;
		}
	var popW = height, popH = width;
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var calWin = window.open(href, windowName, 'width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos + ',scrollbars=yes');
	calWin.focus();
}

function mangle() {
	if (!document.getElementsByTagName && !document.createElement &&
		!document.createTextNode) return;
	var nodes = document.getElementsByTagName("span");
	for(var i=nodes.length-1;i>=0;i--) {
		if (nodes[i].className=="change") {
			var at = / at /;
			var dot = / dot /;
			var node = document.createElement("a");
			var address = nodes[i].firstChild.nodeValue;

			address = address.replace(at, "@");
			address = address.replace(dot, ".");

			address = address.replace(at, "@");
			address = address.replace(dot, ".");
			node.setAttribute("href", "mailto:"+address);
			node.appendChild(document.createTextNode(address));
			
			var prnt = nodes[i].parentNode;
			for(var j=0;j<prnt.childNodes.length;j++)
				if (prnt.childNodes[j] == nodes[i]) {
					if (!prnt.replaceChild) return;
					prnt.replaceChild(node, prnt.childNodes[j]);
					break;
				}
		}
	}
}