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

this.vtip = function() {    
    
    $(".vtip").unbind().hover(    
        function(e) {
            //this.t = this.title;
            this.t = $('div#tooltip_content').html(); 
            
            $(".vtip").append( '<div id="vtip">' + this.t + '<img id="vtipArrow" /></div>' );
                        
            $('div#vtip #vtipArrow').attr("src", 'wp-content/themes/twentyten/images/vtip_arrow.png');

			var yOffset = $("div#vtip").outerHeight();
			if(/MSIE/.test(navigator.userAgent)){
				yOffset -= 8;
			}

            this.top = ($("li#hclLink").position().top - yOffset); this.left = ($("li#hclLink").position().left);
            $('div#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn("slow");
        },
        function() {
            $("div#vtip").fadeOut("slow").remove();
        }
    );
    
};

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

