/**
 * @author onelson
 */
				/*
				 * 
					<form method="post">  
				    <input type="image" src="images/delete_small.gif"/>  
					
					<input type="hidden" value="JBAEvent" name="module"/>
					<input type="hidden" value="removeArtist" name="method"/>
					
					<input type="hidden" value="1689873" name="event_mid"/>
					<input type="hidden" value="204260" name="artist_mid"/>
					
					</form>
				 */
$(document).ready(function(){
	$("#event_lineup a.remove").css('cursor', 'pointer').click(function(){
		midz = $(this).attr('rel').split(':');
		$li = $(this).parents('li:first');
		$(this).remove();
		$.post('ajaxProcess.php', {
			module: 'JBAEvent', 
			method: 'removeArtist', 
			event_mid: midz[0],
			artist_mid: midz[1]
			}, function(){
				$li.find('span.artist_name'
				).html('<span style="color: orange;">removed<\/span>'
				).parents('li:first').fadeOut(1500, function(){
					$(this).remove();
				});
			});
	});
});
