﻿function OpenSubForm(subform_name, win_width, win_height) {
    neo = window.open(subform_name, '', 'width=' + win_width + ', height=' + win_height + ', resizable=1, scrollbars=1');
    lefts = screen.width / 2 - win_width / 2;
    tops = screen.height / 2 - win_height / 2;
    neo.moveTo(lefts, tops);
}

function ResetRadio() {
    for (i = 0; i < document.MainForm.select1.length; i++) {
        document.MainForm.select1[i].checked = false;
    }
}

function UnselectCheckbox() {
    for (i = 0; i < document.MainForm.Remote_Reasons.length; i++) {
        document.MainForm.Remote_Reasons[i].checked = false;
    }
}