$(document).ready(function(){$('#link-about').click(function(){$('#about').toggle('fast');});$('#friends .help').toggle(function(){$('#friends-help').animate({width:'596px'},200,function(){$(this).animate({color:'#bbb'},500)});},function(){$('#friends-help').animate({color:'#222'},500,function(){$(this).animate({width:'0px'},200)});});$('a.menu_home').hoverIntent(function(){$('span.menu_home').toggle('fast');},function(){$('span.menu_home').toggle('fast');});$('a.menu_rss').hoverIntent(function(){$('span.menu_rss').toggle('fast');},function(){$('span.menu_rss').toggle('fast');});$('a.menu_twitter').hoverIntent(function(){$('span.menu_twitter').toggle('fast');},function(){$('span.menu_twitter').toggle('fast');});$('a.menu_facebook').hoverIntent(function(){$('span.menu_facebook').toggle('fast');},function(){$('span.menu_facebook').toggle('fast');});$('a.menu_flickr').hoverIntent(function(){$('span.menu_flickr').toggle('fast');},function(){$('span.menu_flickr').toggle('fast');});$('a.menu_skype').hoverIntent(function(){$('span.menu_skype').toggle('fast');},function(){$('span.menu_skype').toggle('fast');});$('a.menu_contact').hoverIntent(function(){$('span.menu_contact').toggle('fast');},function(){$('span.menu_contact').toggle('fast');});$('a.menu_portfolio').hoverIntent(function(){$('span.menu_portfolio').toggle('fast');},function(){$('span.menu_portfolio').toggle('fast');});});this.tooltip=function(){xOffset=7;yOffset=15;$("a.tooltip").hover(function(e){this.t=this.title;this.title="";$("body").append("<p id='tooltip'>"+this.t+"</p>");$("#tooltip").css("top",(e.pageY-xOffset)+"px").css("left",(e.pageX+yOffset)+"px").fadeIn("slow");},function(){this.title=this.t;$("#tooltip").remove();});$("a.tooltip").mousemove(function(e){$("#tooltip").css("top",(e.pageY-xOffset)+"px").css("left",(e.pageX+yOffset)+"px");});};$(document).ready(function(){tooltip();});
