 

$(document).ready(function() {




//-----------------------------------------------------------------------------//	
		 
		$.fn.ezpz_tooltip.positions.leftStatic = function(contentInfo,mouseX,mouseY,offset,targetInfo){
			 contentInfo['top']=(targetInfo['top']+(targetInfo['height']))-(targetInfo['height']);
			 contentInfo['left']=targetInfo['left']-targetInfo['width']+offset-67;
			 return contentInfo;
		};
		
		
		$.fn.ezpz_tooltip.positions.rightStatic=function(contentInfo,mouseX,mouseY,offset,targetInfo){
			contentInfo['top']=(targetInfo['top']+(targetInfo['height']))-(targetInfo['height']);
			contentInfo['left']=targetInfo['left']+targetInfo['width']+offset-10;
			return contentInfo;
		};
		
			
			 $("#example-target-1").ezpz_tooltip({
				contentPosition: 'leftStatic'
			});
			
			 $("#example-target-2").ezpz_tooltip({
				contentPosition: 'rightStatic'
			});
			
			 $("#example-target-3").ezpz_tooltip({
				contentPosition: 'leftStatic'
			});
			
			 $("#example-target-4").ezpz_tooltip({
				contentPosition: 'rightStatic'
			});
		
		
		
			
//-----------------------------------------------------------------------------//		
		
			var is_visible = false;
			$('.toggle').hide();
	 
			
			
			
			
//-----------------------------------------------------------------------------//	
			

			$("#our-team-wrapper .team-member .toggleLink").hover(function() {  
				var thumbOver = $(this).find("img").attr("src"); 
				
				$(this).css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});
				$(this).parent().next('.toggle').show('normal');
				
				$(this).find("span").stop().fadeTo('normal', 0 , function() {
					$(this).hide()
					
					
					  
				});
			} , function() {  
				$(this).find("span").stop().fadeTo('normal', 1).show();
				$(this).parent().next('.toggle').hide('normal');
			});
			
		
			
			
//-----------------------------------------------------------------------------//				
	
	
	
	
	
	
	
	
	
	
	
	
	










});




















