function form_checkbox(f)
{
	var nos = 0;
	var returnvalue = false;
	for (var i = 0; i<f.elements.length; i++) {
		if (f.elements[i].checked) {
			nos++;
        }
    }
	if(nos==0)
	{
		alert('You did not select any company\nPlease use the checkbox in front of the company name to select the compan(y|ies) you wish to contact.');
		return false;
	}

	if(4<nos)
	{
		alert('Please do not select more than 4 companies.');
		return false;
	}

	return true;
}

function form_changeLan(f,lan)
{
	if(lan=='nl') {
		f.action = '?lan=nl';
	}
	else {
		f.action = '/request/';
	}
	f.submit();
}
