/* the next line is an example of how you can override default options globally (currently commented out) ... */

 // $.fn.cluetip.defaults.tracking = true;
  // $.fn.cluetip.defaults.width = 'auto';
$(document).ready(function() {

// jTip theme
  $('a.jt').cluetip({
    cluetipClass: 'jtip', 
    width:500,
    height: '400px', 
    arrows: true, 
    dropShadow: false,
    sticky: true,
    mouseOutClose: true,
    closePosition: 'title',
    closeText: '<img src="../cluetip/demo/cross.png" alt="close" />'
  });

  $('select.cl').cluetip({splitTitle: '|', positionBy: 'mouse', tracking: true});
 
});

//unrelated to clueTip -- just for the demo page...

$(document).ready(function() {
  $('div.html, div.jquery').next().css('display', 'none').end().click(function() {
    $(this).next().toggle('fast');
  });
  
  $('a.false').click(function() {
    return false;
  });
});