function acceptRegulations(obj, accept_id, accepted_id)
{
	checked = obj.checked;
	accepted = (checked == 'checked' || checked == 'true' || checked == true) ? true : false;
	
	if(accepted) {
		button = newElem('input');
		button.type = 'button';
		button.value = 'Kontynuuj';

		button.onclick = function (){
			show(accept_id, 'none');
			show(accepted_id);
		}
		
		document.getElementById(accept_id).appendChild(button);
		
	}
	
	return true;
}
