

		


		
		
		
	
	
	
		
		
	


			function prettyme() {
		 Cufon.replace('#menu1 a', { hover: { color:'#ab0534' } });
		 Cufon.replace('#menu1 a.active', { color:'#ab0534' });
		 Cufon.replace('h1');
		 Cufon.now();
	}
	
	jQuery().ready(function() {

		$.ajaxSetup ({ cache: false });
		
		$('#sortable tr:odd, .sortable tr:odd').addClass('odd');
		$('#sortable tr:even, .sortable tr:even').addClass('even');

		$('.menu-horizontal').menuBox({menuWi:200, speedIn:600, speedOut:400, align:'horizontal'});

		
		$('ul#slideshow').animatedinnerfade({
			speed: 1000,
			timeout: 6000,
			type: 'sequence',
			containerheight: '485px',
			containerwidth: '630px',
			animationSpeed: 5000,
			animationtype: 'fade',
			bgFrame: 'none',
			controlBox: 'none',
			displayTitle: 'none'
		});

		$('ul#slideshow li:eq(0)').show();
			
		$("a.iframe").fancybox({
			'hideOnContentClick'	: false,
			'width'					: Math.min(1018, $(window).width() - 60),
			'height'				: $(window).height() - 60,
			'overlayShow'			: true,
			'zoomSpeedIn'			: 600,
			'zoomSpeedOut'			: 500,
			'easingIn'				: 'easeOutBack',
			'easingOut'				: 'easeInBack',
			'callbackOnStart'		: function () { $.fn.fancybox.showLoading(); }
		}); 

		$("a.fancy").fancybox({
			'hideOnContentClick'	: false,
			'width'					: Math.min(860, $(window).width() - 60),
			'height'				: $(window).height() - 60,
			'overlayShow'			: true,
			'zoomSpeedIn'			: 600,
			'zoomSpeedOut'			: 500,
			'easingIn'				: 'easeOutBack',
			'easingOut'				: 'easeInBack',
			'overlayOpacity'		: 0.8,
			'titlePosition'			: 'over'
		});  

		$("#events a,.calevent").click(function(event) {
			event.preventDefault();

			$.fancybox({
				'href'					: $(this).attr("href") + "?ajax=yes",
				'hideOnContentClick'	: false,
				'frameWidth'			: 500,
				'frameHeight'			: Math.min($(window).height()-100, 500),
				'width'					: 500,
				'height'				: Math.min($(window).height()-100, 500),
				'autoDimensions'		: false,
				'overlayShow'			: false,
				'zoomSpeedIn'			: 600,
				'zoomSpeedOut'			: 500,
				'easingIn'				: 'easeOutBack',
				'easingOut'				: 'easeInBack'
			});
		});

		$("img").pngfix();		

	});

	

	

