///////////////////////////////////////////////////////////
// Check to see if one of the radio buttons in the given 
// form is selected
//
function getSelectedRadioButton(form){
	radios = form.heard_about_us; // Get the radio buttons
	selectedRadioButton = null; // Null to start out
	for (i=0; i<radios.length; i++) {
		if (radios[i].checked) {
			selectedRadioButton = radios[i].value;
		}
	}
	return selectedRadioButton;
}

function isTextBoxFilled() {
	
}

function isDefined (variable) {
	if ( typeof( window[ 'variable' ] ) != "undefined" ) {
		return true;
	} 
	else {
		return false;
	}
}