/*
 * tooltipimg6 script 
 * powered by jQuery (http://www.jquery.com)
 * 
 * written by Alen Grakalic (http://cssglobe.com)
 * 
 * for more info visit http://cssglobe.com/post/1695/easiest-tooltipimg6-and-image-preview-using-jquery
 *
 */
 
this.tooltipimg5 = function(){	
	/* CONFIG */		
		xOffset = 10;
		yOffset = 20;		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result		
	/* END CONFIG */		
	J("a.tooltipimg5").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg5'>"+ this.t +"</p>");
		J("#tooltipimg5")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg5").remove();
    });	
	J("a.tooltipimg5").mousemove(function(e){
		J("#tooltipimg5")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

this.tooltipimg6 = function(){	
	/* CONFIG */		
		xOffset = 10;
		yOffset = 20;		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result		
	/* END CONFIG */		
	J("a.tooltipimg6").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg6'>"+ this.t +"</p>");
		J("#tooltipimg6")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg6").remove();
    });	
	J("a.tooltipimg6").mousemove(function(e){
		J("#tooltipimg6")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

/*

this.tooltipimg21 = function(){	
	
		xOffset = 10;
		yOffset = 20;		
		
	J("a.tooltipimg21").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg21'>"+ this.t +"</p>");
		J("#tooltipimg21")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg21").remove();
    });	
	J("a.tooltipimg21").mousemove(function(e){
		J("#tooltipimg21")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

this.tooltipimg22 = function(){	
		
		xOffset = 10;
		yOffset = 20;		
	
	J("a.tooltipimg22").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg22'>"+ this.t +"</p>");
		J("#tooltipimg22")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg22").remove();
    });	
	J("a.tooltipimg22").mousemove(function(e){
		J("#tooltipimg22")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

this.tooltipimg23 = function(){	
	
		xOffset = 10;
		yOffset = 20;		
	
	J("a.tooltipimg23").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg23'>"+ this.t +"</p>");
		J("#tooltipimg23")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg23").remove();
    });	
	J("a.tooltipimg23").mousemove(function(e){
		J("#tooltipimg23")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

this.tooltipimg24 = function(){	
	
		xOffset = 10;
		yOffset = 20;		
		
	J("a.tooltipimg24").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg24'>"+ this.t +"</p>");
		J("#tooltipimg24")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg24").remove();
    });	
	J("a.tooltipimg24").mousemove(function(e){
		J("#tooltipimg24")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

this.tooltipimg25 = function(){	
		
		xOffset = 10;
		yOffset = 20;		
		
	J("a.tooltipimg25").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg25'>"+ this.t +"</p>");
		J("#tooltipimg25")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg25").remove();
    });	
	J("a.tooltipimg25").mousemove(function(e){
		J("#tooltipimg25")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

this.tooltipimg26 = function(){	
		
		xOffset = 10;
		yOffset = 20;		
	
	J("a.tooltipimg26").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		J("body").append("<p id='tooltipimg26'>"+ this.t +"</p>");
		J("#tooltipimg26")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		J("#tooltipimg26").remove();
    });	
	J("a.tooltipimg26").mousemove(function(e){
		J("#tooltipimg26")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

*/

// starting the script on page load
J(document).ready(function(){
	tooltipimg5();
	tooltipimg6();
	/*
	tooltipimg21();
	tooltipimg22();
	tooltipimg23();
	tooltipimg24();
	tooltipimg25();
	tooltipimg26();
	*/	
});

