/*-----------------------------------------------------------------------------------------------*/
/*                                      SIMPLE jQUERY TOOLTIP                                    */
/*                                      VERSION: 1.1                                             */
/*                                      AUTHOR: jon cazier                                       */
/*                                      EMAIL: jon@3nhanced.com                                  */
/*                                      WEBSITE: 3nhanced.com                                    */
/*-----------------------------------------------------------------------------------------------*/

//$(document).ready(function() {
   function maketooltips(){
	$('.keywords').hover(
						 
		function(e) {
		this.tip = this.title;
		
		$(this).append(
			'<div class="toolTipWrapper">'
				+'<div class="toolTipTop">'
				+'<div class="toolTipMid">'
					+this.tip
				+'</div></div>'
				+'<div class="toolTipBtm"></div>'
			+'</div>'
		);
		
		this.title = "";
//		var width = $(this).width()
//		$(this).find('.toolTipWrapper').css({left:(width)+ "px",})

		var height = $(this).height();
		var x = this.offsetLeft;var y = this.offsetTop-height;
		$(this).find('.toolTipWrapper').css({left: + (x+50) + "px",top: + (y+550) + "px"});
		$('.toolTipWrapper').fadeIn(300);
		},
		function() {
			$('.toolTipWrapper').fadeOut(100);
			$(this).children().remove();
				this.title = this.tip;
		}/**/
	);
   }
//});