// Things and stuff and bits and bobs go here. You know, stuff that does 
// things to other things. Yeah, you got it. That kind of junk goes in here.

$(document).ready(function(){

    function toggler(link, tog, foc, ret) {
		$(link).click(function(){
			$(tog).toggle();
			$(foc).focus();
			return ret;
		});
    }
    
    $('#respond').hide();
    $('#searchform').hide();
    $('#s-no-results').focus();
    
    toggler('.comment-link', '#respond', '#comment', true);
    toggler('.search-link', '#searchform', '#searchform #s', false);
    
});