// JavaScript Document


//CORNERS

$(document).ready( function(){
  $('#medicalNews').corner();
  $('.rounded').corner();
  $('#medicalTimes').corner();
});

//SCROLL TO

$(document).ready(function() {
						   
	//NEW PATIENTS INDEX					   
   $('#NewPatientRegistrationLink').click(function() {
	 $.scrollTo( '#NewPatientRegistration', 700 );
    });
   
   $('#RecallSystemsLink').click(function() {
	 $.scrollTo( '#RecallSystems', 700 );
    });
   
   $('#AppointmentsLink').click(function() {
	 $.scrollTo( '#Appointments', 700 );
    });
   
   $('#HomeVisitsLink').click(function() {
	 $.scrollTo( '#HomeVisits', 700 );
    });
   
   $('#DelaysLink').click(function() {
	 $.scrollTo( '#Delays', 700 );
    });
   
   $('#TestResultsLink').click(function() {
	 $.scrollTo( '#TestResults', 700 );
    });
   
   $('#MissedorCancelledAppointmentsLink').click(function() {
	 $.scrollTo( '#MissedorCancelledAppointments', 700 );
    });
   
   $('#StudentEducationLink').click(function() {
	 $.scrollTo( '#StudentEducation', 700 );
    });
   
   $('#RepeatPrescriptionsandReferralsLink').click(function() {
	 $.scrollTo( '#RepeatPrescriptionsandReferrals', 700 );
    });
   
   $('#PrivacyPolicyLink').click(function() {
	 $.scrollTo( '#PrivacyPolicy', 700 );
    });
   
   $('#ConsultationFeesLink').click(function() {
	 $.scrollTo( '#ConsultationFees', 700 );
    });
   
   $('#PatientFeedbackLink').click(function() {
	 $.scrollTo( '#PatientFeedback', 700 );
    });
   
   //BACK TO TOP
	$('#backToTop').click(function() {
	 $.scrollTo( 'body', 700 );
    });
  });







