diff --git a/includes/advanced_forum_preprocess_node.inc b/includes/advanced_forum_preprocess_node.inc
index def2b6f..0f590b1 100644
--- a/includes/advanced_forum_preprocess_node.inc
+++ b/includes/advanced_forum_preprocess_node.inc
@@ -38,6 +38,11 @@ function _advanced_forum_preprocess_node(&$variables) {
     advanced_forum_add_template_suggestions("post", $variables['template_files']);
   }
 
+  // Add the JS for nodes (as opposed to listings)
+  //  added here in order that the template file selection logic above could decide
+  //  not to add this JS in certain circumstances.
+  drupal_add_js(drupal_get_path('module', 'advanced_forum') . '/js/advanced_forum_node.js', 'module');
+
   /* Topic header */
   // Check if this node is the first post, aka topic head. When using the
   // comment module, this will always be true because replies are not nodes
diff --git a/js/advanced_forum_node.js b/js/advanced_forum_node.js
new file mode 100644
index 0000000..81e6e49
--- /dev/null
+++ b/js/advanced_forum_node.js
@@ -0,0 +1,22 @@
+/**
+ * JS added when rendering nodes
+ */
+
+/**
+ * Quick reply - make comment form focused
+ */ 
+Drupal.behaviors.advancedForumQuickReplyFocus = function(context) {
+  // only proceed if the comment form is on this page
+  if ($('#edit-comment').length) { 
+    $('.topic-reply-allowed a:not(.quick-reply-checked)', context).addClass('quick-reply-checked').click(function(e){
+      if ($('#edit-subject').length) {
+        $('#edit-subject').focus();
+      }
+      else {
+        $('#edit-comment').focus();
+      }
+      e.preventDefault();
+      return false;
+    });
+  }
+};
\ No newline at end of file
