﻿//manipularea tabelului cu zodii

function zodiiTabel() { $("document").ready(function() {

    $("#clickAiciID").css("cursor", "pointer");

    $("#proba").hide();

    $("#clickAiciID").toggle(
                    function() {
                        $("#proba").show("normal");
                        $("#arrowID").attr("src", "images/sg_asocieri_inv.gif");
                        $("#spanExpandID").html("RESTRANGE PANOU ASOCIERI");
                        $("#imgZodiiID").removeClass("border_active");
                        $("#imgZodiiID").addClass("border_inactive");
                    },
                    function() {

                        $("#proba").hide("normal");
                        $("#arrowID").attr("src", "images/sg_asocieri.gif")
                        $("#spanExpandID").html("EXPANDEAZA PANOU ASOCIERI");
                        $("#imgZodiiID").removeClass("border_inactive");
                        $("#imgZodiiID").addClass("border_active");

                    }
       );


    $("#tabelID tr").addClass("back_tr");
    $("#tabelID tr").addClass("back_tr");
    $("#tabelID td:not(:has(style2))").addClass("tdBorder align ");
    $("#tabelID tr").hover(
                    function() {
                        $(this).removeClass("back_tr");
                        $(this).addClass("highlight");

                    },
                    function() {
                        $(this).toggleClass("highlight");
                        $(this).addClass("back_tr");
                    }
    );
    });
}

//efectul de fade din master page

function fadeContent() {$("document").ready(function() {
    $("#fadeContentID").css("opacity", "0.0").animate({ opacity: "1.0" }, 1000, function() {
        $(this).fixClearType();
        $("#fadeContentID").removeClass("transparent_class");
    });

});
}



jQuery.fn.fixClearType = function(){
    return this.each(function(){
        if( !!(typeof this.style.filter  && this.style.removeAttribute))
            this.style.removeAttribute("filter");
    })

}




