function buildIntermediatePage()
{
   top.topframe.document.clear();
   top.topframe.document.open();
   top.topframe.document.writeln("<HTML><HEAD><TITLE></TITLE>");

   top.topframe.document.writeln("<STYLE TYPE=\"text/css\">");
   top.topframe.document.writeln("table { font:normal 10pt arial,sans serif\; }");
   top.topframe.document.writeln("h3 { font:bold 12pt arial,sans serif\; }");
   top.topframe.document.writeln("tr.tally1  { font:normal 10pt verdana,arial\; }");
   top.topframe.document.writeln("tr.tally2  { font:bold 10pt verdana,arial\; }");
   top.topframe.document.writeln("a.buylinkback:link    { font:bold 10pt arial\; color:#0000EE\; }");
   top.topframe.document.writeln("a.buylinkback:visited { font:bold 10pt arial,sans serif\; color:#0000EE\; }");
   top.topframe.document.writeln("a.buylinkback:active  { font:bold 10pt arial,sans serif\; color:#0000EE\; }");
   top.topframe.document.writeln("a.buylinkback:hover   { font:bold 10pt arial,sans serif\; color:#0000DD\; background-color:#CCFFD4\; }");
   top.topframe.document.writeln("a.backlink:link    { color:#0000EE\; text-decoration:none\; }");
   top.topframe.document.writeln("a.backlink:visited { color:#0000EE\; text-decoration:none\; }");
   top.topframe.document.writeln("a.backlink:active  { color:#0000EE\; text-decoration:none\; }");
   top.topframe.document.writeln("a.backlink:hover   { color:#0000DD\; text-decoration:none\; background-color:#CCFFD4\; }");
   top.topframe.document.writeln("</STYLE>");

   top.topframe.document.writeln("</HEAD>");
   top.topframe.document.writeln("<BODY BACKGROUND=\"printback.gif\">");
   top.topframe.document.writeln("<TABLE CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\"><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><H3>Your order is as follows...</H3>");

   //start itemized table-------------------------------------
   top.topframe.document.writeln("<P><UL>");
   top.topframe.document.writeln("<TABLE CELLSPACING=\"3\" CELLPADDING=\"0\" BORDER=\"0\">");
   top.topframe.document.writeln("<TR CLASS=\"tally2\"><TD COLSPAN=\"2\">Product code: " + cd_3digit + "</TD></TR>");
   top.topframe.document.writeln("<TR CLASS=\"tally1\"><TD COLSPAN=\"2\"><IMG SRC=\"dotblack.gif\" WIDTH=\"100%\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD></TR>");
   top.topframe.document.writeln("<TR CLASS=\"tally1\"><TD>Lifetime Membership </TD><TD ALIGN=\"right\">" + cd_life + "</TD></TR>");
   top.topframe.document.writeln("<TR CLASS=\"tally1\"><TD>PageTutor Manual \& Companion CD\&nbsp\;\&nbsp\;\&nbsp\;\&nbsp\;\&nbsp\;\&nbsp\;</TD><TD ALIGN=\"right\">" + cd_ptbook + "</TD></TR>");
   top.topframe.document.writeln("<TR CLASS=\"tally1\"><TD>Javascr"+"ipt Tutor book </TD><TD ALIGN=\"right\">" + cd_jsbook + "</TD></TR>");
   //top.topframe.document.writeln("<TR CLASS=\"tally1\"><TD COLSPAN=\"2\" BGCOLOR=\"#000000\"><IMG SRC=\"empty.gif\" WIDTH=\"1\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD></TR>");
   //top.topframe.document.writeln("<TR CLASS=\"tally2\"><TD>SubTotal </TD><TD ALIGN=\"right\">" + cd_subtotal + "</TD></TR>");
   top.topframe.document.writeln("<TR CLASS=\"tally1\"><TD>Shipping </TD><TD ALIGN=\"right\">" + cd_ship + "</TD></TR>");
   top.topframe.document.writeln("<TR CLASS=\"tally1\"><TD COLSPAN=\"2\" BGCOLOR=\"#000000\"><IMG SRC=\"empty.gif\" WIDTH=\"1\" HEIGHT=\"1\" ALT=\"\" BORDER=\"0\"></TD></TR>");
   top.topframe.document.writeln("<TR CLASS=\"tally2\"><TD>TOTAL </TD><TD ALIGN=\"right\">" + cd_total + "</TD></TR>");
   top.topframe.document.writeln("</TABLE>");
   top.topframe.document.writeln("</UL>");
   //end itemized table---------------------------------------

   top.topframe.document.writeln("<P><b>If you would like to make changes to your order, <A HREF=\"javascr" + "ipt:history.back\(\);\" class=\"backlink\">click here to go back</A>.<br>If you are satisfied with your order, continue below...</b>");

   //if(navigator.appName == "Netscape") { top.topframe.document.write("<FONT COLOR=\"#DD0000\"><BR>For some Netscape users, pressing the Back button on your browser does nothing (Netscape history bug). You may have to reload the page by holding the Shift key and clicking the Reload button.</FONT>"); }

   top.topframe.document.writeln("<P>" + buylinks);

   top.topframe.document.writeln("<P>\&nbsp\;");
   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></TABLE>");

   top.topframe.document.writeln("</BODY></HTML>");
   top.topframe.document.close();
}

