function initDeliveryAddress() {
	var node = document.getElementById('id_abweichende_lieferadresse');
	
	if (!node) {
		return;
	}
	
	var table = findNextSub(node.parentNode, 'TABLE', null);
	
	if (!table) {
		return;
	}
	
	if (!node.getAttribute('checked')) {	
		table.style.display = 'none';
	}
	
	node.onclick = function() {
		
		var table = findNextSub(this.parentNode, 'TABLE', null);
		if (!table) {
			return;
		}

		if (!this.checked) {	
			table.style.display = 'none';
		} else {
			table.style.display = 'block';
		}
		
		
		
	}
	
	
}

addInitFunction(initDeliveryAddress);
