function getReferral() {
	var myBars = 'directories=no,location=no,menubar=no,status=no';
	myBars += ',titlebar=no,toolbar=no';
	var myOptions ='scrollbars=no,width=600,height=600,resizeable=YES';
	var myFeatures = myBars + ',' + myOptions;
	var refWindow = open('', 'ref_Win', myFeatures);
	refWindow.document.writeln('<HTML>');
	refWindow.document.writeln('<head>');
	refWindow.document.writeln('<SCRIPT LANGUAGE="JavaScript">');
	refWindow.document.writeln('<!--');
	refWindow.document.writeln('function checkForm(form) {');
	refWindow.document.writeln('  if (form.rname.value.length<2) {');
  refWindow.document.writeln('alert("Your name is required to identify you to the recipient(s)");');
  refWindow.document.writeln('form.rname.focus()');
  refWindow.document.writeln('form.rname.select()');
  refWindow.document.writeln('    return false;');
  refWindow.document.writeln('}');
  refWindow.document.writeln('  if (form.remail.value.length<2) {');
  refWindow.document.writeln('alert("Your email addresss is needed for the confirmation message");');
  refWindow.document.writeln('form.remail.focus()');
  refWindow.document.writeln('form.remail.select()');
  refWindow.document.writeln('    return false;');
  refWindow.document.writeln('}');
  refWindow.document.writeln('  if (form.name1.value.length<2) {');
  refWindow.document.writeln('alert("At least one recipient\'s name is required");');
  refWindow.document.writeln('form.name1.focus()');
  refWindow.document.writeln('form.name1.select()');
  refWindow.document.writeln('    return false;');
  refWindow.document.writeln('}');
  refWindow.document.writeln('  if (form.email1.value.length<2) {');
  refWindow.document.writeln('alert("At least one recipient\'s email address is required");');
  refWindow.document.writeln('form.email1.focus()');
  refWindow.document.writeln('form.email1.select()');
  refWindow.document.writeln('    return false;');
  refWindow.document.writeln('}');
  refWindow.document.writeln('return true');
  refWindow.document.writeln('}');
  refWindow.document.writeln('//-->');
  refWindow.document.writeln('<\/SCRIPT>');
  refWindow.document.writeln('</head>');
  refWindow.document.writeln('<BODY bgcolor="#F5F9FF"><BASEFONT SIZE=2><FONT SIZE="4" COLOR="blue"><B><CENTER>Dragon Door Publications</CENTER></B></FONT>');
  refWindow.document.writeln('<CENTER>Use this form to send an email referring your friends to<B><BR>',window.location,'</CENTER>',document.title,'</B><BR>Enter their name(s) and email address(s) in the form below.<BR>');
  refWindow.document.writeln('You can personalize the email by entering text in the message box.<BR>');
  refWindow.document.writeln('You will receive a confirming email.<BR>');
  refWindow.document.writeln('<FONT COLOR="red"><B><CENTER>The required fields are highlighted in red.</CENTER></B></FONT>');
  refWindow.document.writeln('<FORM METHOD=POST ACTION="cgi-bin/page_ref.pl" name="ref_form" onSubmit="return checkForm(ref_form)">');
  refWindow.document.writeln('<TABLE bgcolor="#BBBBBB"><TR>');
  refWindow.document.writeln('	<TD><B><FONT COLOR="red" SIZE=2>Your Name</FONT></B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="rname"></TD>');
  refWindow.document.writeln('	<TD><B><FONT COLOR="red" SIZE=2>Your Email</FONT></B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="remail"></TD>');
  refWindow.document.writeln('</TR><TR>');
  refWindow.document.writeln('	<TD><B><FONT COLOR="red" SIZE=2>Friend\'s Name</FONT></B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="name1"></TD>');
  refWindow.document.writeln('	<TD><B><FONT COLOR="red" SIZE=2>Friend\'s Email</FONT></B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="email1"></TD>');
  refWindow.document.writeln('</TR>');
  refWindow.document.writeln('<TR><TH colspan=4><HR size=3>Optional additional recipients</TH></TR>');
  refWindow.document.writeln('<TR>');
  refWindow.document.writeln('	<TD><B>Friend\'s Name</B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="name2"></TD>');
  refWindow.document.writeln('	<TD><B>Friend\'s Email</B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="email2"></TD>');
  refWindow.document.writeln('</TR>');
  refWindow.document.writeln('<TR>');
  refWindow.document.writeln('	<TD><B>Friend\'s Name</B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="name3"></TD>');
  refWindow.document.writeln('	<TD><B>Friend\'s Email</B></TD>');
  refWindow.document.writeln('	<TD><INPUT TYPE="text" NAME="email3"></TD>');
  refWindow.document.writeln('</TR>');
  refWindow.document.writeln('<TR><TH colspan=4><CENTER><B>Enter your personal message below</B></CENTER><BR><TEXTAREA NAME="ref_message" ROWS="8" COLS="55"></TEXTAREA></TH></TR>');
  refWindow.document.writeln('<TR><TD colspan=4><TABLE width=100% bgcolor="#DDDDDD">');
  refWindow.document.writeln('<TR>');
  refWindow.document.writeln('	<TH width=33%><INPUT TYPE="submit" value="Send"></TH>');
  refWindow.document.writeln('	<TH width=33%><INPUT TYPE="reset"></TH>');
  refWindow.document.writeln('	<TH width=33%><INPUT TYPE="button" value="Cancel" onClick="window.close()"></TH>');
  refWindow.document.writeln('	</TR>');
  refWindow.document.writeln('  </TABLE></TD></TR>');
  refWindow.document.writeln('</TABLE>');
  refWindow.document.writeln('<INPUT TYPE="hidden" name="page_url" value=',window.location,'>');
  refWindow.document.writeln('<INPUT TYPE="hidden" name="page_title" value="',document.title,'">');
  refWindow.document.writeln('</FORM>');
  refWindow.document.writeln('</BODY></HTML>');
  refWindow.document.close();
  refWindow.moveTo(250,150);
  refWindow.focus();
  }
  function showSpecial () {
	var myBars = 'directories=yes,location=yes,menubar=yes,status=yes';
	myBars += ',titlebar=yes,toolbar=yes';
	var myOptions ='scrollbars=yes,width=480,height=575,resizable=yes';
	var myFeatures = myBars + ',' + myOptions;
	var refWindow = open('../septemberspecial.html', 'ref_Win', myFeatures);
}