/**
Vertigo Tip by www.vertigo-project.com
Requires jQuery
*/
this.vtip = function() {    
    this.xOffset = -10; // x distance from mouse
    this.yOffset = 10; // y distance from mouse       
    
    jQuery(".vtip").live("mouseover",     
        function(e) {
			var eveniment =  eval(jQuery(this).attr('href')); 
            this.t = eveniment;
            this.title = ''; 
            this.top = (e.pageY + yOffset); this.left = (e.pageX + xOffset);
            
            jQuery('body').append( '<p id="vtip"><img id="vtipArrow" />' + this.t + '</p>' );
                        
            jQuery('p#vtip #vtipArrow').attr("src", 'images/vtip_arrow.png');
            jQuery('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn("slow");
            
        }).live("mouseout",
        function() {
            this.title = this.t;
            jQuery("p#vtip").fadeOut("slow").remove();
        }).live("mousemove",
        function(e) {
            this.top = (e.pageY + yOffset);
            this.left = (e.pageX + xOffset);
                         
            jQuery("p#vtip").css("top", this.top+"px").css("left", this.left+"px");
        }).live("click",
        function() {
			return false;
        });    
};

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

