$(document).ready(function(){$("a.tip-img").each(function(){var a='<img src="';a+=$(this).attr("href");a+='" alt="" />';$(this).qtip({content:a,position:{corner:{tooltip:"bottomMiddle",target:"topMiddle"},adjust:{screen:true,scroll:true}},style:{tip:true,name:"red",padding:0},api:{onShow:function(){var b=this.elements.content.find("img").height();this.elements.contentWrapper.height(b);}}});});$("a.tip-url").each(function(){var a='<img src="http://images.websnapr.com/?url=';a+=$(this).attr("href");a+='" alt="Loading thumbnail..." height="152" width="202" />';$(this).qtip({content:a,position:{corner:{tooltip:"bottomMiddle",target:"topMiddle"},adjust:{screen:true,scroll:true}},style:{tip:true,name:"red",padding:0},api:{onShow:function(){var b=this.elements.content.find("img").height();this.elements.contentWrapper.height(b);}}});});$('a[rel="ext"]').each(function(){$(this).click(function(){window.open(this.href);return false;});});$('a[rel="fb"]').fancybox({padding:0,overlayOpacity:0.75,zoomSpeedIn:500,zoomSpeedOut:200,overlayShow:true,overlayColor:"#fff",centerOnScroll:true});$("#me").scrollFollow({speed:300,offset:40});$("a.top").click(function(){$.scrollTo("#hi",1200,{easing:"easeInCirc"});return false;});$(document).pngFix();});