 <p>That seems like it would be incredibly hard to maintain. I myself love jQuery plugins and always like to push code into a plugin when necessary.</p> <p>This is definitely not the way I develop websites and jQuery, please don't be put off!</p>