function EmailURL() {
  // Open EmailLink.html in same window passing URL of current window
  var _p,_q,_n;
  _p = window.location.href;
  _q = _p.indexOf('.html');
  _n = _p.substr(0,_q+5);
  _n = unescape(_n);
  window.open('EmailLink.html?title='+document.title+'&url='+_n, '_self');
}
function OpenPrintWin() {
  // Open printer-friendly version of current file
  var _p,_q,_n;
  _p = window.location.href;
  _q = _p.indexOf('.html');
  if (_q != -1 ) {
	_n = _p.substr(0,_q);
	_n = unescape(_n);
	_n = _n + '_Print.html';
	_p = _n;
	_q = _p.indexOf('.org/');
	if (_q != -1 ) {
		_n = _p.substr(0,_q+5);
		_n = _n + 'print/' + _p.substr(_q+5);
	}
	else {
	  _q = _p.indexOf('.com/');
	  if (_q != -1 ) {
		  _n = _p.substr(0,_q+5);
		  _n = _n + 'print/' + _p.substr(_q+5);
	  }
	  else {
	    _q = _p.indexOf('.net/');
	    if (_q != -1 ) {
		  _n = _p.substr(0,_q+5);
		  _n = _n + 'print/' + _p.substr(_q+5);
		}
	  }
	}
  }
  window.open(_n);
}