jQuery(function(n){function u(){return n("#poll_result").html(""),"url"==n(this).val()&&""!=n('input[name="how_did_you_find_us_url"]')?n('input[name="how_did_you_find_us_url"]').focus():(wysijaAJAX.task="save_poll",wysijaAJAX._wpnonce=wysijanonces.campaigns.save_poll,wysijaAJAX.how=n('input[name="how_did_you_find_us"]:checked').val(),wysijaAJAX.where=n('input[name="how_did_you_find_us_url"]').val(),jQuery.ajax({type:"POST",url:wysijaAJAX.ajaxurl,data:wysijaAJAX,success:_,error:e,dataType:"json"})),!1}function _(u){n("#poll_result").html(u.result.msg)}function e(u){alert("Request error not JSON:"+u.responseText)}n('input[name="how_did_you_find_us"]').change(u),n('input[name="how_did_you_find_us_url"]').blur(u)});