$(document).ready(function(){
$(".navbar .column").animate({opacity:"0.4"},"slow");
	$(".navbar .column").hover(function() {
		$(this).queue('fx', []);
		$(this).css({background:"#75f84b"}, "fast");
		$(this).animate({opacity:"1"}, "fast");
		$(this).find(".title").css({color:"#fff"});
	}, function() {
		$(this).queue('fx', []);
		$(this).find(".title").css({color:"#000"});
		$(this).css({background:"none"});
		$(this).animate({opacity:"0.4"}, "slow");
	});
	$(".navbar .column").click(function(){
	  window.location=$(this).find("a").attr("href"); return false;
	});
/*add this button defuscation */
	$(".addthis").html('<a ref=\'nofollow\' href=\'http://www.addthis.com/bookmark.php\' onmouseOver="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseOut=\'addthis_close()\' onclick=\'return addthis_sendto()\'><img src=\'http://s7.addthis.com/static/btn/lg-bookmark-en.gif\' width=\'125\' height=\'16\' border=\'0\' alt=\'Bookmark\' /></a>');

/* email defuscation */
$(".email").defuscate();

});

jQuery.fn.defuscate = function() { 
   return this.each(function(){ 
     var email = String($(this).html()).replace(/\s*\(.+\)\s*/, "@"); 
     $(this).before('<a href="mailto:' + email + '">' + email + "</a>").remove(); 
   }); 
}; 
