var Protocol = "https";
var Server = "www.ident.ws";
var Site = "5858";
 
function dental_education()
{
  url = "http://dentalhealthonline.net";
  child = window.open(url, 'DentalEducation', 'width=800,height=600,left=100,top=75,resizable');
  child.focus();
  return;
}
 
function patient_info(pid)
{
  url = Protocol + "://" + Server + "/template_include/pi_login.jsp?site=" + Site + "&practiceId=" + pid + "&page=Patient+Information";
  child = window.open(url, 'PatientInfo', 'width=680,height=600,left=200,top=50,resizable,scrollbars,status');
  child.focus();
  return;
}
 
function newPatientForms(pid)
{
  var url = Protocol + "://" + Server + "/template_include/new_patient_sign_in.do?site=" + Site + "&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;
 
    child = window.open(Protocol + "://" + Server + "/template_include/feedback.do?practiceId=" + pid + "&page=Patient+Survey", 'patientSurvey', 
                       'scrollbars=yes,resizable=yes,width='+width+',height='+height+',left='+left+',top='+top);
    child.focus();
 
    return;
}
 
function pay_online()
{
  url = Protocol + "://" + Server + "/template_include/po_login.jsp?site=" + Site + "&page=Pay+Online";
  child = window.open(url, 'PayOnline', 'width=640,height=600,left=200,top=50,resizable,scrollbars,status');
  child.focus();
  return;
}

