function printEmailBody(DateStr) {
  var ShipCost               = StringToFloat(oCustomer.ShipCost);
  var Text                   = new String("");
  Text += '\n'+
          txtAOrder+' '+OrderID.valueOf()+'\n'+
          txtOrderFor+' '+txtWebShopName+' - '+txtOrderedOn+' '+DateStr + '\n'+
          '\n'+
										HTMLBreakToPlainTextBreak('Hartelijk dank voor jouw bestelling!<BR><BR>- Indien je gekozen hebt om vooraf te betalen dan kun je het totaalbedrag overmaken op rekeningnummer 1114.08.865 t.n.v. Jannajantina - Corina Vrieling Nieuwleusen. Direct na ontvangst van jouw betaling, wordt jouw bestelling verzonden.<BR>- Indien je gekozen hebt om jouw bestelling op te halen dan kan dat na telefonische afspraak: 06-28889743 of 0529-481475.<BR><BR>Mocht een product onverhoopt niet op voorraad zijn en niet binnen vijf werkdagen leverbaar, dan zullen wij je direct informeren. Mocht je nog vragen hebben dan kun je vanzelfsprekend contact met ons opnemen.<BR><BR>JANNAJANTINA<BR>Corina Vrieling<BR>Roede 3<BR>7711 XB  Nieuwleusen<BR>M 06-28889743<BR>T 0529-481475<BR>E info@jannajantina.nl')+'\n'+
										'\n'+
          txtData+': \n'+
          '\n';
  if (oCustomer.Company != '') {Text += oCustomer.Company + '\n';}
  if (oCustomer.VATnr != '') {Text += oCustomer.VATnr + '\n';}
  Text += oCustomer.Salutation + ' '+oCustomer.FirstName + ' ' + oCustomer.LastName + '\n'+
          oCustomer.Street + '\n'+
          oCustomer.ZipCode + ' ' + oCustomer.Town + '\n'+
          oCustomer.Country + '\n'+
          '\n'+
          oCustomer.Phone + '\n'+
          oCustomer.EMail + '\n'+
          '\n'+
          oCustomer.DelName + '\n'+
          oCustomer.DelStreet + '\n'+
          oCustomer.DelZipCode + ' ' + oCustomer.DelTown + '\n'+
          oCustomer.DelCountry + '\n'+
          '\n'+
          oCustomer.DelPhone + '\n'+
          '\n'+'\n'+
          txtAOrder+':\n'+
          '\n'+
          oOrder.ItemsReadable + '\n';
  if (StringToFloat(oOrder.Delivery) != 0) Text += '1 x '+txtDelivery+': '+convDec(showPrice(StringToFloat(oOrder.Delivery), oCustomer.ShipVAT))+' :: '+convDec(showPrice(StringToFloat(oOrder.Delivery), oCustomer.ShipVAT))+'\n';
  if (StringToFloat(oOrder.PayMethodCost) != 0) Text += '1 x '+txtPayMethodCost+': '+convDec(showPrice(StringToFloat(oOrder.PayMethodCost), oCustomer.PayMethodVAT))+' :: '+convDec(showPrice(StringToFloat(oOrder.PayMethodCost), oCustomer.PayMethodVAT))+'\n';
  if (StringToFloat(oOrder.DiscountOnTotal) != 0) Text += '1 x '+txtDiscountOnTotal+': '+convDec(showPrice(-StringToFloat(oOrder.DiscountOnTotal), oCustomer.DiscountOnTotalVAT))+' :: '+convDec(showPrice(-StringToFloat(oOrder.DiscountOnTotal), oCustomer.DiscountOnTotalVAT))+'\n';
  if (StringToFloat(oOrder.CouponDiscountAmount) != 0) Text += '1 x '+txtCouponDiscount+' ('+oOrder.Coupon+'): '+convDec(showPrice(-StringToFloat(oOrder.CouponDiscountAmount), oCustomer.CouponDiscountVAT))+' :: '+convDec(showPrice(-StringToFloat(oOrder.CouponDiscountAmount), oCustomer.CouponDiscountVAT))+'\n';
  
  Text += '===============================\n'+
          txtTotalIncVAT + ':  ' + oOrder.Total +'\n'+
          '\n\n'+
          txtVAT + ':\n'+
          oOrder.VAT + '\n'+
          '\n'+
          '\n';

  if (oOrder.PayMethodText != '') Text += txtWayOfPayment+': '+oOrder.PayMethodText + '\n';

  Text += txtWayOfDelivery+': '+oCustomer.ShipText +'\n'+
          '\n'+
          txtRemarks+':\n';
  if (oCustomer.Memo == '') Text += txtNone
  else Text += oCustomer.Memo;
  
  if ((oCustomer.PayMethodMemo == '') || ((oCustomer.PayMethodMemo == 'undefined'))) {
    Text += '';
  } else {
    Text += '\n\n'+txtPayMethodInfo+':\n'+ oCustomer.PayMethodMemo;
  }
  

  Text += '\n\n';

  return Text;
}

function printEmailHTMLBody(DateStr) {
  var ShipCost               = StringToFloat(oCustomer.ShipCost);
  var Text                   = new String("");

  Text += '<!DOCTYPE HTML PUBLIC <LV_034/>-//W3C//DTD HTML 4.01 Transitional//EN<LV_034/>>\n'+
          '<html><head><title>'+txtAOrder+'</title>\n'+
          '<meta http-equiv<LV_061/><LV_034/>Content-Type<LV_034/> content<LV_061/><LV_034/>text/html; charset<LV_061/>iso-8859-1<LV_034/>>\n'+
          '<style type<LV_061/><LV_034/>text/css<LV_034/>>\n'+
          '<!--\n'+
          'body {\n'+
          '	font-family: Arial, Helvetica, sans-serif;\n'+
          '	font-size: 10pt;\n'+
          '}\n'+
          'table {\n'+
          '	font-size: 10pt;\n'+
          '}\n'+
          '.theader {\n'+
          '	font-size: 11pt;\n'+
          '	font-weight: bold;\n'+
          '	background-color: #CCCCCC;\n'+
          '}\n'+
          '.tfield {\n'+
          '	font-weight: bold;\n'+
          '}\n'+
          '.tproductline {\n'+
          '	border-bottom-width: 1px;\n'+
          '	border-bottom-style: solid;\n'+
          '	border-bottom-color: #000000;\n'+
          '}\n'+
          '-->\n'+
          '</style></head><body>'+

										'<img src<LV_061/><LV_034/>http://www.jannajantina.nl/cb_17.jpg<LV_034/> border<LV_061/><LV_034/>0<LV_034/>>\n'+

          '<table width<LV_061/><LV_034/>100%<LV_034/> border<LV_061/><LV_034/>0<LV_034/> cellspacing<LV_061/><LV_034/>3<LV_034/> cellpadding<LV_061/><LV_034/>1<LV_034/>>'+
          '<tr><td class<LV_061/><LV_034/>theader<LV_034/>>'+txtOrderFor+' '+txtWebShopName+'</td></tr>'+
          '<tr><td>'+
          '  <table width<LV_061/><LV_034/>100%<LV_034/> border<LV_061/><LV_034/>0<LV_034/> cellspacing<LV_061/><LV_034/>0<LV_034/> cellpadding<LV_061/><LV_034/>0<LV_034/>>'+
          '  <tr><td width<LV_061/>200 class<LV_061/><LV_034/>tfield<LV_034/>>'+txtOrderNumber+'</td><td width<LV_061/>*>'+OrderID.valueOf()+'</td></tr>'+
          '  <tr><td width<LV_061/>200 class<LV_061/><LV_034/>tfield<LV_034/>>'+txtDate+'</td><td width<LV_061/>*>'+DateStr +'</td></tr>'+
          '  <tr><td width<LV_061/>200 class<LV_061/><LV_034/>tfield<LV_034/>>'+txtWayOfPayment+'</td><td width<LV_061/>*>'+oOrder.PayMethodText+'</td></tr>'+
          '  <tr><td width<LV_061/>200 class<LV_061/><LV_034/>tfield<LV_034/>>'+txtWayOfDelivery+'</td><td width<LV_061/>*>'+oCustomer.ShipText +'</td></tr>'+
          '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtTotalIncVAT+'</td><td class<LV_061/><LV_034/>tfield<LV_034/>>'+CurrName+'  '+oOrder.Total+'</td></tr>'+
          '  </table>'+
          '</td></tr>\n'+
          '<tr><td>Hartelijk dank voor jouw bestelling!<BR><BR>- Indien je gekozen hebt om vooraf te betalen dan kun je het totaalbedrag overmaken op rekeningnummer 1114.08.865 t.n.v. Jannajantina - Corina Vrieling Nieuwleusen. Direct na ontvangst van jouw betaling, wordt jouw bestelling verzonden.<BR>- Indien je gekozen hebt om jouw bestelling op te halen dan kan dat na telefonische afspraak: 06-28889743 of 0529-481475.<BR><BR>Mocht een product onverhoopt niet op voorraad zijn en niet binnen vijf werkdagen leverbaar, dan zullen wij je direct informeren. Mocht je nog vragen hebben dan kun je vanzelfsprekend contact met ons opnemen.<BR><BR>JANNAJANTINA<BR>Corina Vrieling<BR>Roede 3<BR>7711 XB  Nieuwleusen<BR>M 06-28889743<BR>T 0529-481475<BR>E info@jannajantina.nl</td></tr>\n'+
          '<tr><td>&nbsp;</td></tr>'+
          '<tr><td>'+
          '  <table width<LV_061/><LV_034/>100%<LV_034/> border<LV_061/><LV_034/>0<LV_034/> cellspacing<LV_061/><LV_034/>0<LV_034/> cellpadding<LV_061/><LV_034/>0<LV_034/>>'+
          '  <tr><td class<LV_061/><LV_034/>theader<LV_034/>>'+txtInvoiceAddress+'</td><td class<LV_061/><LV_034/>theader<LV_034/>>&nbsp;</td>'+
          '      <td class<LV_061/><LV_034/>theader<LV_034/>>'+txtDeliveryAddress+'</td><td class<LV_061/><LV_034/>theader<LV_034/>>&nbsp;</td>'+
          '  </tr>'+
          '  <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>'+
          '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtName+'</td><td>'+oCustomer.Salutation+' '+oCustomer.FirstName+' '+oCustomer.LastName+'</td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtName+'</td><td>'+oCustomer.DelName+'</td>'+
          '  </tr>\n';
  if (oCustomer.Company != '') {
    Text += '<tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtCompany+'</td><td>'+oCustomer.Company;
    if (oCustomer.VATnr != '') {Text += '  ('+oCustomer.VATnr + ')';}
    Text += '</td><td class<LV_061/><LV_034/>tfield<LV_034/>>&nbsp;</td><td>&nbsp;</td></tr>';
  }
  Text += '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtStreetAndNr+'</td><td>'+oCustomer.Street+'</td>'+
	         '      <td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtStreetAndNr+'</td><td>'+oCustomer.DelStreet+'</td>'+
          '  </tr>'+
          '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtZipcode+'</td><td>'+oCustomer.ZipCode+'</td>'+
     					'      <td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtZipcode+'</td><td>'+oCustomer.DelZipCode+'</td>\n'+
          '  </tr>'+
          '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtTown+'</td><td>'+oCustomer.Town+'</td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtTown+'</td><td>'+oCustomer.DelTown+'</td>\n'+
          '  </tr>'+
          '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtCountry+'</td><td>'+oCustomer.Country+'</td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtCountry+'</td><td>'+oCustomer.DelCountry+'</td>\n'+
          '  </tr>'+
          '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtPhone+'</td><td>'+oCustomer.Phone+'</td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtPhone+'</td><td>'+oCustomer.DelPhone+'</td>\n'+
          '  </tr>'+
          '  <tr><td class<LV_061/><LV_034/>tfield<LV_034/>>'+txtEMail+'</td><td>'+oCustomer.EMail+'</td>'+
          '  <td class<LV_061/><LV_034/>tfield<LV_034/>>&nbsp;</td><td>&nbsp;</td></tr>'+
          '  </table>'+
          '</td></tr>'+
          '<tr><td>&nbsp;</td></tr>\n'+
          '<tr><td class<LV_061/><LV_034/>theader<LV_034/>>'+txtAOrder+'</td></tr>\n'+
          '<tr><td>&nbsp;</td></tr>\n'+
          '<tr><td>'+
          '  <table width<LV_061/><LV_034/>100%<LV_034/> border<LV_061/><LV_034/>0<LV_034/> cellspacing<LV_061/><LV_034/>2<LV_034/> cellpadding<LV_061/><LV_034/>2<LV_034/>>'+
          '  <tr><td class<LV_061/><LV_034/>tproductline<LV_034/>>'+txtAmount+'</td>'+
          '      <td class<LV_061/><LV_034/>tproductline<LV_034/>>'+txtArticlecode+'</td>'+
          '      <td class<LV_061/><LV_034/>tproductline<LV_034/> width<LV_061/><LV_034/>50%<LV_034/>>'+txtDescription+'</td>'+
          '      <td class<LV_061/><LV_034/>tproductline<LV_034/>><div align<LV_061/><LV_034/>right<LV_034/>>'+txtProductPriceIn+' '+CurrName+'</div></td>'+
          '      <td class<LV_061/><LV_034/>tproductline<LV_034/>><div align<LV_061/><LV_034/>right<LV_034/>>'+txtTotalPriceIn+' '+CurrName+'</div></td>'+
          '  </tr>\n'+
          oOrder.ItemsReadableHTML;
  if (StringToFloat(oOrder.Delivery) != 0) {
	  Text += '<tr><td>1</td><td></td><td>'+txtDelivery+'</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(StringToFloat(oOrder.Delivery), oCustomer.ShipVAT))+'</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(StringToFloat(oOrder.Delivery), oCustomer.ShipVAT))+'</td></tr>';
	}
  if (StringToFloat(oOrder.PayMethodCost) != 0) {
    Text += '<tr><td>1</td><td></td><td>'+txtPayMethodCost+'</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(StringToFloat(oOrder.PayMethodCost), oCustomer.PayMethodVAT))+'</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(StringToFloat(oOrder.PayMethodCost), oCustomer.PayMethodVAT))+'</td></tr>';
  }
  if (StringToFloat(oOrder.DiscountOnTotal) != 0) {
    Text += '<tr><td>1</td><td></td><td>'+txtDiscountOnTotal+'</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(-StringToFloat(oOrder.DiscountOnTotal), oCustomer.DiscountOnTotalVAT))+'</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(-StringToFloat(oOrder.DiscountOnTotal), oCustomer.DiscountOnTotalVAT))+'</td></tr>';
  }
  if (StringToFloat(oOrder.CouponDiscountAmount) != 0) {
	  Text += '<tr><td>1</td><td></td><td>'+txtCouponDiscount+' ('+oOrder.Coupon+')</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(-StringToFloat(oOrder.CouponDiscountAmount), oCustomer.CouponDiscountVAT))+'</td><td align<LV_061/><LV_034/>right<LV_034/>>'+convDec(showPrice(-StringToFloat(oOrder.CouponDiscountAmount), oCustomer.CouponDiscountVAT))+'</td></tr>';
  }
  
  Text +=	'  <tr><td>'+
          '  <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>><div align<LV_061/><LV_034/>right<LV_034/>>'+txtTotalIncVAT+'</div></td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>><div align<LV_061/><LV_034/>right<LV_034/>>'+oOrder.Total+'</div></td>'+
          '  </tr>'+
          '  <tr><td>&nbsp;</td><td>'+txtVAT+'</td><td>&nbsp;</td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>>&nbsp;</td><td class<LV_061/><LV_034/>tfield<LV_034/>>&nbsp;</td>'+
          '  </tr>'+
          '  <tr><td>&nbsp;</td><td>&nbsp;</td><td><p>'+oOrder.VAT+'</p></td>'+
          '      <td class<LV_061/><LV_034/>tfield<LV_034/>>&nbsp;</td><td class<LV_061/><LV_034/>tfield<LV_034/>>&nbsp;</td>'+
          '  </tr>'+
          '  <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>'+
          '</table></td></tr>'+
          '<tr><td>&nbsp;</td></tr>'+
          '<tr><td class<LV_061/><LV_034/>theader<LV_034/>>'+txtRemarks+'</td></tr>'+
          '<tr><td>&nbsp;</td></tr>'+
          '<tr><td>'+oCustomer.Memo+'</td></tr>';
  
  if ((oCustomer.PayMethodMemo == '') || ((oCustomer.PayMethodMemo == 'undefined'))) {
    Text += '';
  } else {
    Text += '<tr><td>&nbsp;</td></tr>'+
            '<tr><td class<LV_061/><LV_034/>theader<LV_034/>>'+txtPayMethodInfo+'</td></tr>'+
            '<tr><td>&nbsp;</td></tr>'+
            '<tr><td>'+stringToHTML(oCustomer.PayMethodMemo)+'</td></tr>';
  }
  
  Text += '</table></body></html>';

  return Text;
}

