function letter1() {

d = document.creditorletter1;


var v_creditor;
var vc_address1;
var vc_address2;
var vc_address3;
var vc_address4;
var vc_address5;

var v_yourname;
var vy_address1;
var vy_address2;
var vy_address3;
var vy_address4;
var v_account;
var v_date;
var v_circumstances;

v_creditor = d.c_name.value;
vc_address1 = d.c_address1.value;
vc_address2 = d.c_address2.value;
vc_address3 = d.c_address3.value;
vc_address4 = d.c_address4.value;
vc_address5 = d.c_address5.value;

v_yourname = d.y_name.value;
vy_address1 = d.y_address1.value;
vy_address2 = d.y_address2.value;
vy_address3 = d.y_address3.value;
vy_address4 = d.y_address4.value;
v_account = d.y_account.value;

v_date = d.date.value;
v_circumstances = d.circumstances.value;

document.open();

document.write('<table width="600" border="0" cellspacing="5" cellpadding="5" align="left" >')
        document.write('<tr> ')
          document.write('<td> ')
            document.write('<p>' + v_creditor + '<br>')
            document.write(vc_address1 + '<br>')
            document.write(vc_address2 + '<br>')
            document.write(vc_address3 + '<br>')
            document.write(vc_address4 + ' ')
            document.write(vc_address5 + '</p>')
            document.write('<p align="right">' + v_yourname + '<br>')
            document.write(vy_address1 + '<br>')
            document.write(vy_address2 + '<br>')
            document.write(vy_address3 + '<br>')
            document.write(vy_address4 + '</p>')
            document.write('<p align="right">' + v_date + ' </p>')
            document.write('<p>Dear Sir/Madam </p>')
            document.write('<p class="subsectiontitle"><B>REF: ' + v_account + ' </B></p>')
            document.write('<p>Further to recent correspondence, I have now been able to complete ')
              document.write('my assessment of my current financial circumstances. </p>')
            document.write('<p>I enclose a copy of my statement of means, which provides details ')
              document.write('of my/our monthly income, outgoing and essential debt repayments. ')
              document.write('I also enclose a list of my other creditors, together with repayment ')
              document.write('offers, which have been calculated on a pro-rata basis. I am experiencing ')
              document.write('difficulties because <span class="sectiontitle">' + v_circumstances + '</span> ')
              document.write('I hope that you will take this into consideration when considering ')
              document.write('my proposals. </p>')
            document.write('<p>These payments represent a pro-rata distribution of my available ')
              document.write('income, and should provide the basis for a solution to my debt problems. ')
              document.write('I will review my position on a regular basis, and inform you of ')
              document.write('any changes in my circumstances. </p>')
            document.write('<p>To assist me and to prevent increasing indebtedness, I respectfully ')
              document.write('request that interest and other charges accruing to the account ')
              document.write('remain frozen, and that you refrain from taking any further action ')
              document.write('against me whilst payments are being maintained in accordance with ')
              document.write('this arrangement. </p>')
            document.write('<p>I hope that you will agree to my proposals, and look forward to ')
              document.write('receiving written confirmation as soon as possible. Thank you for ')
              document.write('your co-operation in this matter. </p>')
            document.write('<p>Yours faithfully </p>')
            document.write('<p>&nbsp;</p>')
            document.write('<p><b>' + v_yourname + '</B></p>')
          document.write('</td>')
        document.write('</tr>')
      document.write('</table>')

document.close();
}
