<!--
/* 
 * this 'script' changes all of the links in the page named 'email'
 * to point to a function that links to my e-mail address

 * Written by Nick Winters
*/

// Universal e-mail parts
mailTowards = "mailto:"; atSign = "@"; period = ".";

// my e-mail split up into peices
juser0 = "oran"; juser1 = "ge"; domain = "excellentwhale"; extension = "com"

joerieMail = mailTowards + juser0 + juser1 + atSign + domain + period + extension;
joeridispeMail = juser0 + juser1 + atSign + domain + period + extension;

// change the href attribute of all links named 'email'
// to a javaScript call to send an e-mail
function printjoeriEmail() {
	for (i=0; i<document.anchors.length; i++) {
		if (document.anchors[i].name == "joeriemail") {
			document.anchors[i].href = joerieMail;
		}
	}
	document.write(joeridispeMail);
}
//-->

