$(document).ready(function(){
	
	
	
    // TOOL TIPS START //
    $(".tip").bt({
		centerPointY: 0,
 		positions: ['left', 'top'],
        titleSelector: "attr($(this .tip).attr('title'))",
        fill: '#F7F7F7',
        strokeStyle: '#0f75bc',
        spikeLength: 10,
        spikeGirth: 10,
        padding: 8,
        cornerRadius: 0,
        cssStyles: {
            fontFamily: '"lucida grande",tahoma,verdana,arial,sans-serif',
            fontSize: '0.9em'
        },
        shadow: true,
        shadowOffsetX: 3,
        shadowOffsetY: 3,
        shadowBlur: 8,
        shadowColor: '#666',
        shadowOverlap: false,
        noShadowOpts: {
            strokeStyle: '#0f75bc',
            strokeWidth: 3
        },
        cornerRadius: 8,
        animate: true,
        showTip: function(box){
            $(box).fadeIn(100);
        },
        hideTip: function(box, callback){
            $(box).animate({
                opacity: 0
            }, 300, callback);
        },
        shrinkToFit: true,
        hoverIntentOpts: {
            interval: 200,
            timeout: 400
        }
    });
	

	
	$(".top-tip").bt({
		centerPointY: 0,
 		positions: ['top', 'center'], 
        titleSelector: "attr($(this .tip).attr('title'))",
        fill: '#F7F7F7',
        strokeStyle: '#0f75bc',
        spikeLength: 10,
        spikeGirth: 10,
        padding: 8,
        cornerRadius: 0,
        cssStyles: {
            fontFamily: '"lucida grande",tahoma,verdana,arial,sans-serif',
            fontSize: '0.9em',
			textAlign:'center'
        },
        shadow: true,
        shadowOffsetX: 3,
        shadowOffsetY: 3,
        shadowBlur: 8,
        shadowColor: '#666',
        shadowOverlap: false,
        noShadowOpts: {
            strokeStyle: '#0f75bc',
            strokeWidth: 3
        },
        cornerRadius: 8,
        animate: true,
        showTip: function(box){
            $(box).fadeIn(100);
        },
        hideTip: function(box, callback){
            $(box).animate({
                opacity: 0
            }, 300, callback);
        },
        shrinkToFit: true,
        hoverIntentOpts: {
            interval: 200,
            timeout: 400
        },
		btParentNode:'$(this).find("body")'
    });
    // TOOL TIPS END
    
    
});

