//<![CDATA[
// Baseline javascript news and events 2007 HDR Visual Communications //
	if(!y)
	{	
		var wne = new Fx.Scroll(window, {
			wait: false,
			duration: 1500,
			transition: Fx.Transitions.Quad.easeInOut
		});
		
		var pageNow = $('page').getFirst().getProperty('id');
		var xpos;
		if(pageNow == "news")
		{
			xpos = 0;
		}
		else
		{
			xpos = 0;
		}
		
		var neAcc = new Accordion('table.neToggle','div.neContent',
		{
			alwaysHide   : true, 
			show         : 10000000,
			onActive     : function(tg, el)
			{
				var arrow = tg.getElement('td[class=title]');
				arrow.setStyle('background','url('+baseUrl+'public/images/arrow_down.gif) no-repeat '+xpos+'px 6px');
				(function() 
				{
					wne.toElement(tg);
				}).delay(700);
			},
			onBackground : function(tg, el)
			{
				var arrow = tg.getElement('td[class=title]');
				arrow.setStyle('background','url('+baseUrl+'public/images/arrow_right.gif) no-repeat '+xpos+'px 6px');
			}
		}, $('page'));
	}

	$$('.rss').each(function(rss)
	{
		rss.addEvent('click', function(e)
		{
			window.open(siteUrl+'news_and_events/rss/');
		});
	});

//]]>
