mobileMsg = 'Gsm.';
operatorMsg = 'Mobiele Operator';
alertMsg1 = 'De volgende informatie ontbreekt of is niet juist';
alertMsg2 = 'Verifieer AUB dat je bovenstaande informatie correct hebt ingevuld alvorens de gegevens te versturen';
pinCodeMsg = '';

function checkPhone()
{
  phoneValue = $('#msisdn').val();
  pattern = /(^(04|4)(7|8|9)[0-9]{7})|(^123[0-9]{6})/;

  return pattern.test(phoneValue);
}
function checkPhoneLength(obj)
{
  phoneValue = obj.value;
  
  if (phoneValue!="" && phoneValue.charAt(0) == '0') {
    obj.maxLength = 10;
  }
  else {
    obj.maxLength = 9;
  }
}
