$(function() {
    var blogContent = $(".blogFeed").html();
    $("#blogFeed").html(blogContent);
    $("#blogFeed li:nth-child(1)").addClass("first_blog");
    $("#blogFeed li:last").css("border","none");
    
    $(".calendar table").attr("style","").css("width","100%");
    $(".calendar table td:first").attr("style","");
    $("td.CalendarDay").attr("style","");
    $("td.CalendarDay a").attr("style","");
    
    $(".MMDataCaptureForm_Table td span:first").attr("style","color: #5d1c2f;");
    
    var eventContent = $(".event").html();
    $("#events").html(eventContent);
    
    $(".gallery_img a").lightBox();
    
    if ($(".login_panel").is(":visible")) {
        $("html, body").animate({ scrollTop: 250}, "slow");
    }

	
   $(".username a").each(function(){

        var userName1 = $(this).attr("href");
        userName1 = userName1.replace("\u0020","");
        $(this).attr("href",userName1);
    });
    
    
});