$(function() {
	$('.navSection li').click(function() {
		document.location=$("a", this).attr('href');
	}).hover(function() {
		window.status=$("a", this).attr('href');
	}, function() {
		window.status='';
	});
	$('.navSection li:last-child').addClass('last');
	$('.churches').hover(function() {$('#subnavCh').show();},function() {$('#subnavCh').hide()});
	$('.council').hover(function() {$('#subnavCo').show();},function() {$('#subnavCo').hide()});
	$('.navSection li.forum').click(function() {
		 alert('Please note: The forum is not affiliated with the Parish Council in any way.\nAny views expressed on the forum are not those of the Parish Council.');
		 document.location = 'http://forum.bishops-lydeard.co.uk/';
	});
});
function doSearch() {
	$('#cx').val($('input:radio[name=searchArea]:checked').val());
	return true;
}
