$(document).ready(function(){$("#faq-link").click(function(){$("#faq-form-container").load($(this).attr("href"),function(){showLayer($("#faq-layer"));bindFaqForm()});return false});updateFaqSubject=function(){if($("#faq_subject_choice").val()=="x"){$("#faq_subject").show()}else{$("#faq_subject").hide()}};bindFaqForm=function(){bindCaptchaItems();updateFaqSubject();$("#faq_subject_choice").change(updateFaqSubject);$("#faq-form").submit(function(){$("#faq-loader").show();$.post($(this).attr("action"),$(this).serialize(),function(a){$("#faq-form-container").html(a);$("#faq-loader").hide();bindFaqForm()});return false})};bindCaptchaItems()});
