function checkContentHeight() {
	if (document.getElementById) {
		contentText = document.getElementById("text");
		contentBody = document.getElementById("body");
	}
	else if (document.all) {
		contentText = document.all["text"];
		contentBody = document.all["body"];
	}

	if (contentText.scrollHeight < 650)	{
		contentBody.style.height = "687px";
	}
	else if (contentText.scrollHeight > 650) {
		contentBody.style.height = contentText.scrollHeight + "px";
	}

	return;
}

function sendMailTo(name, company, domain) {
  locationstring = 'mai' + 'lto:' + name + '@' + company + '.' + domain;
  window.location.replace(locationstring);
}

function OpenComments (c) {
  window.open(c,
              'comments',
              'width=386,height=406,scrollbars=no,status=no');
}

function OpenArchive (c) {
  window.open(c,
              'archive',
              'width=446,height=365,scrollbars=no,status=no');
}
