function dental_education()
{
    var url = "http://dentalhealthonline.net";
    var child = window.open(url, 'DentalEducation', 'width=800,height=600,left=100,top=75,resizable');
    child.focus();
}

function patient_info(pid)
{
    var url = "template_include/pi_login.jsp?" + "practiceId=" + pid + "&page=Patient+Information";
    var child = window.open(url, 'PatientInfo', 'width=680,height=600,left=200,top=50,resizable,scrollbars,status');
    child.focus();
}

function newPatientForms(pid)
{
    var url = "template_include/new_patient_sign_in.do?" + "practiceId=" + pid + "&page=New+Patient+Sign+In";
    var child = window.open(url, 'newPatientForms', 'width=640,height=600,left=200,top=50,resizable,scrollbars,status');
    child.focus();
}

function patient_feedback(pid)
{
    var width=890;
    var height=600;
    var left = (screen.width - width) / 2;
    var top = (screen.height - height) / 2;

    var child = window.open(
        "template_include/feedback.do?practiceId=" + pid + "&page=Patient+Survey", 'patientSurvey', 
        'scrollbars=yes,resizable=yes,width='+width+',height='+height+',left='+left+',top='+top);
    child.focus();
}

function pay_online()
{
    var url = "template_include/po_login.jsp?" + "page=Pay+Online";
    var child = window.open(url, 'PayOnline', 'width=640,height=600,left=200,top=50,resizable,scrollbars,status');
    child.focus();
}

