

// ======================================================================

//

//	On document ready functions

//

// ======================================================================



$(document).ready(function() {

	

	

	// Tooltip hover effect (jQuery clueTip)

	// -------------------------------------------------------------------

		$.fn.cluetip.defaults.cluetipClass	=	'skinned';		// added in the form of 'cluetip-' + clueTipClass

		$.fn.cluetip.defaults.cluezIndex	=	1234;			// z-index style property

		$.fn.cluetip.defaults.dropShadow	=	false;			// use drop shadow (off is best for image skinned tips)

		$.fn.cluetip.defaults.topOffset		=	35;				// px to offset clueTip from top

		//$.fn.cluetip.defaults.width 		=	250;			// default width

		//$.fn.cluetip.defaults.local		=	true;			// lets ontent from the same page act as tool tip (attribute for tip treated as jQuery selector)

		//$.fn.cluetip.defaults.splitTitle	=	"|";			// seperator title="Tip Title | Tip test after seperator"

		//$.fn.cluetip.defaults.leftOffset	=	15;				// px to offset clueTip from left



		$.fn.cluetip.defaults.fx = {							// effect and speed for opening clueTips

			open:		'fadeIn', 	// can be 'show' or 'slideDown' or 'fadeIn'

			openSpeed:	'100'		// speed of effect

		};

		$.fn.cluetip.defaults.hoverIntent	= {					// settings for hoverIntent plugin	

			sensitivity:  3,		

			interval:     100,		// delay before showing tip

			timeout:      80		// delay hiding tip

		};

		$.fn.cluetip.defaults.onShow		=	function(ct, c){

			// on display fix spacing for title only tips

			if ($('#cluetip-inner').html() == '') {

				// add helper class

				(jQuery.browser.msie) ? $('#cluetip').addClass('ieFix') : $('#cluetip').addClass('mozFix');				

			} else {

				// remove helper class

				(jQuery.browser.msie) ? $('#cluetip').removeClass('ieFix') : $('#cluetip').removeClass('mozFix');	

			}

		};

	

});
