/**
 * @author R'Phael Spindel
 */

jQuery(document).ready(function($) {
  $('.ctip').cluetip({
  				// splitTitle: 	'|',
				showTitle:	 	false,
				dropShadow:		true,
				hoverClass:		'bizbashbuzz-feeditem-highlight',
				arrows:			true,
				positionBy:		'fixed', 
				topOffset: 		60,
				leftOffset:		60,
				local:			true,
				hideLocal:		true,
				width: 			600,
			   	activation:	'click',
				sticky:			true,
				//truncate: 	60,
				
			    // effect and speed for opening clueTips
			   //fx: {             
			   //                   open:       'show', // can be 'show' or 'slideDown' or 'fadeIn'
			   //                   openSpeed:  ''
			   // },				
	
			    // settings for when hoverIntent plugin is used
    			hoverIntent: {    
                      sensitivity:  7,
                      interval:     200,
                      timeout:     400  // time to wait before calling mouseout on trigger element (in milliseconds)
    			} 
    
			});
	  $('.ctip-click').cluetip({
	  				// splitTitle: 	'|',
					showTitle:	 	false,
					dropShadow:		true,
					hoverClass:		'bizbashbuzz-feeditem-highlight',
					arrows:		true,
					positionBy:		'fixed', 
					topOffset: 		30,
					leftOffset:		30,
					local:			true,
					hideLocal:		true,
					width: 			600,
				   	activation:	'click',
					sticky:			true,
					//truncate: 	60
					
					
		
				    // settings for when hoverIntent plugin is used
	    			hoverIntent: {    
	                      sensitivity:  23,  // If the mouse travels fewer than this number of pixels between polling intervals, then the "over" function will be called. With the minimum sensitivity threshold of 1, the mouse must not move between polling intervals. With higher sensitivity thresholds you are more likely to receive a false positive.  Default interval: 100
	                      interval:     10,  // The number of milliseconds hoverIntent waits between reading/comparing mouse coordinates. When the user's mouse first enters the element its coordinates are recorded. The soonest the "over" function can be called is after a single polling interval. Setting the polling interval higher will increase the delay before the first possible "over" call, but also increases the time to the next point of comparison. Default interval: 100
	                      timeout:     400   //  A simple delay, in milliseconds, before the "out" function is called. If the user mouses back over the element before the timeout has expired the "out" function will not be called (nor will the "over" function be called). This is primarily to protect against sloppy/human mousing trajectories that temporarily (and unintentionally) take the user off of the target element... giving them time to return. Default timeout: 0
	    			} 
	    
				});			
  $('.ctip-inline').cluetip({
  				// splitTitle: 	'|',
				showTitle:	 	true,
				dropShadow:		true,
				hoverClass:		'bizbashbuzz-inlinevideoitem-highlight',
				arrows:		true,
				positionBy:		'fixed', 
				topOffset: 		30,
				leftOffset:		30,
				local:			true,
				hideLocal:		true,
				width: 			400,
			   	//activation:	'click',
				sticky:			true,
				//truncate: 	60,
				closePosition:	'title',
	
			    // settings for when hoverIntent plugin is used
    			hoverIntent: {    
                      sensitivity:  23,
                      interval:     10,
                      timeout:     400  // time to wait before calling mouseout on trigger element (in milliseconds)
    			} 
    
			});			
			
  $('.ctip-hover').cluetip({
  				// splitTitle: 	'|',
				showTitle:	 	false,
				dropShadow:		true,
				hoverClass:		'bizbashbuzz-feeditem-highlight',
				// arrows:		true,
				positionBy:		'fixed', 
				topOffset: 		30,
				leftOffset:		10,
				local:			true,
				hideLocal:		true,
				width: 			600,
			   	// activation:	'click',
				// sticky: 		true
				//truncate: 	60
			});			
  });