﻿function Timeout() {

    setTimeout("alert('Your session will be expire in 5 minutes')", 1000 * 45 * 20*2);

}





acceptUsers = function (isDisabled) {

    if (isDisabled) {

        return false;

    } else {

        return confirm("Are you sure to leave this page without saving the information?");
    }

}


function CheckOtherIsCheckedByGVIDMore(spanChk, gid) {
    var IsChecked = spanChk.checked;

    var CurrentRdbID = spanChk.id;
    var Chk = spanChk;
    Parent = document.getElementById(gid);
  
    var items = Parent.getElementsByTagName('input');

    for (i = 0; i < items.length; i++) {
        if (items[i].id != CurrentRdbID && items[i].type == "radio") {
            if (items[i].checked) {
                items[i].checked = false;              
            }
        }
    }
}
	
