
// Modified protected email script
// Original script by Joe Maller (http://www.joemaller.com)
// Modified by Mike O'Reilly (http://www.supportnexus.com) and
// Ben Shields (http://ben.falktech.com)
// Function form added by Michael Hall 4/24/03

function safemail(emailN, emailD, emailT) {
	emailN=(emailN + '@' + emailD);
	if(!emailT) { 
		emailT = emailN;
	}

	document.write("<a href=\"mailto:" + emailN + "\">" + emailT + '</a>');
}

function largeImage(URL,width,height) {
	// Use id so that we get separate windows.  We need this since we are setting
	// width and height.  If IE reuses a window, it will scale the image to fit a
	// small window, thus losing our desired effect of a 'large version'!
	day = new Date();
	id = day.getTime();
	window.open(URL, id, "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width="+width+",height="+height);
}
