rhjQuery(document).ready(function() {
    rhjQuery("#rhtBlogArchives").find("li").children().next().hide();
    rhjQuery("#rhtBlogArchives li").has("ul").click(function(e) {
        if(rhjQuery(e.target).nextAll().is(":hidden"))
            rhjQuery(e.target).nextAll().show();
        else
            rhjQuery(e.target).nextAll().hide();
    });

    rhjQuery("#rhtBlogArchives li ul li").has("ul").click(function(e) {
        if(rhjQuery(e.target).nextAll().is(":hidden"))
            rhjQuery(e.target).nextAll().show();
        else
            rhjQuery(e.target).nextAll().hide();
    });


    rhjQuery("#rhtBlogArchives").css("display", "");	

	rhjQuery("#rhtBlogArchives li:visible:last").addClass("last");
});
