function contact_all_chchexbox(grpe,force) {
	
	var x; 

	if ($('#nlbase'+grpe+':checked').val() !== undefined) x=true;
	else x=false;
	
	
	if (force==true) x=true;
	$('input[name^="nl_'+grpe+'"]').each(function(){
		$(this).attr('checked',x);
		});
	
	}
function contact_all_selectbox(x) {
	var id;
	$('input[name$="'+x.value+'"]').each(function() {
	if ($(this).attr('id').indexOf('nlbase')!=-1) 
		{
		id=$(this).attr('id');
		id=id[6]+id[7];
		contact_all_chchexbox(id,true);
		}
	$(this).attr('checked',true);
	});
	
	
	}

$(document).ready(function() {
       
      
});
