	// ===================================================================================
	// Shortlist of regular artists
	// ===================================================================================
	
	function addToShortlist(memberId) {
		$.ajax({type: "GET",url: "/external/shortlist/add/" + memberId, success: function (msg){loadHitlist(2);}});
	}
	function addArtistToShortlist(memberId) {
		// just add artist to the shortlist without refreshing page.
		$.ajax({type: "GET",url: "/external/shortlist/add/" + memberId});
	}
	function removeFromShortlist(memberId) {
		$.ajax({type: "GET",url: "/external/shortlist/remove/" + memberId, success: function (msg){loadHitlist(2);}});
	}
	function removeArtistFromShortlist(memberId) {
		// just remove artist form the shortlist without refreshing page.
		$.ajax({type: "GET",url: "/external/shortlist/remove/" + memberId});
	}
	function clearShortlist() {
		$.ajax({type: "GET",url: "/external/shortlist/clear", success: function (msg){loadHitlist(2);}});
	}
	
	function addArtist(id) {
		$("div#a" + id +".box .icon_plus").removeClass('icon_plus').addClass('icon_plus_on');
		addToShortlist(id);
	};
	
	function removeArtist(id) {
		$("div#a" + id +".box .icon_plus_on").removeClass('icon_plus_on').addClass('icon_plus');	
		if ($('.item').size() <= 5) {
			$("div#b" + id +".item").fadeOut(200,function(){
				$(this).remove();
				$("#totalSelected").text($("#shortlist .item").size());
			});			
		}
		else
		{
			$("div#b" + id +".item").remove();
		}
		$("#totalSelected").text($("#shortlist .item").size());
		$(".pagination .number").remove();
		$("div.item").quickpaginate({perpage: 5, showcounter: true,
			pager : $("div.shortlist_pagination .pagination") });
		removeFromShortlist(id);
	};
	
	function removeAll()
	{
		clearShortlist();
	};
	
	// ===================================================================================
	// Shortlist of webartists
	// ===================================================================================
	
	function addToWebartistsShortlist(memberId) {
		$.ajax({type: "GET",url: "/external/shortlist/webartist-add/" + memberId, success: function (msg){loadHitlist(2);}});
	}
	function addWebArtistToShortlist(memberId) {
		// just add artist to the shortlist without refreshing page.
		$.ajax({type: "GET",url: "/external/shortlist/webartist-add/" + memberId});
	}
	function removeFromWebartistsShortlist(memberId) {
		$.ajax({type: "GET",url: "/external/shortlist/webartist-remove/" + memberId, success: function (msg){loadHitlist(2);}});
	}
	function removeWebArtistFromShortlist(memberId) {
		// just remove artist form the shortlist without refreshing page.
		$.ajax({type: "GET",url: "/external/shortlist/webartist-remove/" + memberId});
	}
	function clearWebartistsShortlist() {
		$.ajax({type: "GET",url: "/external/shortlist/webartist-clear", success: function (msg){loadHitlist(2);}});
	}

	function addWebArtist(id) {
		$("div#a" + id +".box .icon_plus").removeClass('icon_plus').addClass('icon_plus_on');
		addToWebartistsShortlist(id);
	};

	function removeWebArtist(id) {
		$("div#a" + id +".box .icon_plus_on").removeClass('icon_plus_on').addClass('icon_plus');	
		if ($('.item').size() <= 5) {
			$("div#b" + id +".item").fadeOut(200,function(){
				$(this).remove();
				$("#totalSelected").text($("#shortlist .item").size());
			});			
		}
		else
		{
			$("div#b" + id +".item").remove();
		}
		$("#totalSelected").text($("#shortlist .item").size());
		$(".pagination .number").remove();
		$("div.item").quickpaginate({perpage: 5, showcounter: true,
			pager : $("div.shortlist_pagination .pagination") });
		removeFromWebartistsShortlist(id);
	};

	function removeWebartistsAll()
	{
		clearWebartistsShortlist();
	};