jQuery(document).ready(function() {
  jQuery('a.tooltip').cluetip({
    width:            350,       // The width of the clueTip
    positionBy:       'fixed',   // Sets the type of positioning - 'auto', 'mouse', 'bottomTop', 'fixed'
    topOffset:        0,         // Number of px to offset clueTip from top of invoking element. "auto", "mouse", and "bottomTop" 
    leftOffset:       20,        // 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
  });
  
  jQuery('a.event_tooltip').cluetip({
    positionBy:       'auto',   // Sets the type of positioning - 'auto', 'mouse', 'bottomTop', 'fixed'
    topOffset:        'bottomtop',         // Number of px to offset clueTip from top of invoking element. "auto", "mouse", and "bottomTop" 
    showTitle: true,             // hide the clueTips heading
    cluetipClass:     'blue', // 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'
    hoverIntent: {    
                      sensitivity:  3,
                      interval:     100,
                      timeout:      50
    }, 

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

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

  jQuery('a.click_tooltip').cluetip({
    width:            300,       // The width of the clueTip
    positionBy:       'fixed',   // Sets the type of positioning - 'auto', 'mouse', 'bottomTop', 'fixed'
    topOffset:        20,        // Number of px to offset clueTip from top of invoking element. "auto", "mouse", and "bottomTop" 
    leftOffset:       -316,      // Number of px to offset clueTip from left of invoking element . "auto", "mouse", and "bottomTop"
    showTitle:        false,      // 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:           false,      // 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:           true,      // keep visible until manually closed --> when true with dropshadow as true, there will
                                 //   be a rendering artifact of shadow before tooltip on display
    closePosition:    'top',   // 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
  });

  jQuery('a.gtet_tooltip').cluetip({
    activation:       'click',
    width:            300,       // The width of the clueTip
    positionBy:       'fixed',   // Sets the type of positioning - 'auto', 'mouse', 'bottomTop', 'fixed'
    topOffset:        20,        // Number of px to offset clueTip from top of invoking element. "auto", "mouse", and "bottomTop" 
    leftOffset:       -316,      // Number of px to offset clueTip from left of invoking element . "auto", "mouse", and "bottomTop"
    showTitle:        false,      // 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:           false,      // 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:           true,      // keep visible until manually closed --> when true with dropshadow as true, there will
                                 //   be a rendering artifact of shadow before tooltip on display
    closePosition:    'top',   // 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
  });
});


