function init() {
	//Set up the onHover image rollover for the ITR logo
	$('.footer .copyright img').hover(function() {
		$(this).attr('src', '/templates/wad_content/ITR_logo_onhover.png');
	}, function() {
		$(this).attr('src', '/templates/wad_content/ITR_logo.png');
	});
	
	$('#close').click(function() {
		$('#page_margins').fadeOut(500);
	});
	
	$('#info').click(function() {
		$('#subpagetext').hide(500);
		$('#gallerytext').hide(500);
		$('#pagetext').show(500);
	});

	$('#links').click(function() {
		$('#pagetext').hide(500);
		$('#gallerytext').hide(500);
		$('#subpagetext').show(500);
	});

	$('#gallery').click(function() {
		$('#pagetext').hide(500);
		$('#subpagetext').hide(500);
		$('#gallerytext').show(500);
	});
}

$(document).ready(init);
