/* js enchanced functionality for swks */

// Mootools is MODx standard javascript framework and it is used by the very useful QuickEdit
// front end editing module. I've bumped jQuery into no conflict mode which disables the $ alias
// in favour of 'jQuery' (minus quotes), and modified this file.
jQuery.noConflict();

 jQuery(document).ready(function() {
 	
	//jQuery("#news-ticker-items").newsticker();
	
	/* Get in touch page */
	//Tests for the correct page. This object exists if the Maps API is loaded.
	if (typeof(GBrowserIsCompatible)!=="undefined") {
		if (GBrowserIsCompatible()) {
			var map = new GMap2(document.getElementById("map_canvas"));
			map.setCenter(new GLatLng(51.518224,-0.074801), 15);
			map.addOverlay(new GMarker(new GLatLng(51.520714,-0.074662)));
			map.enableGoogleBar();
			map.addControl(new GSmallZoomControl());
		}
	}
	
 });
 
