
	$(document).ready(function(){

	// Table striping
	$('table:not([class="noborder"]):not([class="calendar"]):not([summary="Contact Details"]) tr:not([th])').addClass('oddrow');

	$('table:not([class="noborder"]):not([class="calendar"]):not([summary="Contact Details"]) tbody tr:nth-child(even)').addClass('evenrow');

	// choose text for the show/hide link - can contain HTML (e.g. an image)
	var showText='read more';
	var hideText='hide';

	// append show/hide links to the element directly preceding the element with a class of "toggle"
	$('.toggle').prev().append('&nbsp;&nbsp;(<a href="#" class="toggleLink">'+showText+'</a>)');

	// hide all of the elements with a class of 'toggle'
	$('.toggle').hide();

	// capture clicks on the toggle links
	$('a.toggleLink').click(function() {

	// change the link depending on whether the element is shown or hidden
	$(this).html ($(this).html()==hideText ? showText : hideText);

	// toggle the display - uncomment the next line for a basic "accordion" style
	//$('.toggle').hide();$('a.toggleLink').html(showText);
	$(this).parent().next('.toggle').toggle('slow');

	// return false so any link destination is not followed
	return false;

	});


	// choose text for the show/hide link - can contain HTML (e.g. an image)
	var showText2='view';
	var hideText2='hide';

	// append show/hide links to the element directly preceding the element with a class of "toggle"
	$('.toggle2').prev().append(' (<a href="#" class="toggleLink2">'+showText2+'</a>)');

	// hide all of the elements with a class of 'toggle'
	$('.toggle2').hide();

	// capture clicks on the toggle links
	$('a.toggleLink2').click(function() {

	// change the link depending on whether the element is shown or hidden
	$(this).html ($(this).html()==hideText2 ? showText2 : hideText2);

	// toggle the display - uncomment the next line for a basic "accordion" style
	//$('.toggle').hide();$('a.toggleLink').html(showText);
	$(this).parent().next('.toggle2').toggle('slow');

	// return false so any link destination is not followed
	return false;

	});


	//advanced search options
	// choose text for the show/hide link - can contain HTML (e.g. an image)
	var showText3='advanced search';
	var hideText3='hide';

	// append show/hide links to the element directly preceding the element with a class of "toggle"
	$('.toggle3').prev().append(' (<a href="#" class="toggleLink3">'+showText3+'</a>)');

	// hide all of the elements with a class of 'toggle'
	$('.toggle3').hide();

	// capture clicks on the toggle links
	$('a.toggleLink3').click(function() {

	// change the link depending on whether the element is shown or hidden
	$(this).html ($(this).html()==hideText3 ? showText3 : hideText3);

	// toggle the display - uncomment the next line for a basic "accordion" style
	//$('.toggle').hide();$('a.toggleLink').html(showText);
	$(this).parent().next('.toggle3').toggle('slow');

	// return false so any link destination is not followed
	return false;

	});

	}); 

