Ext.onReady(function(){
	if(Ext.get('show_dr_messer') && Ext.get('show_dr_belous')){					
		
		Ext.get('show_dr_messer').on('click', function(){
			Ext.get('dr_messer').enableDisplayMode('block').show();
                        Ext.get('dr_belous').enableDisplayMode('block').hide();			               			
		});  		
		
		Ext.get('show_dr_belous').on('click', function(){
			Ext.get('dr_belous').enableDisplayMode('block').show();
                        Ext.get('dr_messer').enableDisplayMode('block').hide();			
		});
	}
});


Ext.onReady(function(){
 if(Ext.getBody().id == 'page-local-rochester-ny-dentist' || Ext.getBody().id == 'page-cosmetic-dentistry' || Ext.getBody().id == 'page-no-stress-dental-procedures-through-sedation-dentistry') {
   var nodes = Ext.select("link[href*=customer.css]");
   nodes.removeElement(nodes.first(), true);
 }
});


swfobject.addLoadEvent(function(){

var flashvars = { };

var params = { quality: "high", wmode: "transparent" };

swfobject.embedSWF("/flash/office.swf", "office-vid", "420", "315", "8.0.0", "", flashvars, params);
swfobject.embedSWF("/flash/implants.swf", "implants-vid", "420", "320", "8.0.0", "", flashvars, params);
swfobject.embedSWF("/flash/doctors.swf", "doctors-vid", "410", "313", "8.0.0", "", flashvars, params);
});
