
$(function() {
		$('#feat').cycle({ 
			fx: 'fade',
			speed: 1000
		});	
	});

// fancybox

$(function() {
   $('.thumbs a').fancybox({
		'cyclic'		:	true,
		'overlayColor'	:	'#000',
		'overlayOpacity':	0.7,
		'padding'		:	10,
		'transitionIn'	:	'fade',
		'transitionOut'	:	'fade',
		'speedIn'		:	500, 
		'speedOut'		:	300, 
		'titlePosition'	:	'inside'
	});
     $('#header span a').fancybox({
		'overlayColor'	:	'#000',
		'overlayOpacity':	0.6,
		'padding'		:	0,
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	500, 
		'speedOut'		:	300
	});

   
});

// corners

$(function() {
	
	$("#footer").corner("15px top");
	
	// top left:
	$("#dentist_info div.image").corner("15px tl");
	$("dl.box dt").corner("cc:#fff 15px tl");
	
	//bottom right:
	$("#dentist_info div.copy").corner("15px br");
	$("dl.box").corner("15px br");
	
	// top left AND bottom right:
	$("#reviewsForm > div.hreview.reviews:first-child").corner("15px tl br");
	$("#reviewsForm table.reviewBorder").corner("15px tl br");
	$("#reviewsForm div.reviewComment").corner("15px tl br");

});


