

		$(function() {
			$('#slideshow').cycle({
				fx: 'fade',
				speed: '700',
				timeout: 7000,
				pager: '#groups',
				pause: false,
				pagerEvent: 'mouseover',				
				startingSlide: 0, // zero-based
				cleartype: 1,
				cleartype: !$.support.opacity,
				pagerAnchorBuilder: function(idx, slide) {
				 // return sel string for existing anchor
				return '#groups li:eq(' + (idx) + ') a';
				}
	
			});								
			
			$("a.bannerlink[rel]").overlay();
			
		});
		
	// initialise plugins
	jQuery(function(){
		jQuery('ul.sf-menu').superfish();
	});				

		jQuery(document).ready(function() {			
			$('#layout-sharing .addthis_open').hover(function() {
				var button = $(this);
				var toolbox = button.next('.addthis_toolbox');
				var offset = button.offset();
				offset.top = offset.top + 25;
				offset.left = offset.left - toolbox.outerWidth() + button.outerWidth();
				toolbox.offset(offset);
			}, function() {
			});
			
			$('#layout-sharing .addthis_toolbox').hover(function() {
			}, function() {
				var toolbox = $(this);
				toolbox.offset({ left: -9999, top: 0 });
			});						
		});		






 $(document).ready(function(){

var animate1, animate2;
var elem = $(".topbanner .sub");

animate1 = function() {
    elem.animate({ color: "#007cb4" }, 800, animate2)
}
animate2 = function() {
    elem.animate({ color: "#37b35b" }, 800, animate1)
}

animate1();



  });




      $(document).ready(function () {
        $('#shell img').plaxify()
        $.plax.enable()
      })


