$(document).ready(function(){
	$("#cosmetic").hoverIntent(function(){expand(0);}, function(){});		
	$("#implants").hoverIntent(function(){expand(1);}, function(){});		
	$("#orthodontics").hoverIntent(function(){expand(2);}, function(){});		
	$("#specialist").hoverIntent(function(){expand(3);}, function(){});		
	$("#general").hoverIntent(function(){expand(4);}, function(){});
	$("#nav_images").mouseleave(function(){
		$("#cosmetic_menu").stop().animate({ top: "-311" }, 1000);
		$("#cosmetic_small").animate({ left: 145}, 500);	
		$("#cosmetic_small").animate({ opacity: "show" }, 500);
		$("#cosmetic_large").animate({ opacity: "hide", width: "139" }, 1000);					
		$("#implants_menu").stop().animate({ top: "-311" }, 1000);
		$("#implants_small").animate({ left: 287}, 500);	
		$("#implants_small").animate({ opacity: "show" }, 500);
		$("#implants_large").animate({ opacity: "hide", width: "139" }, 1000);					
		$("#orthodontics_menu").stop().animate({ top: "-311" }, 1000);
		$("#orthodontics_small").animate({ left: 429}, 500);	
		$("#orthodontics_small").animate({ opacity: "show" }, 500);
		$("#orthodontics_large").animate({ opacity: "hide", width: "139" }, 1000);					
		$("#specialist_menu").stop().animate({ top: "-311" }, 1000);
		$("#specialist_small").animate({ left: 571}, 500);	
		$("#specialist_small").animate({ opacity: "show" }, 500);
		$("#specialist_large").animate({ opacity: "hide", width: "139" }, 1000);					
		$("#general_menu").stop().animate({ top: "-311" }, 1000);
		$("#general_small").animate({ left: 713}, 500);	
		$("#general_small").animate({ opacity: "show" }, 500);
		$("#general_large").animate({ opacity: "hide", width: "139" }, 1000);				
	});					
	
	MM_preloadImages('/images/cosmetic.jpg', '/images/implants.jpg', '/images/orthodontics.jpg', '/images/specialist.jpg', '/images/general.jpg');
	load_nav();
});

/* 2011-09-01
 * Hide 'Read More' Content when JavaScript Enabled
 */
$(document).ready(function() {
  
  $('#content_area').hide();
  $('#div_bg > div > a[onclick]').click(function(){
    $('#content_area').show();
  });
  
});
