// ### jQuery ###


// ### QTip
$(document).ready(function(){
        $('.contentBox .tip li a[title]').qtip({
            style: { 
                name: 'dark', 
                tip: true,
                width: { min: 100, max: 300 },
                background: '#c10134',
                color: '#dfdfdf',
                textAlign: 'left',
                border: {width: 2, radius: 0, color: '#c10134'}
            }, 
            position: {
              corner: {
                target: 'topRight',
                tooltip: 'bottomLeft'
                }
            },
            show: { effect: 'fade', delay: 50 },
            hide: { effect: 'fade', delay: 250 }
            })

        $('.google').qtip({
            content: { url: 'impressum.php' },
            style: {
                width: {min: 250, max: 500},
                padding: 10,
                cursor: 'pointer',
            },
            hide: { fixed: true, delay: 1000},
            position: { 
                corner: {
                    tooltip: 'bottomRight' 
                },
                adjust: { x: 0, y: -25 },
            }
        })

});


// ### SLIDER

$(document).ready(function() {
   $('#s3slider').s3Slider({
      timeOut: 5000
   });
}); 


// ### Last contentBox margin 0:

$(document).ready(function() {
   $('div.contentBox:last').css("margin-bottom", "0");
});



/*
// ### Zebrastripes für Tabelle: ### 

$(document).ready(function(){
	$("table tr:even").css( { "background-color" : "#dfdfdf" });
	$("table tr:odd").css( { "background-color" : "#d6d6d6"});	
});
*/
