﻿/*
 * ====================================
 *   Florida Physicians Medical Group
 * ------------------------------------
 *   Internal Javascript
 * ====================================
 */

$(function() {
	$('.about-contact #main_inner h1').replaceWith('<h1>Contact Us</h1>');
	$('.about-contact #header').prepend('<div class="loader"></div>');
	$('.about-contact #header .loader').load('/About #main_inner #main_sidebar', function(){
		$('.about-contact #main_inner #main_sidebar').replaceWith($('.about-contact #header .loader #main_sidebar'));
		$('.about-contact #main_inner #main_sidebar').css('display', 'inline');
		$('.about-contact #main_inner #main_sidebar a[title=Contact Us]').parent('li').addClass('selected');
	});
	$('#locationDetail_wrap .button').attr('href', '/Locations');
	$('.about-contact #main_content .formsection label[for*=txtComments]').after('<small style="color: #999; font-family: Arial, Verdana, Sans-serif; font-size: 11px; margin: 0 0 0 10px;">Please do not enter any medical information in the text area below.</small>');
	$('.appointments #main_content .formsection textarea').parent('td').parent('tr').remove();
	$('.appointments .privacy .required').replaceWith('<span class="required">I have read the <a target="_blank" href="/Privacy-Policy">Privacy Policy</a> and <a target="_blank" href="/Terms-of-Use">Terms of Use</a>.</span>');
	$('.about-contact .privacy .required').replaceWith('<span class="required">I have read the <a target="_blank" href="/Privacy-Policy">Privacy Policy</a> and <a target="_blank" href="/Terms-of-Use">Terms of Use</a>.</span>');

});
