jQuery.my_contact_confirm = function(){

  var my_cf7_value_array = new Array();
  var my_cf7_find_element = 'input:not(:hidden), textarea, select, span.wpcf7-list-item-label';

  var my_contact_confirm_element_check = function(e){
    if (
      e.attr("class") != 'wpcf7-list-item-label' &&
      e.attr("type") != 'submit' &&
      ( (e.attr("type") != 'checkbox' && e.attr("type") != 'radio') ||
        (e.attr("type") == 'checkbox' || e.attr("type") == 'radio') && e.attr("checked")
      )
    )
      return true;
    return false;
  }

  jQuery('div.wpcf7 > form')
    .find(my_cf7_find_element)
      .each(function(index){
        if (my_contact_confirm_element_check(jQuery(this)))
          my_cf7_value_array[index] = jQuery(this).val();
      }).end()
    .clone().insertAfter('div.wpcf7:first').wrapInner('<div id="contactForm7Clone"></div>');

  jQuery('#contactForm7Clone')
    .unwrap()
    .find(my_cf7_find_element)
      .each(function(index){
        if (my_contact_confirm_element_check(jQuery(this)))
          jQuery(this).after('<span>'+my_cf7_value_array[index].replace(/(\r\n|\n|\r)/g,'<br />')+'<span>');
        jQuery(this).remove();
      }).end();

  new $pop(
    jQuery('#contactForm7Clone').html(),
    { type: 'confirm',
      title: '縺薙?蜀?ｮｹ縺ｧ騾∽ｿ｡縺励∪縺吶°?',
      modal:true,
      nomove:true,
      close:false,
      width: 500,
      height: 250,
      NO:function(){
        jQuery('*[name=_wpcf7_is_ajax_call]').remove();
        jQuery('div.wpcf7-response-output:first').css('display','none');
      } ,
      YES:function(){
        jQuery('form.wpcf7-form:first').append('<input type=\"hidden\" name=\"contactForm7ConfirmAccept\" value="1">');
        jQuery('form.wpcf7-form:first').trigger('submit');
      }
    });
  jQuery('#contactForm7Clone').remove();

}
