function redirect(list) {
	var chosenIndex = list.selectedIndex;
	var redirectURL = list.options[chosenIndex].value;
	location.href = redirectURL;
	return true;
}
function resetLevel() {
	$('#level').find('option:first').attr('selected', 'selected').parent('select');
}

function hideShowAmount(opt) {
	if (opt == 'Committee of 100 ($1000-5000)') {
		$('#amount_row').show();
	} else {
		$('#amount_row').hide();
	}
	if (opt == 'Individual ($45)') {
		$('#secondname_label').hide();
		$('#secondname_title').hide();
		$('#secondname_name').hide();
		$('#secondname_email').hide();
	} else {
		$('#secondname_label').show();
		$('#secondname_title').show();
		$('#secondname_name').show();
		$('#secondname_email').show();
	}
}

$(document).ready(function() {
	$('#amount_row').hide();
});
