$(function(){WE.answers.bindHelpfulnessForms();WE.answers.bindCommentForms()});WE.answers={};WE.answers.bindHelpfulnessForms=function(a){if(typeof(a)=="undefined"){a=".helpful_answer_form"}$(a).ajaxForm({dataType:"script"})};WE.answers.bindCommentForms=function(b){if(typeof(b)=="undefined"){b="#questions_page .answer"}var a=$(b);a.find(".add_comment_form").hide();a.find(".add_comment").show().click(function(){$(this).parents(".answer").find(".add_comment_form").show();$(this).parents(".answer").find(".add_comment_form textarea").focus();$(this).hide();return false})};WE.answers.wireQuestionForm=function(){$("#extended_categories").hide();$("#show_extended_categories").click(function(){$("#extended_categories").show();$(this).hide();return false});$("input.question_title").charCounter(140,true,true);$(".form_cover").height($(".form_cover").parents(".boox_xnarrow").outerHeight());$(".form_cover").width($(".form_cover").parents(".boox_xnarrow").outerWidth());$("#category_list input.checkbox").limitCheckedBoxes({limit:4})};