//Stores help for payment form
//-----------------------------------------------------------------------------------------------
function m_gethelp(mynam)
//return help text
{
var s;

switch (mynam) {
case 'd':
  s =  'Payment was declined. Maybe your card details or address weren\'t right - the address needs to match the card exactly.<br><br>';
  s += 'That means this order has not been sent and you have not been charged for it.<br><br>';
  s += 'If you want to complete this, 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 buy Inharness magazine 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>Inharness, its staff and computers will never see your card details.<br><br>';
  s += 'When you have filled in this form, press "Pay..." and 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>';
  s += 'At the moment we can accept online orders from the UK only - please email us at editor@inharness.co.uk if you\'re outside this area.';
  return s;
case 'first_name':
case 'first_name2':
case 'first_name3':
case 'first_name4':
   return 'First name';
case 'last_name':
case 'last_name2':
case 'last_name3':
case 'last_name4':
   return 'Surname';
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 '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;
  }
}
//-----------------------------------------------------------------------------------------------
