        var $j = jQuery.noConflict();
        $j(document).ready(function($){
                $('#slider').anythingSlider({
                    startStopped   : true,
                    resizeContents : false,
                    easing         : "linear",
                    autoPlay       : true,
                    animationTime  : 1000,
                    hashTags       : false,
                    buildNavigation: true,
                    pauseOnHover   : true
                });
                $("#container #content .content_right .anythingSlider").each(function(i, slider) {
                     if ( $("ul li", slider).not(".cloned").length == 1 ) {
                        $(".anythingSlider img").one("load",function(){
                            $(".anythingSlider .panel").css("height",$(this).height());
                            $(".anythingSlider .panel").css("width",$(this).width());
                            $(".anythingSlider").css("height",$(this).height());
                        })
                        $(".anythingSlider img").each(function(){ if(this.complete) $(this).trigger("load"); });
                        $(".arrow", slider).hide();
                        $("#thumbNav", slider).hide();
                        $("#descriere").css("borderRight","none");
                    }
                    if ( $("ul li", slider).not(".cloned").length > 1 ) {
                        $(".anythingSlider img").one("load",function(){
                            $(this).parent().parent().css("height",$(this).height());
                            $(this).parent().parent().css("width",$(this).width());
                            if( $(this).parent().parent().hasClass('activePage') ){
                                $(".anythingSlider").css("height",$(this).height());
                                $(".anythingSlider").css("width",$(this).width());
                            }
                        })
                        $(".anythingSlider img").each(function(){ if(this.complete) $(this).trigger("load"); });
                    }
                    if($("ul li", slider).length == 0){
                        $(".arrow", slider).hide();
                        $("#descriere").css("borderRight","none");
                    }
                });

                $(".content_left ul li a").css({ opacity: .4 });
                $(".content_left ul li a").hover(function () {
                    $(this).css({ opacity: 1 });
                }, function () {
                    $(this).css({ opacity: .4 });
                    $(".content_left ul li a.selected").css({ opacity: 1 });
                });

                $(".content_left ul li a.selected").css({ opacity: 1 });
        });
