$(document).ready(function(){$("form").attr("method","POST");$("input[name=phone]").mask("+7 (999) 999-99-99",{placeholder:"x"});$("input,textarea").bind("focus",function(){$(this).parents(".field").removeClass("error")});$(".btn, .button").bind("click",function(){$(this).attr("disabled")||$(this).parents("form").submit();return!1})});
