/* Build yaypaul.min.js [effects]
Creator:	Paul West [http://www.yaypaul.com]
Version:	2.1
Date:		2009-08-05 */
$(document).ready(function(){$("#logo").bind("mouseenter",function(){$("a.logo").before('<div class="logoEffect float relative"><a href="/" class="logoHover block"><i class="hidden">YAY Paul</i></a></div>');$("div.logoEffect").css({display:"none"}).fadeIn(200);}).bind("mouseleave",function(){$("div.logoEffect").fadeOut(400,function(){$("div.logoEffect").remove();});});$("#rss").bind("mouseenter",function(){$("a.rss").before('<div class="rssEffect floatRight relative"><a href="http://feeds2.feedburner.com/yaypaul-multifeed" class="block titleHide btnLink rssHover" title="Follow update on the RSS feed">RSS Feed</a></div>');$("div.rssEffect").css({display:"none"}).fadeIn(200);}).bind("mouseleave",function(){$("div.rssEffect").fadeOut(400,function(){$("div.rssEffect").remove();});});$("#entries .box").bind("mouseenter",function(){$("#entry-"+this.id+":hidden").slideDown(200);}).bind("mouseleave",function(){$("#entry-"+this.id+":visible").slideUp(400);});$("#entries p.more").hover(function(){$(this).animate({paddingTop:"5px"},200);},function(){$(this).animate({paddingTop:"0px"},400);});$("#realname").click(function(){$check=$("#realname").val();if($check=="Contact name"){$("#realname").val("");}}).blur(function(){$check=$("#realname").val();if($check==""){$("#realname").val("Contact name");}});$("#email").click(function(){$check=$("#email").val();if($check=="Email address (for reply)"){$("#email").val("");}}).blur(function(){$check=$("#email").val();if($check==""){$("#email").val("Email address (for reply)");}});$("#body").click(function(){$check=$("#body").val();if($check=="Message"){$("#body").val("");}}).blur(function(){$check=$("#body").val();if($check==""){$("#body").val("Message");}});$(".frameworkCenter a").hover(function(){if($(this).attr("rel")==""){$(this).attr("rel",$(this).css("color"));}if($(this).css("color")=="rgb(109, 207, 246)"){var myColor="#000";}else if($(this).css("color")=="#6dcff6"){var myColor="#000";}else{var myColor="#6dcff6";}$(this).stop().css({"color":$(this).attr("rel")}).animate({"color":myColor},200);},function(){$(this).stop().animate({"color":$(this).attr("rel")},400);});});