function follow(service_id)
{
	new Ajax.Request("editsettings.php",
			{
				method: "post",
				postBody: "start_follow="+service_id,
				onComplete: page_refresh()
			}
		);
}
function follow_trend(trend_name)
{
	new Ajax.Request("editsettings.php",
			{
				method: "post",
				postBody: "start_follow_trend="+trend_name,
				onComplete: page_refresh()
			}
		);
}
function unfollow_trend(trend_name)
{
	new Ajax.Request("editsettings.php",
			{
				method: "post",
				postBody: "stop_follow_trend="+trend_name,
				onComplete: page_refresh()
			}
		);
}
function unfollow(service_id)
{
	new Ajax.Request("editsettings.php",
			{
				method: "post",
				postBody: "stop_follow="+service_id,
				onComplete: page_refresh()
			}
		);
}
function page_refresh()
{
	window.setTimeout(function() { window.location.reload(); }, 2000);
}


