
// Tooltip
jQuery(document).ready(function($) {
    $("a").tooltip({
        track: true, 
        delay: 0, 
        showURL: false, 
        showBody: " - ", 
        fade: 250
       });
    });

// Mouseover Fade Effects
jQuery(document).ready(function($){
    $(".thumbListStudio li .thumb a .subWrapper").fadeTo("slow", 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads
    $(".thumbListStudio li .thumb a .subWrapper").hover(function(){
        $(this).fadeTo(500, 1.0); // This should set the opacity to 100% on hover
        
    },function(){   		
        $(this).fadeTo(500, 0); // This should set the opacity back to 60% on mouseout
    });
});

(function($) {
    jQuery(function($) {
        // for search
        $("select", ".boardSearchForm").uniform();
        // for board write
        $("select, input:checkbox, input:radio[class!=star], input:file", ".attachment").uniform();
        $("select", ".jumpTo").uniform();
		$("select", ".boardWriteHeader").uniform();
        // for category box & administrative checkbox on list
        $("input:checkbox", ".boardListForm").uniform({checkedClass:'checked'});
        // change tab-style category
        $('.changeCategory').click(function() {
            var url = decodeURI(current_url);
            var mid = $('input[name=mid]', '#fo_dummy').val();
            if (mid) url = url.setQuery('mid',mid);
            location.href = url.setQuery('category',$(this).attr('category')).setQuery('document_srl', '');
        });
    });
}) (jQuery);

