/**
Vertigo Tip by www.vertigo-project.com
Requires jQuery
*/
 var _new = true;
this.vtip = function() {    
    this.xOffset =30; // x distance from mouse
    this.yOffset = -15; // y distance from mouse       
   
    $(".vtip").unbind().hover(    
        function(e) {
			$("p#vtip").fadeOut("slow").remove();
            this.t = this.title;
			_new = true;
            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", 'http://edmontoncarloans.com/images/vtip_arrow.png');
            $('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn("slow");
            
        },
        function() {
            this.title = this.t;
			
        }
    ).mouseout(
		function(){
			_new = false;
		}
	);
	
   setInterval('repe()',5000);
};

function repe(){
	if(!_new){
			 $('p#vtip').fadeOut('slow').remove();
		}
	}

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