function gID(a) {
	return document.getElementById(a);
}

function confirmSubmit(text) {
	var a=confirm((text ? text : 'Are you sure you wish to do this?'));
	return ( a ? true : false );
}

function togglePlanLife() {
	gID('planLifeFieldset').style.display=(gID('planLifeFieldset').style.display == 'none' ? 'block' : 'none' );
}