function followUsr(usr, link, name, url){

	var followFunction = function(data){

		if (data.result == 1){

			if (data.status == 1){
				
				global.floatMessage(link,"You are now following " + name);
				$(".flwBtn"+usr+" a").html('<img src="/images/buttons/unfollow_button.png"/>');					
				
			}else{

				global.floatMessage(link,"You are not following " + name + " anymore");			
				$(".flwBtn"+usr+" a").html('<img src="/images/buttons/follow_button.png"/>');				
				
			}			
		}

	}
	
	global.follow(url,usr,followFunction);

}