function setupPopup() {  if (!document.getElementsByTagName) return false;  var links = document.getElementsByTagName("a");  for (var i=0; i < links.length; i++) {    if (links[i].className.match("external")) {	 	links[i].onclick = function(e) {			if(!e)e=window.event;			if(e.shiftKey || e.ctrlKey || e.altKey) return;			window.open(this.href);			return false;			}      }    }}function popup(link, windowname, pixw, pixh, xpos, ypos)  {	if((screen.width-20)<pixw){		pixw=screen.width-20;		}	if((screen.height-20)<pixh){		pixh=screen.height-20;		}		if(!xpos){ xpos=50; ypos=50; }		newwindow = window.open(link, windowname, "width="+pixw+",height="+pixh+",screenX="+xpos+",screenY="+ypos+",resizable=yes,scrollbars=yes,location=0");	    newwindow.resizeTo(pixw, pixh);	newwindow.moveTo(xpos,ypos);    newwindow.focus();	return false;   	}	function setupResume() {  if (!document.getElementsByTagName) return false;  var links = document.getElementsByTagName("a");  for (var i=0; i < links.length; i++) {    if (links[i].className.match("resumelink")) {	 	links[i].onclick = function(e) {			if(!e)e=window.event;			if(e.shiftKey || e.ctrlKey || e.altKey) return;			popup(this.href, 'resumes', 450, 500, 50, 50);			return false;			}      }    }}// example of possible values: "bruce", "aol", "com", "Click here to send me a message", "hello", "Just saying hello, Bruce".// if no linkText is sent, we use the full address as the link.function writeAddr(target, mainDomain, topDomain, linkText, subText, bodText) {	 // Build the address	 var fullAddr = target + "@" + mainDomain + "." + topDomain; 	 // if no link text, use full address	 var realLink = (linkText == "") ? fullAddr:linkText;	 // Write html to the browser	 document.write("<a h" + "ref=ma" + "ilt" + "o:" + fullAddr +  "?su" + "bject=" + escape(subText) + "&bod" + "y=" + escape(bodText)  + ">" + realLink + "</a>");}
