$(function(){
    $(".inputKeyword").focus(function() {
        if($(this).val() == $(this).attr('defaultValue'))
            $(this).css('color', '#000').val('');
    }).blur(function() {
        if(jQuery.trim($(this).val()) == "") {
            $(this).css('color', '#899E9F').val($(this).attr('defaultValue'));
        }
    });
});
$(function(){
    $(".inputEmail").focus(function() {
        if($(this).val() == $(this).attr('defaultValue'))
            $(this).css('background-color', '#ffffff').css('color', '#000').val('');
    }).blur(function() {
        if(jQuery.trim($(this).val()) == "") {
            $(this).css('background-color', '#f2f2f2').css('color', '#cccccc').val($(this).attr('defaultValue'));
        }
    });
});
$(".todofuken").change(function(){
    $(".todofuken").css('color', '#000');
  });
$(".test").ready(function(){
    $(".test").css('color', '#899E9F').val('アパート・マンション名など');
  });
function checkBox() {
  if (document.ecForm.sameCusInfo.checked == true) {
    document.ecForm.afd[0].checked = false;
    document.ecForm.afd[1].checked = false;
    document.ecForm.afd[2].checked = false;
  }
}
function radioButton() {
  if (document.ecForm.afd[0].checked == true) {
    document.ecForm.sameCusInfo.checked = false;
  }
  if (document.ecForm.afd[1].checked == true) {
    document.ecForm.sameCusInfo.checked = false;
  }
	if (document.ecForm.afd[2].checked == true) {
    document.ecForm.sameCusInfo.checked = false;
  }
}