// Loads up the various functions we are going to use $(document).ready(function(){ jsEnabled(); lastLi(); corners(); imgLeft(); imgRight(); newerEntries(); olderEntries(); }); // Adds a class to the body so I can style differently depending on whether Javascript is enabled. function jsEnabled() { $("body").addClass("jsenabled"); } function lastLi() { $("ul li:last-child").addClass("lastLi"); } function imgLeft() { $("img[align=left]").addClass("alignleft"); } function imgRight() { $("img[align=right]").addClass("alignright"); } // adds lots of divs used to create the rounded corners function corners() { $("#header").append('