
function ldvsales(fromBCM)
{
    document.write( "<table id=\"paypal-table\">" );
    document.write( "<tr>" );
       document.write( 
           "<td align=\"center\"><img src=\"graphics/ldvcover/DVDCover300pix.jpg\" width=\"150\" height=\"100\"></td>");
       document.write("</tr>");
    document.write( "</table>");

    document.write( "<form name=\"dlh\" action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">" );
    document.write( "<input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\">" );
    
    if (fromBCM != null)
       {
       document.write( "<input type=\"hidden\" name=\"hosted_button_id\" value=\"A43YV5D8JGYVL\">" );
       }
	else
       {
         document.write( "<input type=\"hidden\" name=\"hosted_button_id\" value=\"N9U9ETT5TCSPU\">" )
       }
    document.write( "<table id=\"paypal-table\">" );
       document.write( "<tr>" );
           document.write( "<td align=\"center\" width=30%>Quantity</td>" );
           document.write( "<td align=\"center\" width=30%>Price</td>" );
       document.write( "</tr>" );
       document.write( "<tr>" );
           document.write( "<td align=\"center\"><input type=\"text\" name=\"quantity\" size=\"3\"  value=\"1\" );onchange=dlh.tAmount.value=formatMoney(15.95*dlh.quantity.value)></td>" );
           document.write( "<td align=\"center\"><input type=\"text\" name=\"tAmount\" size=\"6\" value=\"19.95\" readonly></td>" );
       document.write( "</tr>" );
    document.write( "</table>");

    document.write( "<table id=\"paypal-table\">" );
       document.write( "<tr>");
       document.write(
          "<td align=\"center\"><input type=\"button\" value=\"Update\" onclick=dlh.tAmount.value=formatMoney(19.95*dlh.quantity.value)></td>" );
       document.write("</tr>");
       document.write("<tr>");
          document.write( "<td align=\"center\"><input type=\"image\" src=\"https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif\" border=\"0\" name=\"submit\" alt=\"PayPal - The safer, easier way to pay online!\">" );
          document.write("</td>");
       document.write("</tr>");
       document.write("<tr>");
          document.write("<td align=\"center\">PayPal! The safer, easier way to pay online</td>" );
      document.write("</tr>");
   document.write( "</table>" );

   document.write( "<input type=\"hidden\" name=\"currency_code\" value=\"USD\">" );
 
   document.write( "<img alt=\"\" border=\"0\" src=\"https://www.paypal.com/en_US/i/scr/pixel.gif\" width=\"1\" height=\"1\">" );
   document.write( "</form>" );
}
