/* utility.js : general util scripts */
function emailThis() {
var url = "index.php?fuseaction=main.emailthis";
var s = "";
var r = "";
var email = "";
var note = "";

while (s == "") {
      s = prompt("Please enter your Name", "");
}
while (r == "") {
      r = prompt("Please enter Recipients Name", "");
}
while (email == "") {
      email = prompt("Please enter the email address you wish to sent this page to", "");
}
note = prompt("Please enter any annotation/note to be sent to accompany email", "I thought you might be interested in this . . ");
if (email != null) {
	url += "&s=" + escape(s) + "&r=" + escape(r) + "&email=" + escape(email) + "&note=" + escape(note);
	window.open(url, "popup","top=200,left=200,height=250,width=250,scrollbars=no");
	return;
}
}
