


		


		
		
		
	
	
	
		
		
	


			function prettyme() {
		 Cufon.replace('#content-homebody h1, #content-homebody h2', { fontWeight:'normal' });
		 Cufon.replace('#content-main h1', { fontWeight:'normal' });
		 Cufon.replace('#menu1 a', { 
		 	fontSize:'30px', 
			textShadow: '2px 2px #cdcdcd',
			hover: { color:'#72989a' } 
		 });
		 Cufon.now();
	}

	jQuery().ready(function() {
		$('#sortable tr:odd').addClass('odd');
		$('#sortable tr:even').addClass('even');
		 
		$("a.fancy, a.iframe").fancybox({
			'hideOnContentClick'	: false,
			'width'			: Math.min(960, $(window).width() - 60),
			'height'			: $(window).height() - 60,
			'overlayShow'			: true,
			'zoomSpeedIn'			: 600,
			'zoomSpeedOut'			: 500,
			'easingIn'				: 'easeOutBack',
			'easingOut'				: 'easeInBack'
		});  

		$("a.cvvpop").addClass("iframe").fancybox({
			'hideOnContentClick'	: false,
			'width'			: 570,
			'height'			: Math.min($(window).height()-100, 400),
			'width'					: 570,
			'height'				: Math.min($(window).height()-100, 400),
			'overlayShow'			: false,
			'zoomSpeedIn'			: 600,
			'zoomSpeedOut'			: 500,
			'easingIn'				: 'easeOutBack',
			'easingOut'				: 'easeInBack'
		}); 

		$("img.popup").css("cursor", "pointer").click(function() {
			$.fancybox({
				'hideOnContentClick'	: false,
				'overlayShow'			: true,
				'zoomSpeedIn'			: 600,
				'zoomSpeedOut'			: 500,
				'easingIn'				: 'easeOutBack',
				'easingOut'				: 'easeInBack',
				'overlayOpacity'		: 0.8,
				'titlePosition'			: 'over',
				'href'					: $(this).attr('src')
			});  
			return false;
		});  


		$("img").pngfix();		

	});


	

	

