// Superfish menu http://users.tpg.com.au/j_birch/plugins/superfish/


// settings for the jquery cycle plugin http://jquery.malsup.com/cycle/


// remove title attribute from navigation
$("#nav a").removeAttr("title");


// Customised googlemaps settings http://stiern.com/tutorials/adding-custom-google-maps-to-your-website/
function initialize() {
	var latlng = new google.maps.LatLng(51.7467972, -1.1367966);
	var settings = {
	zoom: 15,
	center: latlng,
	mapTypeControl: true,
	mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU},
	navigationControl: true,
	navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL},
	mapTypeId: google.maps.MapTypeId.ROADMAP
	};
	var map = new google.maps.Map(document.getElementById("map_canvas"), settings);
	var companyLogo = new google.maps.MarkerImage('/wp-content/themes/wpc/style/images/google_map_marker.png',
	new google.maps.Size(100,50),
	new google.maps.Point(0,0),
	new google.maps.Point(50,50)
	);
	var companyShadow = new google.maps.MarkerImage('',
	new google.maps.Size(130,50),
	new google.maps.Point(0,0),
	new google.maps.Point(65, 50)
	);
	var companyPos = new google.maps.LatLng(51.7467972, -1.1367966);
	var companyMarker = new google.maps.Marker({
	position: companyPos,
	map: map,
	icon: companyLogo,
	shadow: companyShadow,
	title:"Wheatley Parish Council"
	});
}

