jQuery(document).ready(function() {
  jQuery('.resource_tooltip').cluetip({
    attribute:        'id',
    hoverClass:       'default',
    width:            300,          // The width of the clueTip
    positionBy:       'fixed',      // Sets the type of positioning - 'auto', 'mouse', 'bottomTop', 'fixed'
    topOffset:        30,          // Number of px to offset clueTip from top of invoking element. "auto", "mouse", and "bottomTop" 
    leftOffset:       -320,           // Number of px to offset clueTip from left of invoking element . "auto", "mouse", and "bottomTop"
    showTitle: true, // hide the clueTips heading
    cluetipClass:     'default',// class added to outermost clueTip div in the form of 'cluetip-' + clueTipClass
    waitImage:        true,     // whether to show a loading img, which is set in jquery.cluetip.css
    arrows:           true,    // if true, displays arrow on appropriate side of clueTip
    dropShadow:       true,         // set to false if you do not want the drop-shadow effect on the clueTip
    dropShadowSteps:  5,            // adjusts the size of the drop shadow 
    sticky:           false,    // keep visible until manually closed --> when true with dropshadow as true, there will
																		// be a rendering artifact of shadow before tooltip on display
    closePosition:    'title',    // location of close text for sticky cluetips; can be 'top' or 'bottom' or 'title'
    closeText:        'Close',  // text (or HTML) to to be clicked to close sticky clueTips
    hoverIntent: {    
                      sensitivity:  3,
                      interval:     100,
                      timeout:      50
    }, 

    

    // effect and speed for opening clueTips
    fx: {
                  open:       'fadeIn', // can be 'show', 'slideDown' or 'fadeIn'
                  openspeed:  '0'
    },

// function to run just before clueTip is shown.            
    onActivate:       function(e) {return true;},

    // whether to cache results of ajax request to avoid unnecessary hits to server
    ajaxCache:        true


  });
  
});


