function over(id, bred) {
	if(bred) {
		document.getElementById('cell' + id + '-a').style.backgroundImage='url(/img/listbox-wide-top_on.gif)';
		document.getElementById('cell' + id + '-b').style.backgroundImage='url(/img/listbox-wide-repeat_on.gif)';
		document.getElementById('cell' + id + '-c').style.backgroundImage='url(/img/listbox-wide-bottom_on.gif)';
	} else {
		document.getElementById('cell' + id + '-a').style.backgroundImage='url(/img/listbox-top_on.gif)';
		document.getElementById('cell' + id + '-b').style.backgroundImage='url(/img/listbox-repeat_on.gif)';
		document.getElementById('cell' + id + '-c').style.backgroundImage='url(/img/listbox-bottom_on.gif)';
	}
}

function out(id, bred) {
	if(bred) {
		document.getElementById('cell' + id + '-a').style.backgroundImage='url(/img/listbox-wide-top.gif)';
		document.getElementById('cell' + id + '-b').style.backgroundImage='url(/img/listbox-wide-repeat.gif)';
		document.getElementById('cell' + id + '-c').style.backgroundImage='url(/img/listbox-wide-bottom.gif)';
	} else {
		document.getElementById('cell' + id + '-a').style.backgroundImage='url(/img/listbox-top.gif)';
		document.getElementById('cell' + id + '-b').style.backgroundImage='url(/img/listbox-repeat.gif)';
		document.getElementById('cell' + id + '-c').style.backgroundImage='url(/img/listbox-bottom.gif)';
	}
}

function validateForm() {
	var medd = '';
	
	if(document.getElementById('namn').value.length < 4) medd = 'Du måste fylla i ditt namn.\n';
	if(document.getElementById('epost').value.length < 6) medd += 'Du måste fylla i din e-postadress.\n';

	if(medd.length > 0) {
		alert(medd);
		return false;
	}
	
	return true;
}