// JavaScript Document

<!--
function displayPopup(pagename, popupname) {
	window.open (pagename, popupname, config='width=450, height=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no')
}
-->


$(document).ready(function(){
   
	// hides the slickbox as soon as the DOM is ready
	// (a little sooner than page load)
	$('.toggleHide').hide();
	// then toggles the slickbox on clicking the noted link
	$('a.slick-toggle').click(function() {

		$(this).next('div.toggleHide').slideToggle(400);
		
		if($(this).html() == 'Close News') {
			$(this).html("Click to read the news");
		} else {
			$(this).html('Close News');
		}
		
		
		return false;
	});
 
});
