function email(one, two) {
	document.write('<a href="mailto&#58;' + one + '&#64;' + two + '">' + one + '&#64;' + two + '</A>')
}
function phone(one, two, three) {
	document.write('(' + one + ') ' + two + '-' + three)
}
function showHide (livePlaceID, hidingPlaceID, defaultHREF) {
	var liveplace = xgetElementById(livePlaceID);
	var hidingplace = xgetElementById(hidingPlaceID);

	if (!liveplace || !hidingplace) {
		location.href = defaultHREF;
		return;
	}

	// show
	if (liveplace.childNodes.length == 0) {
		while (hidingplace.childNodes.length > 0) {
			liveplace.appendChild(hidingplace.removeChild(hidingplace.firstChild));
		}
	}
	
	// hide
	else {
		while (liveplace.childNodes.length > 0) {
			hidingplace.appendChild(liveplace.removeChild(liveplace.firstChild));
		}
	}
}
function xgetElementById (elemID) {
	return (document.getElementById) ? document.getElementById(elemID) : ((document.all) ? document.all[elemID] : null);
}
