function updateLabelBool(id) {
	if($F(id)) {
		$(id+"_yes").show();
		$(id+"_no").hide();
	}
	else {
		$(id+"_yes").hide();
		$(id+"_no").show();	
	}

}


function checkForRegExAndCorrect(id,regEx,notice) {
	m=$F(id).match(regEx);
	if(!m && $F(id)!="") {
		$(id).value="";
		new Effect.Highlight($(id+"_notice").update(notice));
		return;
		}
	$(id+"_notice").update("");
}

function hideHint(id) {
	$(id+"_hint").hide();
}

function showHint(id) {
	if($F(id)=="")
		$(id+"_hint").show();
}
