// hide the msg div, which might be on top of all in case of errors / messages

function closemsg() {
	if ($('messagediv')){
		$('messagediv').hide();
	}
}


function go(url){
	top.location.href=url;
}

function cb_click(rid){
	var cbox = $('cb_' + rid);
	var sbutt = $('sb_' + rid);
	if (cbox.checked){
		sbutt.enable();
		sbutt.show();
	} else {
		sbutt.disable();
		sbutt.hide();
	}
}

