var FollowLinkManager=new Class({initialize:function(){this.initFollowClickEvents()},initFollowClickEvents:function(){$$(".js-follow").each(function(a){a.addEvent("click",function(b){new Request.JSON({url:"/follow/process-follow-request/",method:"post",onSuccess:function(c){text=c.text;if(a.getProperty("cap")){text=text.toUpperCase()}a.innerHTML=text}}).send({object_id:a.getProperty("object_id"),content_type_id:a.getProperty("content_type_id")})})})}});FollowLinkManager.implement(new Events);FollowLinkManager.implement(new Options);