//Stores help for payment form
//-----------------------------------------------------------------------------------------------
function m_gethelp(mynam)
//return help text
{
var s;

switch (mynam) {
case 'd':
  s =  'Payment was declined. This usually means your card details or address weren\'t right.<br><br>';
  s += 'That means this entry has not been sent and you have not been charged for it. Your address must match the address on your card bills.<br><br>';
  s += 'If you want to complete this and enter, you can edit any details you need to. When you\'re ready, press Pay again';
  return s;
case 'c':
  s =  'You cancelled the payment process.<br><br>';
  s += 'That means this entry has not been sent and you have not been charged for it.<br><br>';
  s += 'If you want to complete this and enter, you can edit any details you need to. When you\'re ready, press Pay again';
  return s;
case '':
  s = 'Here you can subscribe to join the Eacdg online if you pay by credit or debit card.<br><br>';
  s += '<i>Please enter</i> your details carefully.<br><br>';
  s += '<b>Security:</b> payments are handled by a reliable commercial organisation - Nochex.<br>Eacdg, its organisers and computers will never see your card details.<br><br>';
  s += 'When you have filled in this form, press "Add to shopping basket". You can add more things, liek event entreis, then press "Pay..." on your shopping basket.<br>';
  s += 'You will be transferred to Nochex to enter your card number to complete payment. You will receive an email notification that this is complete.<br><br>';
  s += 'You should only have to enter most of this detail once; provided your computer accepts cookies, it will store your main details - not credit card! - for next time.<br><br>';
  return s;
case 'first_name':
case 'first_name2':
case 'first_name3':
case 'first_name4':
   return 'First name of driver';
case 'last_name':
case 'last_name2':
case 'last_name3':
case 'last_name4':
   return 'Surname of driver';
case 'address1':
case 'address2':
  s = 'Please enter your address - this needs to be the billing address of the card you will use to pay.<br><br>'
  s+= 'You can leave address2 blank if your address fits in address1';
  return s;
case 'city':
  return 'Please enter your post town here';
case 'phone_number':
  return 'Please enter your phone number.<br><br>We need this in case of queries about your entry or payment.';
case 'mobile':
  return 'Please enter your mobile phone number<br><br>This is useful if there are last minute problems.';
case 'email_address':
  return 'Please enter an email to receive confirmation of your payment and entry.<br><br>Don\'t worry, it won\'t be used for spam or passed to anyone else.';
case 'join':
  s = 'Please select the membership type you want - individual for one driver or family for parents + 1 child.<br><br>';
  s+= 'Please let us know your BHDTA number if you belong to it - this can help us avoid paying unnecessary levy to the BHDTA if you already belong to it.';
  return s;
case 'bhdtanum1':
case 'bhdtanum2':
case 'bhdtanum3':
case 'bhdtanum4':
  s = 'If you belong to the BHDTA, get a £7.50 reduction by letting us know your BHDTA membership number - we have to pay BHDTA a levy and they charge us £7.50 less if you already belong to the BHDTA.';
  return s;
case 'junior':
  s = 'Juniors are people below 18 on 1st October at the start of the season.<br><br>They need their parent\'s or guardian\'s consent to compete.<br><br>';
  s+= 'Normally Juniors enter Novice Pony/Horse, Club, etc - only enter the Junior class if your organiser is holding a separate Junior class and suggests it.';
  return s;
case 'dob1':
case 'dob2':
case 'dob3':
case 'dob4':
  return  'We need to know date of birth for juniors only';
case 'notes':
  return 'Anything else you\'d like us to know, other useful information.';
case 'cfirst_name':
  s = 'First name of the person whose card is to be used for payment<br><br>';
  s += 'Please enter this exactly as it appears on your credit or debit card so the card company can validate you.<br><br>';
  s += 'You can copy this from the name at the top by clicking "Same as first member"';
  return s;
case 'clast_name':
  s = 'Surname of the person whose card is to be used for payment<br><br>';
  s += 'Please enter this exactly as it appears on your credit or debit card so the card company can validate you.<br><br>';
  s += 'You can copy this from the name at the top by clicking "Same as first member"';
  return s;
default:
  return '';
//  return mynam;
  }
}
//-----------------------------------------------------------------------------------------------

