jQuery.fn.tooltip = function(options) {	 	 	var defaults = {		tooltipClass : '.' + 'fullText',		yOffset :100 ,		xOffset : 50 ,	};		var options = $.extend(defaults, options);	 	this.hover(function (e) {	//alert(location.protocol+"//"+location.host + "\n" +"http://motiontv.org");				   	$(options.tooltipClass).each (function () {											//location.protocol+"://"+location.host		if ($(this).attr("id") == e.target.href.replace(location.protocol+"//"+location.host,"")) {						$(this).css({"top":(e.pageY - options.yOffset) + "px","left":(e.pageX + options.xOffset) + "px","display":"block"});		}	});		}, function (e) {		$(options.tooltipClass).each (function () {			if ($(this).attr("id") == e.target.href.replace(location.protocol+"//"+location.host,"")) {				$(this).toggle();				}		});					})     	this.mousemove(function(e){		 $(options.tooltipClass).css({"top":(e.pageY - options.yOffset) + "px","left":(e.pageX + options.xOffset) + "px"});	});	  	return this;  };jQuery.fn.tooltipBuild = function(options) {	 	var defaults = {		tooltipName :'fullText',		selector: 'h2 a',		charLimit : 50	};	$('.scroll').css({"width":$('.scroll').parent().width() + "px"});	$('.scroll').toggle();	var options = $.extend(defaults, options);	$(".scroll").wrapInner('<div id="channelList"></div>');	this.find('div').each (function () {		if ($(this).find(options.selector).html().length > options.charLimit)			$('#container').after('<div class="'+options.tooltipName+'" style="display:none;" id="'+$(this).find(options.selector).attr("href")+'"><div class="freckle"/><p>' + $(this).find(options.selector).html() + '</p></div>');	});		return this;};
