﻿$(function() {
	$('.providerspotlight h1').html('Provider Spotlight');
	if ($('.providerspotlight').length > 0) {
		document.title = "Provider Spotlight - Anchor Health Centers";
	}
	if ($('.news').length > 0) {
		if ($('#newsDetail_wrap').length > 0) {
			document.title = $('h1 span').text() + " - Recent News - Anchor Health Centers";
		} else {
			$('.news h1').html('Recent News');
			document.title = "Recent News - Anchor Health Centers";
		}
	}
	$('.about-affiliations h1').html('Affiliations');
	if ($('.about-affiliations').length > 0) {
		document.title = "Affiliations - Anchor Health Centers";
	}
	$('.physicians-all h1').html('All Providers');
	if ($('.physicians-all').length > 0) {
		document.title = "All Providers - Anchor Health Centers";
	}
	$('.locations #locationproximity-wrap .location-list li').each(function(i) {
		$(this).prepend('<span>' + (i + 1) + '</span> ');
	});

	// Remove Phone Numbers from Location Pages
	$('.locations #locationDetail_wrap address .phone').remove();
});
