function clrFld(input)
{
  input.value = '';
}

function numOnly(input)
{
  input.value = input.value.replace(/[^0-9]/g, '');
}

function zeroOne(input)
{
  input.value = input.value.replace(/[^01]{1}/g, '');
}

function checkNull(input)
{
  if (input.value == '')
  { input.value = '0'; }
}

function sizeTotal(input, price)
{
  var total = document.getElementById('Row' + input + 'sml').value * price;
  total += document.getElementById('Row' + input + 'med').value * price;
  total += document.getElementById('Row' + input + 'lrg').value * price;
  total += document.getElementById('Row' + input + 'xl').value * price;
  total += document.getElementById('Row' + input + '2x').value * price;
  total += document.getElementById('Row' + input + '3x').value * price;
  var Total = document.getElementById('Total' + input);
  Total.innerHTML = '$' + total;
}

