jQuery(document).ready(function() {
  jQuery().ajaxStart(function() { 
    jQuery(".loading").show(); 
  });
  jQuery().ajaxStop(function() { 
    jQuery(".loading").hide(); 
  });
  
  // change parent of 'fish' background depending on browser
  var elemid = null;
  if( $.browser.msie ) {
  	elemid = "#home #leftcol";
  } else {
  	elemid = "#hcontent";
  }
  jQuery("#nav").hover( function() {
  	jQuery( elemid ).css({ background: "url(../img/home_centre_image_hover.png) no-repeat top right"});//on hover
  	},
  	function() {
  	jQuery( elemid ).css({ background: "url(../img/home_centre_image.png) no-repeat top right"});//on out
  	});
  	
  // remove the background for the navigation
  jQuery("ul/li/ul").css({background: "none"});
  jQuery( "ul/li/ul/li#top" ).css( {display: "none" } );
  jQuery( "ul/li/ul/li#bot" ).css( {display: "none" } );
});
