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

this.vtip = function() {
	this.xOffset = -190; // x distance from mouse
	this.yOffset = 35; // y distance from mouse

	$(".vtip").unbind().hover(
			function(e) {
				this.t = this.title;
				this.title = '';
				this.top = (e.pageY + yOffset);
				this.left = (e.pageX + xOffset);

				$('body')
						.append(
								'<p id="vtip"><img id="vtipArrow" />' + this.t
										+ '</p>');

				$('p#vtip #vtipArrow').attr("src", '../Images/vtip_arrow.gif')
						.css("left", "190px");
				$('p#vtip').css("top", this.top + "px").css("left",
						this.left + "px").show();

			}, function() {
				this.title = this.t;
				$("p#vtip").remove();
			}).mousemove(function(e) {
		this.top = (e.pageY + yOffset);
		this.right = (e.pageX + xOffset);

		$("p#vtip").css("top", this.top + "px").css("left", this.left + "px");
	});

};

jQuery(document).ready(function($) {
	vtip();
})
