$(document).ready(function()
{
	$('#controls').css({display:"block"});

	var play=true;
	$(function() {
    $('#pause').click(
		function() { 
			if(play){
				$('#slideshow').cycle('pause'); 
				play=false;
				$('#pause').addClass("selected");
				return false;
			} else {
				$('#slideshow').cycle('resume'); 
				play=true;
				$('#pause').removeClass("selected");
				return false; 
			}
				
	});

$('#slideshow').cycle({
        fx:     'scrollLeft',
        speed:   400,
        timeout: 15000,
        next:   '#next',
        prev:   '#prev'
    });
});
     $(function(){ $('#industry-news a').click(function(){
      window.open(this.href);
      return false;
      });});
      
	//alert('This alert is from: jquery_functions.js');	
}); //Close document.ready
function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("google-map"));
        map.setCenter(new GLatLng(54.004500, -6.405000), 15);
		map.addOverlay(new GMarker(new GLatLng(54.004500, -6.405000)));
        map.setUIToDefault();
      }
    }
