function postbackOldum() {
    $(document).ready(function() {
        $(".renklendirBeni tr:nth-child(even)").addClass("alt");

        $(".click_to_open").click(function() {
            var target_div = $("#" + $(this).attr("val"));
            if (target_div.is(":hidden")) {
                $(".click_to_open_div").slideUp("fast");
                target_div.slideDown("fast");
            } else {
                target_div.slideUp("fast");
            }
        });

        $(".click_to_open_zero_pad").click(function() {
            var target_div = $("#" + $(this).attr("val"));
            if (target_div.is(":hidden")) {
                $(".click_to_open_div_zero_pad").slideUp("fast");
                target_div.slideDown("fast");
            } else {
                target_div.slideUp("fast");
            }
        });        

        $(".sol_menu_accordion").click(function() {
            var target_div = $("#" + $(this).attr("val"));
            if (target_div.is(":hidden")) {
                $(".sol_menu_accordion_div").slideUp("fast");
                target_div.slideDown("fast");
            } else {
                target_div.slideUp("fast");
            }
        });

		//jQuery.noConflict();
		//jQuery(document).ready(function()
		//{
			ns_newsticker(".ticker span",3000); 
		//});

        $(function() {
            $("#treeview").treeview({
                collapsed: true,
                animated: "normal",
                persist: "location",
                unique: true
            });
        });
//        persist: "location",
        
    });
}

postbackOldum();

/*jquery de olan prototypelarýn üzerine yaz*/
jQuery.fn.fadeIn = function(speed, callback) {
    return this.animate({ opacity: 'show' }, speed, function() {
        if (jQuery.browser.msie)
            this.style.removeAttribute('filter');
        if (jQuery.isFunction(callback))
            callback();
    });
};
jQuery.fn.fadeOut = function(speed, callback) {
    return this.animate({ opacity: 'hide' }, speed, function() {
        if (jQuery.browser.msie)
            this.style.removeAttribute('filter');
        if (jQuery.isFunction(callback))
            callback();
    });
};
jQuery.fn.fadeTo = function(speed, to, callback) {
    return this.animate({ opacity: to }, speed, function() {
        if (to == 1 && jQuery.browser.msie)
            this.style.removeAttribute('filter');
        if (jQuery.isFunction(callback))
            callback();
    });
};
/*jquery de olan prototypelarýn üzerine yaz end*/