$(document).ready(function() {
    if (jQuery.browser.msie) {
        try {
            document.execCommand("BackgroundImageCache", false, true);
        } catch(err) {}
    }
    $("#header,.tab-box,.tab-box-2,.filter ul,.filter-2 ul,.filter-3 ul,.document-info ul,.documents-thumb").hide();
    $("#header").fadeIn(1000,
    function() {
        $(".tab-box,.tab-box-2").fadeIn(200,
        function() {
            })
    });
    $(".tab-box > ul").tabs({
        });
    $(".tab-box-2 > ul").tabs({
        selected: 0
    });
    $('a.text-popup').cluetip({
        height: '300px',
        local: true,
        sticky: true,
        cursor: 'pointer',
        dropShadow: true,
        dropShadowSteps: 3,
        leftOffset: 20,
        width: 250,
        positionBy: 'mouse',
        arrows: true,
        showTitle: false,
        mouseOutClose: true,
        fx: {
            open: 'fadeIn',
            openSpeed: ''
        },
        hoverIntent: {
            sensitivity: 3,
            interval: 200,
            timeout: 500
        }
    });
    $('span[@title]').cluetip({
        splitTitle: '|',
        sticky: false,
        dropShadow: true,
        dropShadowSteps: 3,
        leftOffset: 20,
        width: 200,
        positionBy: 'mouse',
        arrows: true,
        showTitle: false,
        mouseOutClose: true,
        fx: {
            open: 'fadeIn',
            openSpeed: ''
        },
        hoverIntent: {
            sensitivity: 3,
            interval: 200,
            timeout: 500
        }
    });
    $(".filter,.filter-2,.filter-3").hoverIntent(function() {
        $(this).addClass("f-on"),
        $(this).children("ul").show(250);
    },
    function() {
        $(this).removeClass("f-on"),
        $(this).children("ul").hide(250);
    });



$('#container > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });

// HINZUGEFÜGT AM 25.10.2008
$('a.thickbox').cluetip({
		height: '300px',
        local: false,
        sticky: true,
        cursor: 'pointer',
        dropShadow: true,
        dropShadowSteps: 3,
        leftOffset: 20,
        width: 250,
        positionBy: 'mouse',
        arrows: true,
        showTitle: false,
        mouseOutClose: true,
        fx: {
            open: 'fadeIn',
            openSpeed: ''
        },
        hoverIntent: {
            sensitivity: 3,
            interval: 200,
            timeout: 500
        },
		onShow: function(){tb_init('a.thickbox, area.thickbox, input.thickbox');}
	});
	
//close doc ready function
});
