
/* 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() {

 // $.cluetip.setup({insertionType: 'insertBefore', insertionElement: 'div:first'});
 // $.fn.cluetip.defaults.ajaxSettings.beforeSend = function(ct) {
 //     console.log(this);
 // };



// jTip theme
	var idxToolTip = -1;
	$('a.jt').each(
		function(e)
		{
			++idxToolTip;
			$('a.jt:eq(' + idxToolTip + ')').cluetip({
				cluetipClass: 'jtip', 
				arrows: true, 
				dropShadow: false,
				sticky: true,
				mouseOutClose: true,
				closePosition: 'title',
				closeText: '<img src="img/tooltip/cross.png" alt="close" />'
			});
		}
	);


});

//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;
  });
});
  




