function removeFromHotlist(userid, name) {
	if(confirm("Are you sure you want to remove "+name+" from your hotlist?")) {
		removeFromHotlistServer(userid, name);
		//add
		$("hotlistButton").src = "/images/freya/common/buttons/addtohotlist.png";
		$("hotlistButton").onclick=function(){ addToHotlist(userid, name) };
		try {trackEvent('button - matches', 'click - hotlist -1', 'matches - hotlist -1');} catch (err) {}
	}
}


function addToHotlist(userid, name) {
	addToHotlistServer(userid);
	//remove
	$("hotlistButton").src = "/images/freya/common/buttons/removefromhotlist.png";
	$("hotlistButton").onclick=function(){ removeFromHotlist(userid, name) };
	try {trackEvent('button - matches', 'click - hotlist +1', 'matches - hotlist +1');} catch (err) {}
}