function mailorderpage()
{
   if(shipdest == "usa") { countryboxdata = "USA"; }
   else if(shipdest == "can") { countryboxdata = "CANADA"; }
   else { countryboxdata = ""; }

   top.topframe.document.clear();
   top.topframe.document.open();
   top.topframe.document.writeln("<HTML>");
   top.topframe.document.writeln("<HEAD><TITLE></TITLE></HEAD>");
   top.topframe.document.writeln("<BODY BACKGROUND=\"printback.gif\">");
   top.topframe.document.writeln("<STYLE TYPE=\"text/css\">");
   top.topframe.document.writeln("table { font:normal 10pt xverdana,arial\; }");
   top.topframe.document.writeln("p.other1 { font:bold 12pt arial\; }");
   top.topframe.document.writeln("p.other2 { font:normal 10pt arial\; }");
   top.topframe.document.writeln("p.other3 { margin-left:10px\; }");
   top.topframe.document.writeln("</STYLE>");
   top.topframe.document.writeln("<TABLE CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\" width=\"100%\">");
   top.topframe.document.writeln("<TR>");
   top.topframe.document.writeln("<TD><IMG SRC=\"empty.gif\" WIDTH=\"40\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD>");
   top.topframe.document.writeln("<TD>");
   top.topframe.document.writeln("<TABLE CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\" WIDTH=\"98%\" BACKGROUND=\"ptlogo_membership_bg.gif\">");
   top.topframe.document.writeln("<TR><TD><IMG SRC=\"ptlogo_membership.gif\" WIDTH=\"186\" HEIGHT=\"42\" BORDER=\"0\" ALT=\"Pagetutor.com\"></TD></TR>");
   top.topframe.document.writeln("</TABLE>");
   top.topframe.document.writeln("<P CLASS=\"other1\">PageTutor order - mail/post order");
   top.topframe.document.writeln("<P CLASS=\"other2\">Please fill out the form below, then click the Generate order button. (Any<BR>information you enter here is not sent anywhere nor is it used for anything<BR>other than to generate an order for you to print out.)");
   top.topframe.document.writeln("<FORM NAME=\"mailorderform\">");
   top.topframe.document.writeln("<P CLASS=\"other3\"><TABLE CELLSPACING=\"3\" CELLPADDING=\"\" BORDER=\"0\">");
   top.topframe.document.writeln("<TR><TD>Name:</TD><TD>               <INPUT TYPE=\"text\" NAME=\"myname_box\"   VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>Company/Org:</TD><TD>        <INPUT TYPE=\"text\" NAME=\"company_box\"  VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>Address1:</TD><TD>           <INPUT TYPE=\"text\" NAME=\"address1_box\" VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>Address2:</TD><TD>           <INPUT TYPE=\"text\" NAME=\"address2_box\" VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>City:</TD><TD>               <INPUT TYPE=\"text\" NAME=\"city_box\"     VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>State/Province:</TD><TD>     <INPUT TYPE=\"text\" NAME=\"state_box\"    VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>Zip/Postal Code:</TD><TD>    <INPUT TYPE=\"text\" NAME=\"zip_box\"      VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>Country:</TD><TD>            <INPUT TYPE=\"text\" NAME=\"country_box\"  VALUE=\"" + countryboxdata + "\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD>Email address:</TD><TD> <INPUT TYPE=\"text\" NAME=\"email_box\"    VALUE=\"\" SIZE=\"30\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD colspan=\"2\"><IMG SRC=\"empty.gif\" WIDTH=\"2\" HEIGHT=\"8\" ALT=\"\" BORDER=\"0\"></TD></TR>");
   top.topframe.document.writeln("<TR><TD COLSPAN=\"2\"><INPUT TYPE=\"button\" VALUE=\"Generate Printable Order\" onClick=\"top.checkForm()\"></TD></TR>");
   top.topframe.document.writeln("</TABLE>");
   top.topframe.document.writeln("</FORM>");
   top.topframe.document.writeln("<HR SIZE=\"1\">");
   top.topframe.document.writeln("<TABLE CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\" ALIGN=\"center\">");
   top.topframe.document.writeln("<TR><TD>\"Live as if you were to die tomorrow. Learn as if you were to live forever.\"</TD></TR>");
   top.topframe.document.writeln("<TR><TD ALIGN=\"right\">- Mahatma Gandhi\&nbsp\;\&nbsp\;\&nbsp\;\&nbsp\;</TD></TR>");
   top.topframe.document.writeln("</TABLE>");
   top.topframe.document.writeln("</TD>");
   top.topframe.document.writeln("</TR>");
   top.topframe.document.writeln("</TABLE>");
   top.topframe.document.writeln("</BODY>");
   top.topframe.document.writeln("</HTML>");
   top.topframe.document.close();
}







