﻿
$(document).ready(function() {

  swapValues = [];
  $('.swap-value').each(function(i) {
    swapValues[i] = $(this).val();
    $(this).focus(function() {
      if ($(this).val() == swapValues[i]) {
        $(this).val('');
      }
    }).blur(function() {
      if ($.trim($(this).val()) == '') {
        $(this).val(swapValues[i]);
      }
    });
  });

});
