﻿
$(document).ready(function () {

    $(function () {
        // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
        $(".cphContent_testTree_2").parent().children(":first-child").children(":first-child").addClass("min");


        $("#log").corner("left 10px");
        $("#banner").corner("right 10px");

        $("#maincontainer").corner("15px");
        $(".left").corner("left 10px");

        $(".box-center").each(function () {
            $(this).corner("right 10px");
        });
        //        $(".content-box").each(function () {
        //            $(this).corner("right 10px");
        //        });

        $(".center").corner("right 10px");


//        $("#banner").css({ 'top': 53 });
//        $("#log").css({ 'top': 53 });
//        $("#content").css({ 'top': 20 });

//        if ($("#mainMenu").height() > 53) {
//            var offsetBanner = $("#banner").offset();
//            var offsetLogin = $("#log").offset();
//            var offsetContent = $("#content").css('padding-top');

//            $("#banner").css({ 'top': offsetBanner.top + 50 });
//            $("#log").css({ 'top': offsetLogin.top + 50 });
//            $("#log").css({ 'padding-top': offsetContent.top + 20 });
//            
//        }



    });

});

