  $(document).ready(function(){
	 
	 function preload(arrayOfImages) {
		$(arrayOfImages).each(function(){
			$('<img/>')[0].src = this;
			// Alternatively you could use:
			// (new Image()).src = this;
		});
	}

	preload([
		'/images/belfast_on.jpg',
		'/images/dublin_on.jpg',
		'/images/glasgow_on.jpg',
		'/images/hull_on.jpg',
		'/images/maidstone_on.jpg',
		'/images/nottingham_on.jpg',
		'/images/portsmouth_on.jpg',
		'/images/warrington_on.jpg',
		'/images/worcester_on.jpg'
	]);
	
	$('#navContact2').hover(function(){
		$(this).attr({src: '/images/belfast_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/belfast_off.jpg'});
	});
	
	$('#navContact3').hover(function(){
		$(this).attr({src: '/images/dublin_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/dublin_off.jpg'});
	});
	
	$('#navContact4').hover(function(){
		$(this).attr({src: '/images/glasgow_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/glasgow_off.jpg'});
	});
	
	$('#navContact5').hover(function(){
		$(this).attr({src: '/images/hull_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/hull_off.jpg'});
	});
	
	$('#navContact6').hover(function(){
		$(this).attr({src: '/images/maidstone_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/maidstone_off.jpg'});
	});
	
	$('#navContact7').hover(function(){
		$(this).attr({src: '/images/nottingham_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/nottingham_off.jpg'});
	});
	
	$('#navContact8').hover(function(){
		$(this).attr({src: '/images/portsmouth_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/portsmouth_off.jpg'});
	});
	
	$('#navContact9').hover(function(){
		$(this).attr({src: '/images/warrington_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/warrington_off.jpg'});
	});
	
	$('#navContact10').hover(function(){
		$(this).attr({src: '/images/worcester_on.jpg'});
	}, function(){
		$(this).attr({src: '/images/worcester_off.jpg'});
	});

  });
  
  function goto(url){
  	document.location.href = url;
  }