jQuery.noConflict();
(function($){

$(document).ready(function(){

	$('#calendar table a').click(function(){
		var id = this.id.split('-')[1];
		$('#calendar').
			find('.day').hide().end().
			find('#day-' + id).show().end().
			find('table a.active').removeClass('active');
		$(this).addClass('active');
		return false;
	});	

	if ($.browser.msie) {
		try {document.execCommand("BackgroundImageCache", false, true);} catch(err){};
		if (typeof(DD_belatedPNG) != 'undefined')
		{
			DD_belatedPNG.fix('#header .box1');
		}
	}

if ($('#slideshow').length)
	{
		$('#slideshow').anythingSlider({
			delay: 4000,
			animationTime: 500
		});
	}

	if ($.browser.msie) {
		try {document.execCommand("BackgroundImageCache", false, true);} catch(err){};
		if (typeof(DD_belatedPNG) != 'undefined')
		{
			DD_belatedPNG.fix('#panel_contents, #btn-login, #logo a span, #btn-access, #slideshow .content');
		}
	}


});

})(jQuery);
