// mySafemail hides email addresses from spam crawlers by creating them via Javascript on the client
function mySafemail(name, domain, display) {
		displayed=(typeof(display)=="undefined") ? name+"@"+domain : display
		document.write('<a href=mailto:' + name + '@' + domain + '>' + displayed + '</a>');
}

// opens a browser window and moves it to the center of the users screen
function openWindow(url, width, height) {
	var arguments, h, w, moreInfo;
	
	arguments = "width=" + width + ",height=" + height + ",resizable=yes,dependent,scrollbars=no";
	
	moreInfo = window.open(url, moreInfo, arguments);
	
	h = screen.height;
	w = screen.width;

	h = h / 2 - (height/2);
	w = w / 2 - (width/2);

	// to center the new window
	moreInfo.moveTo(w,h);
}			
// -->