(function(){ var changeToSubmitted = function($el){ $el.toggleClass("js-notSubmitted js-submitted"); }; var submitFirstSearchFeedback = function(el){ var $link = $(".js-searchFeedbackLink"); $link.attr("href",BH.common.url.addParam($link.attr("href"),"submitted",$(el).data("form"))); $link.attr("href",BH.common.url.addParam($link.attr("href"),"id",$(el).data("id"))); $(".js-searchFeebackLayer .js-ajaxify").off("submitFirstSearchFeedback"); }; var submitSecondSearchFeedback = function(el){ var layer = $(el).closest(".openBhLayer"); changeToSubmitted($(".js-searchFeedback")); layer.delay(2000).fadeOut('fast',function(){ layer.find(".close")[0].click(); }); }; BH.globals.submitAnySearchFeedback = function($el){ changeToSubmitted($el.closest(".js-notSubmitted")); $el.trigger("submitFirstSearchFeedback"); $el.trigger("submitSecondSearchFeedback"); $(".js-searchFeebackLayer .js-ajaxify").on("submitSecondSearchFeedback",function(){ submitSecondSearchFeedback(this); }); }; $(".js-searchFeebackLayer .js-ajaxify").on("submitFirstSearchFeedback",function(){ submitFirstSearchFeedback(this); }); }()); $(".js-showCommentForm").on("click",function(){ $(".js-commentForm").slideDown("fast",function(){ $(this).closest(".popupLayer").centerOnPage() }); }); $(".commentForm form").validate({ onsubmit: true, onkeyup: false, rules: { comment: "required" }, messages: { comment: "Comment is required" } });

Search Feeback

Did you find what you were searching for? Yes No Thank you! Close Live Chat
Send us a comment
Thank you! Your comment has been submitted. Close
Thank you for your feedback!
For any other assistance contact Customer Service