/**
Vertigo Tip by www.vertigo-project.com
Requires jQuery
*/
var vtip_top=0;
var vtip_d='';
this.vtip = function() {
    this.xOffset = -35; // x distance from mouse
    this.yOffset = -45; // y distance from mouse

    $(".vtip").unbind().hover(
        function(e) {

        //	var pos=$(".vtip").position();
          //  var tp=pos.top;
           // var lp=pos.top;

            this.t = this.title;
            this.title = '';
            var tp=e.pageY;
            var lp=e.pageX;

            this.top = (tp + yOffset); this.left = (lp+ xOffset);

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

            $('p#vtip #vtipArrow').attr("src", '/js/vtip/images/vtip_arrow.gif');
             $('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn("fast");
			vtip_top=1;
        },
        function() {
        	vtip_top=0;
            this.title = this.t;
           $("p#vtip").fadeOut("fast").remove();
        }
    ).mousemove(
        function(e) {
            if(!vtip_top) {


            	this.top = (e.pageY + yOffset);
            	this.left = (e.pageX + xOffset);
            	$("p#vtip").css("top", this.top+"px").css("left", this.left+"px");

            }


        }
    );

};

jQuery(document).ready(
function($){if(browser==0) vtip();}
)
