function newCustomer(obj)
{
	if(obj.checked){
		$('#customer_no').attr('disabled','disabled');
		$('#location_other, #contact_other').attr('checked','checked').trigger('click');
		$('#location_me, #contact_me').attr('disabled','disabled');
		$('#confirm_email_row').show();
	}
	else{
		$('#customer_no, #location_me, #contact_me').removeAttr('disabled');
		$('#confirm_email_row').hide();
	}
}

Activities = {
		
	add: function(obj){
		var $c = $('#activities').clone().removeAttr('id').insertBefore( $('#activities') ); 
		$(obj.parentNode).find('input').filter(':button').hide().filter('.a_remove').show(); 
		$c.show();	
	},
	select : function(obj){
		$(obj.parentNode).find('select, input').not(':button').toggle().each(function(){ this.disabled = !this.disabled; }).end().end().find('.a_new, .a_select').toggle();
	},
	remove : function(obj){
		var $c = $(obj.parentNode).find('select, input').not('.a_add').attr('disabled','disabled');
	}
}
