// add style sheet

//2.0 changes
//$('head').append('<link rel="stylesheet" href="/data/_addoncode/vTip_Red/style.css" type="text/css" />');

/** Vertigo Tip by www.vertigo-project.com Requires jQuery */

this.vtip=function(){this.xOffset=-20;this.yOffset=20;
	$("a[title!=''],.vtip,span[title!=''],img[title!='']").unbind().hover(function(a){this.t=this.title;this.title="";this.top=(a.pageY+yOffset);this.left=(a.pageX+xOffset);
	
	//2.0 changes
	$("body").append('<div id="vtip"><span id="vtipArrow" />'+this.t+"</div>");
	
	//2.0 changes
	//$("#vtip #vtipArrow").attr("src","/data/_addoncode/vTip_Red/vtip_arrow.png");
	
	$("#vtip").css("top",this.top+"px").css("left",this.left+"px").fadeIn("slow")},function(){this.title=this.t;$("#vtip").fadeOut("slow").remove()}).mousemove(function(a){this.top=(a.pageY+yOffset);this.left=(a.pageX+xOffset);$("#vtip").css("top",this.top+"px").css("left",this.left+"px")})};
jQuery(document).ready(function(a){vtip()});
